# Disable two column mode for separate part

I am writing a document using the report class in two column mode, but I need a \section to spread across both columns, but how can I set that?

Something like

\documentclass[10pt,danish,a4paper,twoside,twocolumn]{report}
\input{preamble.tex}
\begin{document}

% This section should spread over both columns
\section{Name}

\lipsum[1-3]
\end{document}


There is a switch: \onecolumn:

\documentclass[10pt,a4paper,twoside,twocolumn, english]{report}
\usepackage{lipsum, babel}
%\input{preamble.tex}
\begin{document}
\lipsum

% This section should spread over both columns
\onecolumn
\section{Name}

\lipsum[1-3]
\end{document}


But the section has to start on a new page. Go back to twocolumn with? Yes, \twocolumn.

• Can I do it without starting a new page? Dec 28, 2012 at 18:26
• Only if you use the multicol package. You know how to get the manual? Type texdoc multicol on the commandline. Beware: the name of the environment is »multicols«. Dec 28, 2012 at 18:29
• So if I write the Whole page in multicol, I can change it on one section of a page? Or it is also going to display 2 pages? Dec 28, 2012 at 18:57
• @AriB.Friedman Just to let you know (maybe you already do), the correct way to have a table spreading accross two columns is using \begin{table*} and figures with \begin{figure*}, with their corresponding ends.
– Hans
Dec 9, 2016 at 1:45
• For listings, use float=*t if you want the code snippet to span across two columns (in a two column document). Ref e.g.: \lstinputlisting[caption = test,label = test, float=*t]{test_code.py} Sep 27, 2021 at 18:18