fixcmex 无法修复

fixcmex 无法修复

fixcmex包应该恢复cmex字体并使用提供的几种尺寸使其可缩放amsmath,即使lmodern已经加载了包,也会用lmex只有单一设计尺寸的字体覆盖它。

如下所示,这对我来说不起作用。扩展字体仍然设置为lmex10,根本\widetilde不缩放,\big分隔符比应有的要大。

奇怪的是:该软件包的核心是命令 \fixcmex@fix,它应该通过 自动执行\AtBeginDocument。我可以说它肯定正在执行,但不知何故它无法替换字体。但如果我在前言中直接发出该命令,那么字体就会被替换。

那么,为什么它不能像应该的那样自动工作呢?

\documentclass[12pt]{standalone}
\usepackage{lmodern}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{fixcmex}
% \makeatletter\fixcmex@fix\makeatother% is we uncomment this, then scaleable cmex is used
\begin{document}
$\widetilde{x}^{\widetilde{x}^{\widetilde{x}}}$
$\Biggl[\biggl[\Bigl[\bigl[[)\bigr)\Bigr)\biggr)\Biggr)$
\fontname\textfont3
\end{document}

output

This is pdfTeX, Version 3.14159265-2.6-1.40.16
 *File List*
standalone.cls    2015/07/15 v1.2 Class to compile TeX sub-files standalone
ifluatex.sty    2010/03/01 v1.3 Provides the ifluatex switch (HO)
   ifpdf.sty    2011/01/30 v2.3 Provides the ifpdf switch (HO)
 ifxetex.sty    2010/09/12 v0.6 Provides ifxetex conditional
 xkeyval.sty    2014/12/03 v2.7a package option processing (HA)
 xkeyval.tex    2014/12/03 v2.7a key=value parser (HA)
standalone.cfg    2015/07/15 v1.2 Default configuration file for 'standalone' c
lass
 article.cls    2014/09/29 v1.4h Standard LaTeX document class
  size12.clo    2014/09/29 v1.4h Standard LaTeX file (size option)
 lmodern.sty    2009/10/30 v1.6 Latin Modern Fonts
 fontenc.sty
   t1enc.def    2005/09/27 v1.99g Standard LaTeX file
 amsmath.sty    2013/01/14 v2.14 AMS math features
 amstext.sty    2000/06/29 v2.01
  amsgen.sty    1999/11/30 v2.0
  amsbsy.sty    1999/11/29 v1.2d
  amsopn.sty    1999/12/14 v2.01 operator names
 fixcmex.sty    2015/11/10 v1.0 Scalable math extensions font (Enrico Gregorio)

   t1lmr.fd    2009/10/30 v1.6 Font defs for Latin Modern
  ot1lmr.fd    2009/10/30 v1.6 Font defs for Latin Modern
  omllmm.fd    2009/10/30 v1.6 Font defs for Latin Modern
 omslmsy.fd    2009/10/30 v1.6 Font defs for Latin Modern
 omxlmex.fd    2009/10/30 v1.6 Font defs for Latin Modern
 ***********

相关内容