文章标题与摘要在同一页的两栏中,只有一栏摘要

文章标题与摘要在同一页的两栏中,只有一栏摘要

这应该是一个简单的问题,但我找不到错误。有了这些行,就会为摘要和标题创建两个不同的页面。我需要在同一页面上同时显示这两个页面,并且已经尝试过类似 的方法\nopagebreak

\documentclass[a4paper, 10pt, twocolumn]{article}


\usepackage[utf8]{inputenc}               
\usepackage[german]{babel}       

\begin{document}

\maketitle 

\twocolumn[ 
\begin{@twocolumnfalse}
    \begin{abstract}        
        ...
    \end{abstract}
\end{@twocolumnfalse} 
]

答案1

尝试这个。

% twocolproc.tex  SE 581632

\documentclass[a4paper, 10pt, twocolumn]{article}

\usepackage[utf8]{inputenc}               
\usepackage[german]{babel}    
\usepackage{lipsum}

\title{The Title}
\author{A. Writer}   

\begin{document}

\maketitle 

\let\oldclearpage\clearpage
\renewcommand{\clearpage}{} % \onecolumn starts with a \clearpage

\onecolumn
    \begin{abstract}        
       This is the abstract text for this document. It should be in one, not
       two columns.
    \end{abstract}
\twocolumn

\let\clearpage\oldclearpage  % restore \clearpage to its normal operation

\section{A section}
\lipsum[1]

\end{document}

编辑

由于第二列的文本与摘要的文本重叠,上述代码无法正常工作。下面的代码产生了合理的不重叠结果。

% twocolprob2.tex  SE 581632

\documentclass[a4paper, 10pt]{article}

\usepackage[utf8]{inputenc}               
\usepackage[german]{babel}    
\usepackage{lipsum}

% do this to get the original abstract typesetting
\renewenvironment{abstract}{%
  \small
  \begin{center}%
    {\bfseries \abstractname\vspace{-0.5em}\vspace{0pt}}%
  \end{center}%
  \quotation}
  {\endquotation}

\title{The Title}
\author{A. Writer}   

\begin{document}

% twocolumn but with one column text beforehand
\twocolumn[
\maketitle 
    \begin{abstract}        
       This is the abstract text for this document. It should be in one, not
       two columns as it is hopefully here.
    \end{abstract}
    \vspace{\baselineskip}
]

\section{A section}
\lipsum[1-3]

\end{document}

在此处输入图片描述

答案2

移至\maketitle适当位置:

\documentclass[a4paper, 10pt, twocolumn]{article}
\usepackage[T1]{fontenc}
\usepackage[german]{babel}

\usepackage{lipsum} % for mock text

\begin{document}

\title{Title}
\author{Author}

\twocolumn[
\begin{@twocolumnfalse}
  \maketitle
  \begin{abstract}
  This is the abstract.
  This is the abstract.
  This is the abstract.
  This is the abstract.
  This is the abstract.
  \end{abstract}
\end{@twocolumnfalse}
]

\lipsum

\end{document}

在此处输入图片描述

请注意,\usepackage[utf8]{inputenc}不再需要。另一方面,德语排版要求\usepackage[T1]{fontenc}

相关内容