Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Breaking a list into multiple columns in Latex

Tags:

latex

Hopefully this is simple: I have a relatively long list where each list item contains very little text. For example:

* a
* b
* c
* d
* e
* f

I wish to format it like so:

* a     * d
* b     * e
* c     * f

I would rather not create a table with 2 lists as I want to be able to easily change the list without worrying about updating all the columns.

What is the best way to do this in latex?

like image 851
carl Avatar asked Sep 09 '09 07:09

carl


People also ask

How do I split a column in a table in latex?

Column separationThe separation between the columns is specified by the command \columnsep Below is an example. In the example above, the command \setlength{\columnsep}{2cm} sets the column separation to 2cm.

How do I make two columns single column in latex?

Give the \onecolumn command just before the section whose structure you need to change (but this section has to start on a new page, that is, after a \newpage command). To switch back to 2 columns, use \twocolumn the same way.


1 Answers

Using the multicol package and embedding your list in a multicols environment does what you want:

\documentclass{article}
\usepackage{multicol}

\begin{document}
\begin{multicols}{2}
\begin{enumerate}
    \item a
    \item b
    \item c
    \item d
    \item e
    \item f
\end{enumerate}
\end{multicols}
\end{document}
like image 81
las3rjock Avatar answered Oct 14 '22 16:10

las3rjock