![tkz-linknodes 与 babel 不兼容](https://linux22.com/image/464211/tkz-linknodes%20%E4%B8%8E%20babel%20%E4%B8%8D%E5%85%BC%E5%AE%B9.png)
我正在使用tkz-linknodes
包以及babel
(选择了希腊语)。
当两个包都加载时,我收到错误:
You can't use `the character 1' after \the. \begin
Missing \endcsname inserted. \begin
Extra }, or forgotten \endgroup. \begin
Extra \endcsname. \begin
Argument of \@gobble has an extra }. \end{gather*}
Paragraph ended before \@gobble was complete. \end{gather*}
No counter 'C@Node{\greekscript \GenericWarning {(babel) fined. \end{gather*}
Paragraph ended before \@gobble was complete. \end{gather*}
Missing \endcsname inserted. \end{gather*}
Extra }, or forgotten \endgroup. \end{gather*}
Extra \endcsname. \end{gather*}
Illegal value (0) for greeknumeral.
Command \greekscript invalid in math mode
和其他几个。当我评论babel
包时,链接节点起作用了。
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[english,greek]{babel}
\usepackage[T1]{fontenc}
\usepackage{nimbusserif,tikz,amsmath}
\usepackage{tkz-linknodes}
\begin{document}
\begin{NodesList}
\begin{gather*}
x+1=2\Rightarrow \AddNode\\
x=1\AddNode
\end{gather*}
\LinkNodes{greek text / (κείμενο)}%
\end{NodesList}
\end{document}