我在尝试使用命令加粗一系列数学方程式时遇到了麻烦。除和\boldmath
之外,所有方程式符号似乎都可以加粗。要加粗它们,我必须另外使用额外的命令,这对于长方程式集来说并不方便。\because
\therefore
\pmb
这是一个示例代码:
\documentclass{article}
\usepackage{amsmath, amssymb}
\begin{document}
No bold commands used at all (for comparison):
\[ \because x - 1 = 0 \quad \therefore x = 1 \]
Despite using ``boldmath" but No bold ``because" and ``therefore" symbols:
\boldmath
\[ \because x - 1 = 0 \quad \therefore x = 1 \]
To get them bold, ``pmb" must be used:
\[ \pmb \because x - 1 = 0 \quad \pmb \therefore x = 1 \]
\end{document}
结果是:
amssymb
包中的其他符号(例如\propto
,\equiv
)遵循起来\boldmath
没有任何问题。
是否有替代命令(pdflatex
仅使用)可以正确地将一系列数学方程中的所有内容加粗?
答案1
AMS amsa 和 amsb 字体不提供粗体。其他字体集有更完整的粗体,例如 txmath Times Roman 样式字体。
\documentclass{article}
\usepackage{amsmath, newtx}
\begin{document}
No bold commands used at all (for comparison):
\[ \because x - 1 = 0 \quad \therefore x = 1 \]
Despite using ``boldmath" but No bold ``because" and ``therefore" symbols:
\boldmath
\[ \because x - 1 = 0 \quad \therefore x = 1 \]
To get them bold, ``pmb" must be used:
\[ \pmb \because x - 1 = 0 \quad \pmb \therefore x = 1 \]
\end{document}