\mathnormal 在 LaTeX 中加粗
\mathnormal bold in LaTeX
如何在 LaTeX 中编写这种类型的数学字母?我试过 \mathnormal
但我不能把它设为粗体。
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\[
\boldsymbol{x}_{1}, \boldsymbol{x}_{2}, \dots ,\boldsymbol{x}_{3}
\]
\end{document}
要使粗体和草书 x 的类型完全相同,则可以使用 $\boldsymbol{x}$
。然而,如果你想要的只是一个粗体(但直立的 x),你可以使用 \mathbf{ }
.
顺便说一下,如果你不得不写一堆这些,那么我通常会定义一个 shorthand 命令:
\newcommand{\+}[1]{\ensuremath{\boldsymbol{#1}}}
然后您可以将示例编写为:
$\+x_1, \+x_2, \ldots, \+x_n$
如何在 LaTeX 中编写这种类型的数学字母?我试过 \mathnormal
但我不能把它设为粗体。
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\[
\boldsymbol{x}_{1}, \boldsymbol{x}_{2}, \dots ,\boldsymbol{x}_{3}
\]
\end{document}
要使粗体和草书 x 的类型完全相同,则可以使用 $\boldsymbol{x}$
。然而,如果你想要的只是一个粗体(但直立的 x),你可以使用 \mathbf{ }
.
顺便说一下,如果你不得不写一堆这些,那么我通常会定义一个 shorthand 命令:
\newcommand{\+}[1]{\ensuremath{\boldsymbol{#1}}}
然后您可以将示例编写为:
$\+x_1, \+x_2, \ldots, \+x_n$