【latex学习笔记】双栏文章中如何跨两栏写长公式(通栏公式)?

2012-11-26 09:44 阅读 6,153 次 评论关闭

第一种方法:这是从IEEE摘选出来的输入方式,但是这个方式会使得公式移动到下一页浮动置顶。

\newcounter{mytempeqncnt}
\begin{figure*}[!t]
% ensure that we have normalsize text
\normalsize
% Store the current equation number.
\setcounter{mytempeqncnt}{\value{equation}}
% Set the equation number to one less than the one
% desired for the first equation here.
% The value here will have to changed if equations
% are added or removed prior to the place these
% equations are referenced in the main text.
\setcounter{equation}{5}
\begin{equation}
\label{eqn_dbl_x}
x = 5 + 7 + 9 + 11 + 13 + 15 + 17 + 19 + 21+ 23 + 25
+ 27 + 29 + 31
\end{equation}
\begin{equation}
\label{eqn_dbl_y}
y = 4 + 6 + 8 + 10 + 12 + 14 + 16 + 18 + 20+ 22 + 24
+ 26 + 28 + 30
\end{equation}
% Restore the current equation number.
\setcounter{equation}{\value{mytempeqncnt}}
% IEEE uses as a separator
\hrulefill
% The spacer can be tweaked to stop underfull vboxes.
\vspace*{4pt}
\end{figure*}

第二种方法:使用multicol来实现,这个方法较为贴近我们平时的习惯。

\begin{multicols}{2}
Bla bla...
\end{multicols}
%
\begin{equation}
very long equation
\end{equation}
%
\begin{multicols}{2}
Bla bla...

      \end{multicols}

版权声明:本文著作权归原作者所有,欢迎分享本文,谢谢支持!
转载请注明:【latex学习笔记】双栏文章中如何跨两栏写长公式(通栏公式)? | 猎微网

评论已关闭!