March 2011
Beginner
336 pages
7h 42m
English
We will use the minipage environment instead of \parbox to get a text with a width of just 3 cm.
\documentclass{article}
\begin{document}
\begin{minipage}{3cm}
TUG is an acronym. It means \TeX\ Users Group.
\end{minipage}
\end{document}
By using \begin{minipage}, we started a "page in a page". We specified the width of 3cm by the mandatory argument. From this point onwards, the text lines will have a width of 3cm. They will be automatically wrapped and fully justified. We ended this restriction with ...
Read now
Unlock full access