[我想将表达式加粗,因为它们是矢量,但我得到的结果很奇怪。因为我习惯用方程式命令编写方程,所以喜欢更改给定代码。
\documentclass[10pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}
\begin{document}
\begin{equation*}
\implies \textbf{\frac{dL}{dt}=\sum_{i} r_{i} \times F_{i}^{ext}=N^{ext}}=\text{Sum of external torques}
\end{equation*}
\end{document}
使用textbf
,您将切换回文本模式,因此,您需要将所有数学语法都用$
括起来。因此,以下方法将起作用:
\begin{equation*}
\implies \textbf{$\frac{dL}{dt}=\sum_{i} r_{i} \times F_{i}^{ext}=N^{ext}$}=\text{Sum of external torques}
\end{equation*}
话虽如此,鉴于您想保持数学模式,使用\mathbf
而不用担心$
会更容易:
\begin{equation*}
\implies \mathbf{\frac{dL}{dt}=\sum_{i} r_{i} \times F_{i}^{ext}=N^{ext}}=\text{Sum of external torques}
\end{equation*}
即使这样,我还是更倾向于使用bm
包进行粗体数学运算。 Although there are loads of different ways to bold math fonts。