I want to make a diagram like A--->B, but there are two arrows, one written f_1 and another with f_2.
I tried \stackrel, but this gives arrows with different sizes.
If using \mathop{}_{under}^{over}, then the vertical separation is too large.
I also tried tikz, but the height position does not match the inline text.
Edit:
My tikz example code
\textbf{cokernel} of
\begin{tikzpicture}
\node (a) at (0,0){$A$};
\node (b) at (1.5,0){$X$};
\path[->]
([yshift=2pt]a.east)edge node[above]{$f_1$}([yshift=2pt]b.west)
([yshift=-2pt]a.east)edge node[below]{$f_2$}([yshift=-2pt]b.west);
\end{tikzpicture}
Effect:

And no matter how I adjust the y-position of node (a),(b), it just does not move to the right place.



TikZ, so what do you mena by “move to the right place”? In line with the text before? – Ronny Dec 13 '13 at 09:55baseline=(a.base)– Ronny Dec 13 '13 at 10:04