LaTex排版技巧:[9]如何改变公式中字体的大小
1、在数学模式中,有四个控制字体相对大小的命令,即\displaystyle D 行间公式的基本尺寸\textstyle T 行内公式的基本尺寸大小\scriptstyle S 一级角标的尺寸\scriptscirptstyle SS 二级角标的尺寸大小
![LaTex排版技巧:[9]如何改变公式中字体的大小](https://exp-picture.cdn.bcebos.com/49bf00425d6b04d154bbe23cb213e8e5edee012a.jpg)
2、对于行内公式我们可以采取下面两种方法1.一个行内分式$\frac{1}{a + b}$.2.一个行内分式$\displaystyle\frac{1}{a + b}$.其结果如下所示
![LaTex排版技巧:[9]如何改变公式中字体的大小](https://exp-picture.cdn.bcebos.com/3852f6e5eceeadbc9dbd3fc4cd18dfdae53b7b2a.jpg)
3、我们能否像修改正文字体那样来修改公式字体呢?回答是肯定的。\begin{small}\begin{equation}A \times B = C\end{equation}\end{small}其结果如下:
![LaTex排版技巧:[9]如何改变公式中字体的大小](https://exp-picture.cdn.bcebos.com/46315818dfdae43b13147a95c457935652bb742a.jpg)
4、如果是想批量更改的话,最好定义新的环境钱砀渝测(这样能简化很多操作):\newenvironment{sequation}撑俯擂摔{\small\begin{equation}}{\end{equation}}\newenvironment{tequation}{\tiny\begin{equation}}{\end{equation}}
![LaTex排版技巧:[9]如何改变公式中字体的大小](https://exp-picture.cdn.bcebos.com/92174dbbf82064fbb99949958e6104a354e96f2a.jpg)