IEEEtransLaTeX模板插⼊双栏跨栏长公式的⽅法
⽅法⼀:当作figure。根据其官⽅⽂档的第X节"FLOATING STRUCTURES"的D. Double Column Floats,在导⾔部分(也就是
\begin{document}之前)加上
\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}}
% The IEEE uses as a separator
\hrulefill
% The spacer can be tweaked to stop underfull vboxes.
\vspace*{4pt}
\end{figure*}
效果为在下⼀页的页⾯顶端最合适的地⽅插⼊带底边线的公式:
若要在页⾯底部插⼊,则将“[!t]”选项改为“[!b]”,然后将\vspace和\hrulefill放在equation前⾯,先放\vspace再放\hrulefill。这种⽅法受限于其仅能将公式放在下⼀页的页⾯顶端或底端。
⽅法⼆:使⽤strip环境【需要“cuted”宏包】。
\begin{strip}
\begin{equation}
\end{equation}
\begin{equation}
\end{equation}
\end{strip}
还可以在此基础上定义其他效果,如加⼀条左栏顶线⼀条右栏底线(仿照为APS、Physics Review提供的revtex模板的“widetext”环境):
\begin{strip}
% The IEEE uses as a separator
\rule{0.5\textwidth}{.4pt}
\begin{equation}
\end{equation}
\begin{equation}
\end{equation}
\hspace{0.5\textwidth}\rule{0.5\textwidth}{.4pt}
\end{strip}
\documentclass[twocolumn]{revtex4-2}
\begin{document}
\begin{widetext}
\[\]
\end{widetext}
\end{document}

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。