1

So, my dear latex editor is making me crazy. He does not want to compile:

 \begin{tikzcd}

F  \arrow{r}{\Gamma_F} \arrow{d}{\alpha} & Sh(F)|_B \arrow{d}{\beta_B}\\

G|_B \arrow{r}{=} G|_B

\end{tikzcd}

Why?? Thanks for help!

  • Please remove the empty lines and also add a second column to the second row, e.g. G|_B \arrow{r}{=} G|_B & ~\\ . – user121799 Sep 8 '18 at 5:59
  • Could you type the concrete code with your changes, as I am a beginner on latex usage?? – nikola Sep 8 '18 at 6:01
2

Too long for a comment. You could drop the empty lines and also make sure that the diagram has a 22 entry. E.g.

\documentclass[tikz,border=3.14mm]{standalone}
\usetikzlibrary{cd}
\begin{document}
\begin{tikzcd}
F  \arrow{r}{\Gamma_F} \arrow{d}{\alpha} & Sh(F)|_B \arrow{d}{\beta_B}\\
G|_B \arrow{r}{=} & G|_B \\
\end{tikzcd}
\end{document}

enter image description here

  • sorry, no. On the bottom line I need $G_B$ and $G_B$ not this... – nikola Sep 8 '18 at 6:04
  • @nikola Then you only need to add a \&. – user121799 Sep 8 '18 at 6:06

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.