## 编译环境 操作系统 * [x]` Windows 7/8/10 * [ ] macOS * [ ] Linux `若需勾选,请把[ ]改成[x]` Tex发行版 * [x]` TexLive `2020` * [ ] MikTeX `版本号` * [ ] CTeX `若需勾选,请把[ ]改成[x]` ## 我的问题 在此输入你遇到的问题... 用tikz画图画角度时遇到错误 ``` Command Line: xelatex.exe --interaction=errorstopmode --synctex=-1 "test.tex" Startup Folder: E:\Experiment-slide This is XeTeX, Version 3.14159265-2.6-0.999992 (TeX Live 2020/W32TeX) (preloaded format=xelatex) restricted \write18 enabled. entering extended mode (./test.tex LaTeX2e <2020-10-01> patch level 4 L3 programming layer <2021-02-18> (c:/texlive/texmf-dist/tex/latex/standalone/standalone.cls Document Class: standalone 2018/03/26 v1.3a Class to compile TeX sub-files stan dalone (c:/texlive/texmf-dist/tex/latex/tools/shellesc.sty) (c:/texlive/texmf-dist/tex/generic/iftex/ifluatex.sty (c:/texlive/texmf-dist/tex/generic/iftex/iftex.sty)) (c:/texlive/texmf-dist/tex/latex/xkeyval/xkeyval.sty (c:/texlive/texmf-dist/tex/generic/xkeyval/xkeyval.tex (c:/texlive/texmf-dist/tex/generic/xkeyval/xkvutils.tex (c:/texlive/texmf-dist/tex/generic/xkeyval/keyval.tex)))) (c:/texlive/texmf-dist/tex/latex/standalone/standalone.cfg) (c:/texlive/texmf-dist/tex/latex/base/article.cls Document Class: article 2020/04/10 v1.4m Standard LaTeX document class (c:/texlive/texmf-dist/tex/latex/base/size10.clo)) (c:/texlive/texmf-dist/tex/latex/pgf/frontendlayer/tikz.sty (c:/texlive/texmf-dist/tex/latex/pgf/basiclayer/pgf.sty (c:/texlive/texmf-dist/tex/latex/pgf/utilities/pgfrcs.sty (c:/texlive/texmf-dist/tex/generic/pgf/utilities/pgfutil-common.tex (c:/texlive/texmf-dist/tex/generic/pgf/utilities/pgfutil-common-lists.tex)) (c:/texlive/texmf-dist/tex/generic/pgf/utilities/pgfutil-latex.def) (c:/texlive/texmf-dist/tex/generic/pgf/utilities/pgfrcs.code.tex (c:/texlive/texmf-dist/tex/generic/pgf/pgf.revision.tex))) (c:/texlive/texmf-dist/tex/latex/pgf/basiclayer/pgfcore.sty (c:/texlive/texmf-dist/tex/latex/graphics/graphicx.sty (c:/texlive/texmf-dist/tex/latex/graphics/graphics.sty (c:/texlive/texmf-dist/tex/latex/graphics/trig.sty) (c:/texlive/texmf-dist/tex/latex/graphics-cfg/graphics.cfg) (c:/texlive/texmf-dist/tex/latex/graphics-def/xetex.def))) (c:/texlive/texmf-dist/tex/latex/pgf/systemlayer/pgfsys.sty (c:/texlive/texmf-dist/tex/generic/pgf/systemlayer/pgfsys.code.tex (c:/texlive/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex (c:/texlive/texmf-dist/tex/generic/pgf/utilities/pgfkeysfiltered.code.tex)) (c:/texlive/texmf-dist/tex/generic/pgf/systemlayer/pgf.cfg) (c:/texlive/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-xetex.def (c:/texlive/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-dvipdfmx.def (c:/texlive/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-common-pdf.def)))) (c:/texlive/texmf-dist/tex/generic/pgf/systemlayer/pgfsyssoftpath.code.tex) (c:/texlive/texmf-dist/tex/generic/pgf/systemlayer/pgfsysprotocol.code.tex)) (c:/texlive/texmf-dist/tex/latex/xcolor/xcolor.sty (c:/texlive/texmf-dist/tex/latex/graphics-cfg/color.cfg)) (c:/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcore.code.tex (c:/texlive/texmf-dist/tex/generic/pgf/math/pgfmath.code.tex (c:/texlive/texmf-dist/tex/generic/pgf/math/pgfmathcalc.code.tex (c:/texlive/texmf-dist/tex/generic/pgf/math/pgfmathutil.code.tex) (c:/texlive/texmf-dist/tex/generic/pgf/math/pgfmathparser.code.tex) (c:/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.code.tex (c:/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.basic.code.tex) (c:/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.trigonometric.code .tex) (c:/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.random.code.tex) (c:/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.comparison.code.te x) (c:/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.base.code.tex) (c:/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.round.code.tex) (c:/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.misc.code.tex) (c:/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.integerarithmetics .code.tex))) (c:/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfloat.code.tex) ) (c:/texlive/texmf-dist/tex/generic/pgf/math/pgfint.code.tex) (c:/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepoints.code.tex) (c:/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathconstruct.code.tex ) (c:/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathusage.code.tex) (c:/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcorescopes.code.tex) (c:/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcoregraphicstate.code.tex) (c:/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcoretransformations.code.t ex) (c:/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcorequick.code.tex) (c:/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreobjects.code.tex) (c:/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathprocessing.code.te x) (c:/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcorearrows.code.tex) (c:/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreshade.code.tex) (c:/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreimage.code.tex (c:/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreexternal.code.tex)) (c:/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcorelayers.code.tex) (c:/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcoretransparency.code.tex) (c:/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepatterns.code.tex) (c:/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcorerdf.code.tex))) (c:/texlive/texmf-dist/tex/generic/pgf/modules/pgfmoduleshapes.code.tex) (c:/texlive/texmf-dist/tex/generic/pgf/modules/pgfmoduleplot.code.tex) (c:/texlive/texmf-dist/tex/latex/pgf/compatibility/pgfcomp-version-0-65.sty) (c:/texlive/texmf-dist/tex/latex/pgf/compatibility/pgfcomp-version-1-18.sty)) (c:/texlive/texmf-dist/tex/latex/pgf/utilities/pgffor.sty (c:/texlive/texmf-dist/tex/latex/pgf/utilities/pgfkeys.sty (c:/texlive/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex)) (c:/texlive/texmf-dist/tex/latex/pgf/math/pgfmath.sty (c:/texlive/texmf-dist/tex/generic/pgf/math/pgfmath.code.tex)) (c:/texlive/texmf-dist/tex/generic/pgf/utilities/pgffor.code.tex (c:/texlive/texmf-dist/tex/generic/pgf/math/pgfmath.code.tex))) (c:/texlive/texmf-dist/tex/generic/pgf/frontendlayer/tikz/tikz.code.tex (c:/texlive/texmf-dist/tex/generic/pgf/libraries/pgflibraryplothandlers.code.te x) (c:/texlive/texmf-dist/tex/generic/pgf/modules/pgfmodulematrix.code.tex) (c:/texlive/texmf-dist/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibrary topaths.code.tex)))) (c:/texlive/texmf-dist/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibrary angles.code.tex) (c:/texlive/texmf-dist/tex/latex/l3backend/l3backend-xetex.def (|extractbb --version)) (./test.aux) (c:/texlive/texmf-dist/tex/latex/base/ts1cmr.fd) ! Missing \endcsname inserted. \alpha l.6 pic ["$\alpha$", draw, ->] {angle}; ? Process has been terminated ... ``` 最小实例如下 ``` \documentclass[tikz,border=5]{standalone} \usetikzlibrary{angles} \begin{document} \tikz \draw (2,0) coordinate (A) -- (0,0) coordinate (B) -- (1,1) coordinate (C) pic ["$\alpha$", draw, ->] {angle}; \end{document} ``` 请问是哪里出了问题,谢谢大家

0 回答0

你的回答

请登录后回答

你的回答将会帮助更多人,请务必认真回答问题。