修复 CircuiTikZ Error: I do not know the key '/tikz/elmech'
问题:
你想编译包含 CircuiTikZ 代码的 LaTeX 文件,但你收到以下错误:
circuitikz_error.txt
Error: I do not know the key '/tikz/elmech'解决方案
首先,确保包含了 circuitikz 包,即有一行类似
usepackage_circuitikz.tex
\usepackage{circuitikz}在你的 LaTeX 文件中。
If that is the case, you likely have an outdated CircuiTikZ version (elmech is in TeXLive 2016+). \u00a0Depending on your distribution, there are several ways to update CircuiTikZ:
对于 ubuntu,请参见此帖子更新到 TeXLive 2016
对于其他发行版,请参见此帖子使用 tlmgr
Check out similar posts by category:
LaTeX
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow