【latex】简单有效地调整公式大小,缩小公式间距 |
您所在的位置:网站首页 › ppt排版字体大小怎么调整 › 【latex】简单有效地调整公式大小,缩小公式间距 |
调整公式大小
调整字符间距
公式中加间隔 \quad \qquad , : ; ! 前面两个的间隔较大,后面三个较小,最后一个是负间隔; 另外,还可以使用 \hspace{距离} 等来插入间隔. 公式字体变小在公式外围加上, \begin{small} \end{small} 如下 \begin{small} \begin{equation} \ldots你的公式 \end{equation} \end{small}字体大小: 七号 5.25pt 1.845mm tiny 六号 7.875pt 2.768mm scriptsize 小五号 9pt 3.163mm footnotesize 五号 10.5pt 3.69mm small 小四号 12pt 4.2175mm normalsize 四号 13.75pt 4.83mm large 三号 15.75pt 5.53mm Large 二号 21pt 7.38mm LARGE 一号 27.5pt 9.48mm huge 小初号 36pt 12.65mm Huge 初号 42pt 14.76mm 使用方法:替换上面代码中的small即可 但是有个问题,编号也会跟着变小 公式字体变小,但编号恢复原样将以下代码直接复制粘贴进latex的导言区,也就是latex代码的最上面部分 \makeatletter \renewcommand{\maketag@@@}[1]{\hbox{\m@th\normalsize\normalfont#1}}% \makeatother 公式整体左移右移 \hspace{-2mm}%{}里面负数为左移,正为右移 \begin{scriptsize} \begin{equation} \begin{aligned} \hspace{-2mm} %公式 A_{4}\!=\!\left[\!\!\!\!\begin{array}{cccc}C (180\!\!+\!\!\theta_{i})\!\!\! &\!\! -S (180\!\!+\!\!\theta_{i}) C \alpha_{i} \!\!\! &\!\!\! S (180\!\!+\!\!\theta_{i}) S \alpha_{i} \!\!\! &\!\!\! a_{i} C (180\!\!+\!\!\theta_{i})\\ S (180\!\!+\!\!\theta_{i}) \!\!\! &\!\!\! C (180\!\!+\!\!\theta_{i}) C \alpha_{i} \!\!\! &\!\!\! -C (180\!\!+\!\!\theta_{i}) S \alpha_{i} \!\!\! &\!\!\! a_{i} S (180\!\!+\!\!\theta_{i}) \\ 0 \!\!\! &\!\!\! S \alpha_{i} \!\!\! &\!\!\! C \alpha_{i} \!\!\! &\!\!\! d_{i} \\ 0 \!\!\! &\!\!\! 0 \!\!\! &\!\!\! 0 \!\!\! &\!\!\! 1\end{array}\!\!\!\!\right]. %公式 \end{aligned} \end{equation}\end{scriptsize} \label{eq2}效果如下 |
今日新闻 |
推荐新闻 |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |