Wednesday, September 30, 2009

Multiple column layout in LaTeX

To create a multiple column layout in LaTeX is easy. What you need is the multicol package.
\usepackage{multicol}

For example, to create a two column layout.
\begin{multicols}{2}
put the contents here
\end{multicols}

To manually break the column, use the \columnbreak command.
\begin{multicols}{2}
Column 1 \columnbreak Column 2
\end{multicols}

If you are using standard LaTeX class, such as "article", you can simple create a two column layout using the code below:
\documentclass[twocolumn]{article}