# Two labels up and down for same arrow

Starting from

\documentclass[a4paper,12pt]{article}
\usepackage{tikz-cd}
\begin{document}
\begin{tikzcd}
A \arrow[r, "\alpha"]   & B
\end{tikzcd}
\end{document}


reading the guide of tikz-cd I found no reference on how to insert two labels above and below on the same arrow. How can this be resolved?

• Add a ' after the second label: A \arrow[r, "\alpha", "\beta"'] & B (I think). – Phelype Oleinik Mar 4 at 16:35

Add a single quote (') after the label to move it to the other side of the arrow:

\documentclass[a4paper,12pt]{article}
\usepackage{tikz-cd}
\begin{document}
\begin{tikzcd}%              V
A \arrow[r, "\alpha", "\beta"'] & B
\end{tikzcd}
\end{document}


At the bottom of page 2 of the manual there is a remark about that:

• I have not see absolutely :-(. I am without eyes :-(. How you have done the up/down arrow and V in the your code (see comment)? – Sebastiano Mar 4 at 16:41
• @Sebastiano It happens. It's a rather stealthy sentence :) About the down arrow (↓) you asked, in my computer (Ubuntu) I use AltGr+U. (AltGr+Y=←; AltGr+U=↓; AltGr+I=→; AltGr+Shift+U=↑) – Phelype Oleinik Mar 4 at 16:44
• And for Windows :-)? I will find it :-)? – Sebastiano Mar 4 at 16:47
• @Sebastiano No idea. According to this page you can use Alt codes: ALT+8592=←; ALT+8595=↓; ALT+8594=→; ALT+8593=↑. As far as I can remember you hold Alt and type the corresponding number, then release Alt. I'm not sure, though. – Phelype Oleinik Mar 4 at 16:50
• Your comment has been original. Many compliments. – Sebastiano Mar 4 at 16:51