# [texhax] justify columns in longtable

Sarah Bluhme sarah.bluhme at itg.uni-muenchen.de
Mon Feb 28 15:37:45 CET 2005

Hello,

I was wondering if someone can help me with a Latex problem. Using the
tabular or longtable environment, I have columns that are word-wrapped
like the second one here:

\begin{longtable}{|l|p{3cm}|}

My problem is that the text in it is justified on both sides which looks
awful in a relatively narrow column which may only be wide enough for 2
or 3 words. How can I insert the \raggedright (or some other) command to
take effect over the whole column?

Many thanks,

Sarah Bluhme