如何让Latex公式字体变小

来源:互联网 发布:rayfile网盘 mac 编辑:程序博客网 时间:2024/04/28 21:06

转载:http://blog.sina.com.cn/s/blog_5e16f1770100gdxh.html

第一种方法:用比较笨的方法,一个一个公式用
\begin{small}
\begin{equation}
\ldots
\end{equation}
\end{small}

第二种方法:
定义新的变量环境
在开始
\newenvironment{sequation}{\begin{equation}\small}{\end{equation}}
演示效果图:
LaTeX技巧156:如何让Latex公式字体变小
演示代码:
\documentclass{article}
\usepackage[includemp,body={398pt,550pt},footskip=30pt,%
marginparwidth=60pt,marginparsep=10pt]{geometry}
\newenvironment{sequation}{\begin{equation}\small}{\end{equation}}
\newenvironment{tequation}{\begin{equation}\tiny}{\end{equation}}
\begin{document}
\begin{tequation}
\int_a^b f(x) \mathrm{d}x=A
\end{tequation}
\begin{sequation}
\int_a^b f(x) \mathrm{d}x=A
\end{sequation}
\begin{equation}
\int_a^b f(x) \mathrm{d}x=A
\end{equation}
\end{document}

0 0
原创粉丝点击