CERN Accelerating science

This website is no longer maintained. Its content may be obsolete. Please visit http://home.cern/ for current CERN information.



next up previous
Next: Generalized parboxes and Up: LaTeXeAn Overview Previous: Moving boxes

Placing parboxes and minipages

In LaTeX 2.09, boxes, which can contain more than one paragraph are defined as follows.

\parbox[pos]{width}{text}{text}    [1mm]
\begin{minipage}[pos]{width}
text \end{minipage}

A simple example of its use is the following

\parbox{.3\linewidth}{This is the
 contents of the left-most parbox.}
\hfill Centerline \hfill
\parbox{.3\linewidth}{This is the right-most parbox.
 Note that the typeset text looks sloppy because 
 \LaTeX{} cannot nicely balance the material
 in these narrow columns.}



Janne Saarela
Wed May 17 14:38:58 METDST 1995