Two-column text in LaTeX (twocolumn, multicol)

The class option twocolumn sets the whole document in two columns. For a part of a page, use the multicols environment of the multicol package; it takes the number of columns and balances their length.

Preamble

The snippets on this page need these lines before \begin{document}:

\usepackage{multicol}

Two columns in the whole document

With twocolumn, LaTeX fills the left column to the bottom of the page and then the right one. \newpage jumps to the next column, \clearpage to the next page.

Complete document:

\documentclass[twocolumn]{article}
\begin{document}
\section{Introduction}
The text starts in the left column.
\newpage
This text starts at the top of the right column.
\end{document}
Result
The compiled example

Open in the editor

Columns for a part of the page

\begin{multicols}{2} takes the number of columns. Text before and after the environment uses the full width, and the columns end at the same height.

This paragraph uses the full width of the page.

\begin{multicols}{2}
The text in the environment is split into two columns of the same
length. With three in the argument you get three columns.
The text goes on here so that both columns get a few lines.
\end{multicols}
Result
The compiled example

Open in the editor

Gap, rule and column break

\columnsep is the gap between the columns and \columnseprule the thickness of a line between them (0 pt by default, so no line). Both also apply to twocolumn. \columnbreak ends a column inside multicols.

\setlength{\columnsep}{1cm}
\setlength{\columnseprule}{0.4pt}
\begin{multicols}{2}
Text in the left column.
\columnbreak

Text in the right column.
\end{multicols}
Result
The compiled example

Open in the editor

A figure across both columns

In a twocolumn document, figure and table are one column wide. The starred forms figure* and table* span both columns and are placed at the top of a page, at the earliest on the page after the one where they appear in the source.

Complete document:

\documentclass[twocolumn]{article}
\usepackage{graphicx}
\begin{document}
\begin{figure*}
\centering
\includegraphics[width=0.8\textwidth]{image.png}
\caption{A figure as wide as both columns}
\end{figure*}
Text in the left column.
\end{document}
Result
Page 1 of the compiled examplePage 1
Page 2 of the compiled examplePage 2

Pitfalls

Compiled with pdfLaTeX from TeX Live 2023.

Related pages