# [Tex/LaTex] How to draw multiple arrows in tikz-cd

tikz-cd

I'm having problems in drawing a diagram with multiple arrows between given two objects. For instance,

 \begin{tikzcd}
A \arrow{r}{i_1} &C \arrow{l}{\pi_1}  \arrow{r}{\pi_2}  &B \arrow{l}{1_2}
\end{tikzcd}


In this case, the arrows i_1 and \pi_1 overlap each other.
In it possible to draw multiple arrows (in the sense above mentioned) using tikz-cd?

The option you need is called shift left or shift right and can be added to every arrow with or without any measure. E.g. \arrow[shift right=5]{r}{i}. In your example, the default [shift left] looks just right. In your very case, you need the same shift for every arrow. That's why I just appended it to every of them. If you need other arrows in your diagram, you will have to kick out the global option and set it locally as shown above.

% arara: pdflatex

\documentclass{article}
\usepackage{tikz-cd}

\begin{document}
$\begin{tikzcd}[every arrow/.append style={shift left}] A \arrow{r}{i_1} &C \arrow{l}{{\pi\vphantom{1}}_1} \arrow{r}{\pi_2} &B \arrow{l}{1_2} \end{tikzcd}$
\end{document}