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

Herbert Schulz herbs at wideopenwest.com
Sun Sep 28 21:09:02 CEST 2008


On Sep 28, 2008, at 1:35 PM, Niels Kobschaetzki wrote:

> Hi!
>
> I tried now several attempts to get an automatic linebreak to work in
> a table. I tried tabularx and tabular(*) but I just do not get the
> content of the table on a page. I hate to admit it but those last 3 or
> 4 hours trying to make it work and googling around make me miss some
> word processors of several office-products.
> The table is:
>
> \begin{table}
> 	\footnotesize
> 	\begin{tabularx}{250pt}{|>{\hsize=1\hsize}X|>{\hsize=.5\hsize}X|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{tabularx}
> \caption{Defintion von KMU nach Industrie in Zahlen}
> \end{table}
>
> The table above is just the latest attempt to get it to work. Can
> anyone help me there?
>
> Niels

Howdy,

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.

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)






More information about the macostex-archives mailing list