# [OS X TeX] Tabulars

Peter Dyballa Peter_Dyballa at Web.DE
Wed Apr 13 20:28:16 EDT 2005

Am 14.04.2005 um 01:06 schrieb Alain Schremmer:

> ii. How do I make the first column narrower? I tried to get tabulary
> to do it for me but it does not like {*{4}{p{3cm}}} which would seem
> to make sense since, as far as I understand it, it puts all four
> columns at 3cm.

I just have a similiar problem with a very long table. The option
{*{4}{p{3cm}}}´ tells TeX to use 4 * (times) a paragraph or parbox
each 3cm wide for the text. To not spread short texts over the whole
width of the box you have to use \multicolumn. To narrow the first
column you can try:

\begin{tabular}{p{2cm}*{3}{p{3cm}}}
%Row0
\multicolumn{1}{l}{First semester}
&    \multicolumn{1}{c}{Math 165}

I recently came to

\begin{longtable}{rp{2.75cm}*{0}{>\raggedright}p{12.5cm}} % final for
tonight!

to get the last column ragged ... Oh yes: you have to use the array
package for this!

Next try will be like
\begin{longtable}{*{0}{>\raggedleft}p{3.75cm}p{2.75cm}*{0}{>\raggedright
}p{12.5cm}} ...

--
Greetings

Pete

--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
& FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>

`