[OS X TeX] Two columns

Bob Kerstetter bkerstetter at mac.com
Wed Mar 24 13:54:36 EST 2004


I also use minipage, but like this, because fixed widths make me 
sneeze. :)


\documentclass[11pt]{article}
\begin{document}

\begin{minipage}[t]{.45\linewidth}

This is the column one stuff. It  is just enough stuff to make it wrap.

\end{minipage}\hfill %\hfill uses left overs as a gutter
%
% no blank lines permitted here. try it to see why.
%
\begin{minipage}[t]{.45\linewidth}

This is the column two stuff. It  is just enough stuff to make it wrap.

\end{minipage}

\end{document}



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.
&

\
& % 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}




On Mar 24, 2004, at 8:14 AM, Jean-Claude DE SOZA wrote:

> I use the minipage environment :
>
> \begin{minipage}[t][20cm]{11cm}
>
> \end{minipage}
> \hspace{0.5cm}
> \begin{minipage}[t][20cm][t]{6cm}
>
> \end{minipage}
>
> Jean-Claude De Soza
> Le 24 mars 2004, à 11:11, George Ghio a écrit :
>
>> Hi. I need a bit of help. Yeah I know "So what else is new"
>>
>> I want to have a page layout that allows two columns of text. The 
>> trick is that each column must be independent of the other. In other 
>> words I want to be able to type in each column to provide a 
>> comparative critique of two books so it is no good that the left 
>> column jump to the right column at the end of the page. I think that 
>> I need to use something other than multicol to do this. Would I be 
>> right to think that a two column table might be a better choice.
>>
>> Hope this is clear enough. Too many late nights near deadline.
>>
>> Thank you for any suggestions.
>>
>> George L Ghio
>> Solar Power Consultant
>> and Would be Author
>>
>> -----------------------------------------------------
>> Please see <http://www.esm.psu.edu/mac-tex/> for list
>> guidelines, information, and LaTeX/TeX resources.
>>
>>
>
> -----------------------------------------------------
> Please see <http://www.esm.psu.edu/mac-tex/> for list
> guidelines, information, and LaTeX/TeX resources.
>
>

-----------------------------------------------------
Please see <http://www.esm.psu.edu/mac-tex/> for list
guidelines, information, and LaTeX/TeX resources.





More information about the MacOSX-TeX mailing list