TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I added \threecolumn but it doesn't work.

What command will change the document layout to three column format with dividers visible like the following illustration?

---------HEADER---------
###### | ###### | ######
###### | ###### | ######
###### | ###### | ######
###### | ###### | ######
###### | ###### | ######
###### | ###### | ######
---------FOOTER---------
share|improve this question
up vote 12 down vote accepted

You can use the multicol package to do this. It's manual is typeset in three column format! (at least the first half). A separation line can be added by setting the \columnseprule length.

\documentclass{article}

\usepackage{multicol}
\usepackage{lipsum}% dummy text

\setlength{\columnseprule}{0.4pt}

\begin{document}
\begin{multicols}{3}

\section{Test}
\lipsum
\section{Test}
\lipsum
\section{Test}
\lipsum


\end{multicols}
\end{document}
share|improve this answer
    
Thank you for the hint. I am using pictures with \includegraphics[width=1.0\textwidth] and they are not handled correctly with multicol which renders the package unusable for me. Is there another package or a workaround for this issue? – gentlesea Mar 4 at 8:34
\documentclass[a5paper]{article}
\usepackage[english]{babel}
\usepackage{blindtext}
\usepackage{multicol}
\setlength\columnseprule{0.5pt}
\begin{document}

\begin{multicols}{3}
\blindtext
\end{multicols}

\end{document}

enter image description here

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.