unicode-math 加载 graphicx?为什么?

unicode-math 加载 graphicx?为什么?

从控制台看,XeTeX 和 LuaTeX 的 unicode-math 包似乎加载了 graphic.sty。为什么?我想这为我节省了序言中的一行代码。最小示例:

\documentclass[12pt]{article}
\usepackage{unicode-math}
\begin{document}
a
\end{document}

控制台中的某些行(运行 LuaTeX 后):

(/usr/local/texlive/2016/texmf-dist/tex/latex/unicode-math/unicode-math.sty
...
(/usr/local/texlive/2016/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/local/texlive/2016/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/local/texlive/2016/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/local/texlive/2016/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/local/texlive/2016/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)
...
(/usr/local/texlive/2016/texmf-dist/tex/latex/unicode-math/unicode-math-luatex.sty

答案1

graphicx包由 加载xunicode,以前由 加载fontspec,但几年后就不再由 加载,除非EU1需要编码。

xunicode包使用了\scalebox一些它的宏。

相关内容