我看见这里如何使正文变浅。命令是
\font\tenrm = cmr17 at 10pt \tenrm
我如何对数学文本做同样的事情?注意:我想使用 Computer Modern,而不是 kpfonts 等。这是一个最小的工作示例:
\documentclass[]{amsart}
\begin{document}
\font\tenrm = cmr17 at 10pt \tenrm
\noindent
This experiment tested the validity of Kirchoff's current and voltage laws:
\[(i) \sum \limits_{\textrm{junction}} \! \! \! I = 0\]
\[(ii) \sum \limits_{\textrm{closed loop}} \! \! \! \! \! \! \Delta V = 0\]
using a two-loop circuit and appropriate measuring equipment. It was determined
that Kirchoff's circuit laws closely agree with observation (see Table 1).
\end{document}
当我添加命令使正文变浅时,数学字体没有变化。我希望它和正文一样浅。我也希望粗体变浅。这会让它看起来像较新的 Springer 书籍,格式非常好。谢谢。
答案1
您可以使用\DeclareFontShape
来执行此操作,这也是您应该为文本更改执行的操作。但是,您需要处理每个变体中加载的每种字体,这是一项艰巨的任务。请参阅其中引用的文件(例如)amsfonts.sty
和source2e.pdf
文件(例如),omlcmr.fd
以查看相关信息。以下是使用命令和对其中一种数学字体进行重新定义的示例:
字体未改变之前:
经过两次字体变化后:
\documentclass{amsart}
\DeclareFontShape{OMX}{cmex}{m}{n}{%
<-7.5>cmex11%
<7.5-8.5>cmex12%
<8.5-9.5>cmex14%
<9.5->cmex17%
}{}%
\begin{document}
\font\tenrm = cmr17 at 10pt \tenrm
\noindent
This experiment tested the validity of Kirchoff's current and voltage laws:
\[(i) \sum \limits_{\textrm{junction}} \mkern-12mu I = 0\]
\[(ii) \sum \limits_{\textrm{closed loop}} \mkern-18mu V = 0\]
using a two-loop circuit and appropriate measuring equipment. It was determined
that Kirchoff's circuit laws closely agree with observation (see Table 1).
\end{document}