I am trying to adapt this solution, shown below, of multiple authors and multiple affiliations:
to a format where, title and authors go in single column at the top of the first page, but the regular text flows in two columns. See a snapshot of the original template at the bottom of this post.
I tried inserting \onecolumn
prior to the author and title affiliations, and then immediately switching back to \twocolumn
, but LaTeX creates a full page break before the regular text (abstract etc) is rendered. How can I avoid this page break?
\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}
\documentclass
and ending with\end{document}
) that generates the problem you're looking to fix. Please be sure to also indicate how the\Mark
macro is defined.