我正在尝试使用 tikz-cd 创建一些图表,但当我向箭头添加任何标签时,我遇到了几个错误。确切地说,这很好用:
\[
\begin{tikzcd}
G \arrow[r] \arrow[d] & G \cdot x \arrow[d] \\
G \arrow[r] & G \cdot x
\end{tikzcd}
\]
虽然这会产生错误:
\[
\begin{tikzcd}
G \arrow[r, "a"] \arrow[d] & G \cdot x \arrow[d] \\
G \arrow[r] & G \cdot x
\end{tikzcd}
\]
我收到的错误如下
Incomplete \iffalse; all text was ignored after line 621. [\include{chapter1}]
Improper \prevdepth. [\include{chapter1}]
Missing \endcsname inserted. [\include{chapter1}]
You can't use `\relax' after \the. [\include{chapter1}]
Improper \prevdepth. [\clearemptydoublepage]
TeX capacity exceeded, sorry [input stack size=5000]. [\clearemptydoublepage]
我正在使用带有西班牙语的 babel 包,这之前给我的 tikzcd 带来了问题,但这似乎不是问题所在。