数学和时间字体

数学和时间字体

我尝试使用 Times 字体来显示普通文本和变量,并使用默认数学字体 (CMR) 来显示数学。我尝试使用 Times 包。这部分解决了问题。但我希望数学文本(我指的是英文字母和希腊字母以外的数字、运算符等)采用 Times 字体。我该怎么做?欢迎提出任何意见或建议。

为了进一步说明,请参见:

乘法数学示例

编辑:似乎许多期刊都使用一种名为 MathTime 的商业字体。也许这就是我看到的字体。

答案1

使用mathptmx取代的软件包times并为《时代》提供数学支持。

 \usepackage{mathptmx}

或者,尝试txfonts数学中的 Times。也许可以看看frabjous 的贡献

 \usepackage{txfonts}

答案2

另一个解决方案:全新包装mathastext今天在 CTAN 上发布的 允许在数学模式下使用文本字体,即文本、字母、变量。这将允许在数学模式下将 Times 与希腊字母和其他数学字体一起使用。

答案3

您必须重新定义 cmm 字体中的希腊字母。这很简单,因为 cmmi 字体中的大写和小写希腊字母是从 0 到 40(十进制)定义的。

\documentclass{scrartcl}
\usepackage[T1]{fontenc}
\usepackage{mathptmx}

\DeclareSymbolFont{Letters}{OML}{cmm}{m}{it}
\DeclareMathSymbol{\Gamma}{\mathalpha}{Letters}{0}
\DeclareMathSymbol{\Delta}{\mathalpha}{Letters}{1}
\DeclareMathSymbol{\Theta}{\mathalpha}{Letters}{2}
\DeclareMathSymbol{\Lambda}{\mathalpha}{Letters}{3}
\DeclareMathSymbol{\Xi}{\mathalpha}{Letters}{4}
\DeclareMathSymbol{\Pi}{\mathalpha}{Letters}{5}
\DeclareMathSymbol{\Sigma}{\mathalpha}{Letters}{6}
\DeclareMathSymbol{\Upsilon}{\mathalpha}{Letters}{7}
\DeclareMathSymbol{\Phi}{\mathalpha}{Letters}{8}
\DeclareMathSymbol{\Psi}{\mathalpha}{Letters}{9}
\DeclareMathSymbol{\Omega}{\mathalpha}{Letters}{10}
\DeclareMathSymbol{\alpha}{\mathalpha}{Letters}{11}
\DeclareMathSymbol{\beta}{\mathalpha}{Letters}{12}
\DeclareMathSymbol{\gamma}{\mathalpha}{Letters}{13}
% [...] and the other greek letters
\begin{document}

\[ f(\alpha)=\beta \]

\end{document} 

答案4

尝试一下(在序言中):

\usepackage{mathptmx}
\DeclareSymbolFont{gregasM}{OT1}{cmr}{m}{n}
\DeclareMathSymbol{\Gamma}{\mathalpha}{gregasM}{0}
\DeclareMathSymbol{\Delta}{\mathalpha}{gregasM}{1}
\DeclareMathSymbol{\Theta}{\mathalpha}{gregasM}{2}
\DeclareMathSymbol{\Lambda}{\mathalpha}{gregasM}{3}
\DeclareMathSymbol{\Xi}{\mathalpha}{gregasM}{4}
\DeclareMathSymbol{\Pi}{\mathalpha}{gregasM}{5}
\DeclareMathSymbol{\Sigma}{\mathalpha}{gregasM}{6}
\DeclareMathSymbol{\Upsilon}{\mathalpha}{gregasM}{7}
\DeclareMathSymbol{\Phi}{\mathalpha}{gregasM}{8}
\DeclareMathSymbol{\Psi}{\mathalpha}{gregasM}{9}
\DeclareMathSymbol{\Omega}{\mathalpha}{gregasM}{10}
\DeclareSymbolFont{gregasm}{OML}{cmm}{m}{it}
\DeclareMathSymbol{\alpha}{\mathalpha}{gregasm}{11}
\DeclareMathSymbol{\beta}{\mathalpha}{gregasm}{12}
\DeclareMathSymbol{\gamma}{\mathalpha}{gregasm}{13}
\DeclareMathSymbol{\delta}{\mathalpha}{gregasm}{14}
\DeclareMathSymbol{\epsilon}{\mathalpha}{gregasm}{15}
\DeclareMathSymbol{\zeta}{\mathalpha}{gregasm}{16}
\DeclareMathSymbol{\eta}{\mathalpha}{gregasm}{17}
\DeclareMathSymbol{\theta}{\mathalpha}{gregasm}{18}
\DeclareMathSymbol{\iota}{\mathalpha}{gregasm}{19}
\DeclareMathSymbol{\kappa}{\mathalpha}{gregasm}{20}
\DeclareMathSymbol{\lambda}{\mathalpha}{gregasm}{21}
\DeclareMathSymbol{\mu}{\mathalpha}{gregasm}{22}
\DeclareMathSymbol{\nu}{\mathalpha}{gregasm}{23}
\DeclareMathSymbol{\xi}{\mathalpha}{gregasm}{24}
\DeclareMathSymbol{\pi}{\mathalpha}{gregasm}{25}
\DeclareMathSymbol{\rho}{\mathalpha}{gregasm}{26}
\DeclareMathSymbol{\sigma}{\mathalpha}{gregasm}{27}
\DeclareMathSymbol{\tau}{\mathalpha}{gregasm}{28}
\DeclareMathSymbol{\upsilon}{\mathalpha}{gregasm}{29}
\DeclareMathSymbol{\phi}{\mathalpha}{gregasm}{30}
\DeclareMathSymbol{\chi}{\mathalpha}{gregasm}{31}
\DeclareMathSymbol{\psi}{\mathalpha}{gregasm}{32}
\DeclareMathSymbol{\omega}{\mathalpha}{gregasm}{33}
\DeclareMathSymbol{\varepsilon}{\mathalpha}{gregasm}{34}
\DeclareMathSymbol{\vartheta}{\mathalpha}{gregasm}{35}
\DeclareMathSymbol{\varpi}{\mathalpha}{gregasm}{36}
\DeclareMathSymbol{\varrho}{\mathalpha}{gregasm}{37}
\DeclareMathSymbol{\varphi}{\mathalpha}{gregasm}{39}

对于同样的情况,这对我有用。

相关内容