在同一页面中从双列切换到单列,以插入长公式

在同一页面中从双列切换到单列,以插入长公式

当我使用 overleaf 模板时这里,我把代码改成\documentclass[twocolumn]{svjour3}

我有很长的方程式,所以我想让方程式跨越两列。我尝试更改为\onecolumn,然后使用multicol包,但我无法解决。

简单代码如下:

\documentclass[twocolumn]{svjour3}       % onecolumn (second format)
 \usepackage{lipsum}
\begin{document}

\title{Insert your title here
}
\subtitle{Do you have a subtitle?\\ If so, write it here}

\author{First Author         \and
        Second Author %etc.
}

\institute{F. Author \at
              first address \\
              Tel.: +123-45-678910\\
              Fax: +123-45-678910\\
              \email{[email protected]}           %  \\
%             \emph{Present address:} of F. Author  %  if needed
           \and
           S. Author \at
              second address
}

\date{Received: date / Accepted: date}
% The correct dates will be entered by the editor


\maketitle

\lipsum[1-3]
\begin{equation}\label{key}
AcceptAcceptAccept AcceptAcceptAcceptAcceptAcceptAcceptAcceptAccept
\end{equation}
\lipsum[1]

\end{document}

答案1

您可以使用包( bundle)strip中的环境:cutedsttools

\documentclass[twocolumn]{svjour3} % onecolumn (second format)
\usepackage{cuted} 
\setlength{\stripsep}{0pt}
 \usepackage{lipsum}
\begin{document}

\title{Insert your title here
}
\subtitle{Do you have a subtitle?\\ If so, write it here}

\author{First Author \and
        Second Author %etc.
}

\institute{F. Author \at
              first address \\
              Tel.: +123-45-678910\\
              Fax: +123-45-678910\\
              \email{[email protected]} % \\
% \emph{Present address:} of F. Author % if needed
           \and
           S. Author \at
              second address
}

\date{Received: date / Accepted: date}
% The correct dates will be entered by the editor


\maketitle

\lipsum[1-3]
\begin{strip}
\begin{equation}\label{key}
AcceptAcceptAccept AcceptAcceptAcceptAcceptAcceptAcceptAcceptAccept
\end{equation}
\end{strip}
\lipsum[1]

\end{document} 

在此处输入图片描述

相关内容