# [OS X TeX] Two columns

Maarten Sneep maarten.sneep at xs4all.nl
Wed Mar 24 14:11:49 EST 2004

On 24 mrt 2004, at 19:54, Bob Kerstetter wrote:

> If you need to go across page breaks, try this:
>
> \documentclass[11pt]{article}
> \usepackage{longtable}
> \begin{document}
>
> \begin{longtable}{p{.45\linewidth} c p{.45\linewidth}}
>
> This is the column one stuff. It is just enough stuff to make it wrap.
> &
>   % this is the empty central gutter
> & % there is probably some better way to get a gutter.
>
> This is the column two stuff. It is just enough stuff to make it wrap.
>
> \end{longtable}
> \end{document}

Hey, that is almost what I suggested ;)

The difference is your "there is probably some better way to get a
gutter", as I use an @{} specifier. The @{} gets inserted between the
columns, using @{\hfill} pushes both columns out to the edges. You
might even want to use:

\begin{longtable}{@{}p{.45\linewidth}@{\hfill}p{.45\linewidth}@{}}

as it removes all automatically inserted space between columns (see p.
108-109 of the old LaTeX Companion, if you have it).

Maarten

-----------------------------------------------------