我正在努力适应此解决方案如下所示,有多位作者和多个附属机构:
改为一种格式,标题和作者在第一页顶部的单列中,但常规文本则分两列。请参阅本文底部的原始模板快照。
我尝试\onecolumn
在作者和标题所属之前插入,然后立即切换回\twocolumn
,但 LaTeX 在呈现常规文本(摘要等)之前创建了一个完整的分页符。我该如何避免这个分页符?
\documentclass{article}
\usepackage{spconf,amsmath,graphicx}
\usepackage{url}
\usepackage{amssymb}
\usepackage{caption}
\usepackage[labelformat=simple]{subcaption}
\usepackage{calc}
\usepackage{enumitem}
\usepackage{kantlipsum}
\usepackage{array}
\newcommand\Mark[1]{\textsuperscript#1}
\begin{document}
\onecolumn
\begingroup
\centering
{\LARGE The Title \\[1.5em]
\large First Author\Mark{1}, Second Author\Mark{2}, Third Author\Mark{1}, Fourth Author\Mark{2} and Fifth Author\Mark{3}}\\[1em]
\begin{tabular}{*{2}{>{\centering}p{.25\textwidth}}}
\Mark{1}Department1 & \Mark{2}Department2 \tabularnewline
School1 & School2 \tabularnewline
\url{email1} & \url{email2}
\end{tabular}\par
\twocolumn
\endgroup
\begin{abstract}
This text should be back in two columns
\end{abstract}
\end{document}
答案1
将标题材料放入可选参数中\twocolumn
。在示例中,我仅使用所需的特定包。
唯一要注意的一点是[]
代码中多了一对括号。
\documentclass[twocolumn]{article}
\usepackage{array,url,kantlipsum}
% \Mark is probably provided by spconf, that I don't have
\newcommand{\Mark}[1]{\textsuperscript{#1}}
\begin{document}
\twocolumn[{%
\centering
\LARGE The Title \\[1.5em]
\large First Author\Mark{1},
Second Author\Mark{2},
Third Author\Mark{1},
Fourth Author\Mark{2}
and Fifth Author\Mark{3}\\[1em]
\normalsize
\begin{tabular}{*{2}{>{\centering}p{.25\textwidth}}}
\Mark{1}Department1 & \Mark{2}Department2 \tabularnewline
School1 & School2 \tabularnewline
\url{email1} & \url{email2}
\end{tabular}\\[3em] % some more space after the title part
}]
\begin{abstract}
This text should be back in two columns
\end{abstract}
\section{Introduction}
\kant
\end{document}