[OS X TeX] Automatic linebreak in table - just do not get it work

Herbert Schulz herbs at wideopenwest.com
Sun Sep 28 22:00:47 CEST 2008


On Sep 28, 2008, at 2:17 PM, Niels Kobschaetzki wrote:

> On Sun, Sep 28, 2008 at 9:09 PM, Herbert Schulz <herbs at wideopenwest.com 
> > wrote:
>
>> On Sep 28, 2008, at 1:35 PM, Niels Kobschaetzki wrote:
>
> <snip do not get tables with line break to work>
>
>
>> If you want text to wrap you should use the paragraph (p) column  
>> specifier.
>> It takes a single argument which is the width of the column.
>
> I changed it now to:
> \begin{table}[!hbt]
> 		\footnotesize
> 		\begin{tabular}{p{3cm}|p{3cm}|c|c|}
> 	Gewerbe & Kapitaleinlage & Angestellte (Mittelunternehmen) &
> Angestellte (Kleinunternehmen) \\
> 		produzierende Industrie, Baugewerbe, Untengy\={o} (fahrendes
> Gewerbe) & <300 Mio \yen (1,8 Mio \euro) & <300 Angestellte & <20\\
> 		Großhandel & <100 Mio \yen (ca. 600.000 \euro) & <100 & <5\\
> 		Serviceindustrie & <50 Mio \yen (ca. 300.000 \euro) & <100 & <5\\
> 		Kleinhandel & unter 50 Mio \yen (ca. 300.000 \euro) & <50 & <5\\
> 	\end{tabular}
> 	\caption{Defintion von KMU nach Industrie in Zahlen}
> 	\end{table}
>
> And it still is far away from working.
>
> Niels

Howdy,

What are you expecting? Wrapped text in narrow columns is almost  
always pretty ugly. You may try to make it ragged right by placing a  
\raggedright command before Gewerbe but even that is pretty ugly.

Can you give a complete but minimal document so we can know what  
packages you are loading?

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)



----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: http://www.esm.psu.edu/mac-tex/list/
List Archive: http://tug.org/pipermail/macostex-archives/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex



More information about the macostex-archives mailing list