由于我的 LaTeX 方程式相当大,我决定按以下方式增加其大小:
%
\begin{small}
\begin{eqnarray}
bla bla bla bla
\end{eqnarray}
\end{small}
%
text text text
这里一切看起来都很好,除了公式后面的文本以缩进开始,尽管我%
在公式和文本之间添加了缩进。我该如何消除缩进?
答案1
这是缩小等式的错误方法。如果您注意的话,等式上方的线条间距会不规则。您看到的小空格是 之后的行尾\end{small}
。
以下是使用您的输入的示例:
等式前的行距不当非常明显,如果\footnotesize
使用的话会很糟糕。
另外,eqnarray
不建议使用;提供的对齐环境amsmath
肯定更好。我也不建议使用\begin{small}
和\end{small}
。<blank line>{\small ...\par}
在需要时使用(如果要排版段落,或者{\small ...}
在正常大小的段落内)。
有两种可能性;第一种情况,方程式编号将是正常大小;第二种情况,方程式编号也将减小,但将更容易适应对齐环境。
\documentclass[twocolumn]{article}
\begin{document}
Some text and some text and some text and some text and some text
and some text and some text and some text and some text and some
text and some text and some text and some text and some text and
some text and some text and some text and some text and some text
\begin{equation}
\mbox{\small$\displaystyle
a\ very\ very\ long\ equation\ that\ we\ want\ smaller
$}
\end{equation}
some text and some text and some text and some text and some text
and some text and some text and some text and some text and some
text and some text and some text and some text and some text and
some text and some text and some text and some text and some text
\newpage
Some text and some text and some text and some text and some text
and some text and some text and some text and some text and some
text and some text and some text and some text and some text and
some text and some text and some text and some text and some text
\[
\begin{minipage}{\displaywidth}\small
\noindent\begin{equation}
a\ very\ very\ long\ equation\ that\ we\ want\ smaller
\end{equation}
\end{minipage}
\]
some text and some text and some text and some text and some text
and some text and some text and some text and some text and some
text and some text and some text and some text and some text and
some text and some text and some text and some text and some text
\end{document}
我以前twocolumn
只是为了并排展示这两个例子。