2

i have a problem with tikz-cd package and a label over an arrow

\documentclass[12pt]{article}
\usepackage{amsmath}
\usepackage{amssymb}
%
\usepackage{tikz}
\usetikzlibrary{cd}
%
\begin{document}
\begin{tikzcd}[column sep=tiny]
&\mathbb{S}ig^I\arrow[dl,phantom , shift left]\arrow[dl, "\left(Mod^{I}\right)^{op}" above, shift right] \arrow[dr, "Sen^{I}"] &\\
\mathbb{C}at^{op}&\models &\mathbb{S}et
\end{tikzcd}
\end{document}

Here is the problem (in the left arrow is the problem) enter image description here Thanks for the help.

  • \arrow[dl, "(Mod^{I})^{op}", swap] – LaRiFaRi Dec 8 '14 at 15:31
2

This looks fine to me. Added above left and above right, and removed the unnecessary \left...\right construction

\documentclass[12pt]{article}
\usepackage{amsmath}
\usepackage{amssymb}
%
\usepackage{tikz}
\usetikzlibrary{cd}
%
\begin{document}
\begin{tikzcd}[column sep=tiny]
&\mathbb{S}ig^I
\arrow[dl,phantom , shift left]
\arrow[dl, "(Mod^{I})^{op}" above left] 
\arrow[dr, "Sen^{I}",above right] &\\
\mathbb{C}at^{op}&\models &\mathbb{S}et
\end{tikzcd}
\end{document}

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.