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 am creating table in LaTeX and I need to get the text to perform line break automaticaly when it's too long. And if possible, I'd like to get the text alignment to the left. Is it possible to handle this situation?

share|improve this question

migrated from stackoverflow.com May 9 '11 at 17:31

This question came from our site for professional and enthusiast programmers.

up vote 5 down vote accepted

LaTeX needs to know where it should break the line, so you have to specify the width of the cell. You could use p columns, such as:


Similar to a parbox of 3 cm width, the text is automatically wrapped and left aligned. Even more, it's fully justified.

Here's an example:

left & centered & right & a fully justified paragraph cell\\
  l & c & r & p\\

enter image description here

Note: those separation lines are just for showing the cell dimensions, I don't recommend to use such lines in tables, especially not the vertical ones.

You can see this and further examples of tables and explanation here: Creating tables with LaTeX.

share|improve this answer

Do not break lines. Simply use next row of the table and don't put \hline between them. If you want to manage vertical alignment of text, you can use multirow package.

See this page for an example: http://andrewjpage.com/index.php?/archives/43-Multirow-and-multicolumn-spanning-with-latex-tables.html

share|improve this answer

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.