2
符号字体
EthanDeng edited this page 2019-11-16 10:58:33 +08:00

在 3.08 版本中,用户反馈模板在和 yhmath 以及 esvect 等宏包搭配使用的时候会出现报错:

LaTeX Error:
  Too many symbol fonts declared.

原因是模板重新定义了数学字体,达到了最多 16 个数学字体的上限,在调用其他宏包的时候,无法新增数学字体。为了减少调用非常用宏包,在此给出如何调用 yhmath 以及 esvect 宏包的方法。

请在 elegantbook.cls 内搜索 yhmath 或者 esvect,将你所需要的宏包加载语句取消注释即可。

%%% use yhmath pkg, uncomment following code
% \let\oldwidering\widering
% \let\widering\undefined
% \RequirePackage{yhmath}
% \let\widering\oldwidering

%%% use esvect pkg, uncomment following code
% \RequirePackage{esvect}