请考虑这个最小的例子。用 XeLaTeX 编译。
\documentclass[fontsize=14pt]{scrartcl}
\usepackage{unicode-math}
\setmathfont{XITS Math}
\begin{document}
Test $\exists a'$.%^\prime: same.
\end{document}
如您所见,“prime”太高(高于 \exists 符号)。使用字体大小 12 pt 或删除 \setmathfont 时不会发生此问题。
知道哪里出了问题吗?将默认字体更改为 14 pt 的推荐方法是什么?我考虑使用 Scale(如建议的那样这里),但我不确定是否建议扩大规模(六分之一)。
答案1
使用:
*File List* scrartcl.cls 2017/04/13 v3.23 KOMA-Script document class (article) scrkbase.sty 2017/04/13 v3.23 KOMA-Script package (KOMA-Script-dependent basics and keyval usage) scrbase.sty 2017/04/13 v3.23 KOMA-Script package (KOMA-Script-independent basics and keyval usage) keyval.sty 2014/10/28 v1.15 key=value parser (DPC) scrlfile.sty 2017/04/13 v3.23 KOMA-Script package (loading files) tocbasic.sty 2017/04/13 v3.23 KOMA-Script package (handling toc-files) size14.clo 1999/11/11 v1.4a NON-Standard LaTeX file (size option) typearea.sty 2017/04/13 v3.23 KOMA-Script package (type area) unicode-math.sty 2017/01/27 v0.8d Unicode maths in XeLaTeX and LuaLaTeX ifxetex.sty 2010/09/12 v0.6 Provides ifxetex conditional ifluatex.sty 2016/05/16 v1.4 Provides the ifluatex switch (HO) expl3.sty 2017/04/01 L3 programming layer (loader) expl3-code.tex 2017/04/01 L3 programming layer l3pdfmode.def 2017/03/18 v L3 Experimental driver: PDF mode ucharcat.sty 2015/11/19 v0.03 ucharcat for luaLaTeX (DPC) xparse.sty 2017/04/01 L3 Experimental document command parser l3keys2e.sty 2017/04/01 LaTeX2e option processing using LaTeX3 keys fontspec.sty 2017/03/31 v2.6a Font selection for XeLaTeX and LuaLaTeX fontspec-luatex.sty 2017/03/31 v2.6a Font selection for XeLaTeX and LuaLaTeX fontenc.sty tuenc.def 2017/02/22 v2.0g Standard LaTeX file fontspec.cfg fix-cm.sty 2015/01/14 v1.1t fixes to LaTeX ts1enc.def 2001/06/05 v3.0e (jk/car/fm) Standard LaTeX file filehook.sty 2011/10/12 v0.5d Hooks for input files filehook-scrlfile.sty 2011/01/03 v0.1 filehook patch for scrlfile package unicode-math-luatex.sty lualatex-math.sty 2016/04/16 v1.6 Patches for mathematics typesetting with LuaLaTeX etoolbox.sty 2017/01/02 v2.4 e-TeX tools for LaTeX (JAW) ***********
我明白了
与 LuaLaTeX 相同,但 XeLaTeX 除外。因此,使用更新的软件包似乎可以解决问题。