TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to define a few table columns with fixed width, just like p{2cm}, but I prefer the text to be flushed left, instead of justified. So basically something like l{2cm}.

Is there a way to achieve that without having to touch every cell?

share|improve this question
up vote 7 down vote accepted

\newcolumntype{L}[1]{>{\RaggedRight}p{#1}}% with hyphenation
\newcolumntype{M}[1]{>{\raggedright\arraybackslash}p{#1}}% without hyphenation

\blindtext & \blindtext


enter image description here

share|improve this answer
remember \arraybackslash or ` \\ ` will not work (can someone please markup \\? – daleif Jun 30 '11 at 7:33
right, I edited the answer – Herbert Jun 30 '11 at 7:38
I would do it in both, then the order does not matter for the user – daleif Jun 30 '11 at 10:54
@daleif: it is one of the nice features of ragged2e that \RaggedRight does it for me ... ;-) – Herbert Jun 30 '11 at 12:08

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.