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

Please, how to break headers titles in a table ?

{title one} & {title two}   \\ \hline\hline

Thank you.

share|improve this question
up vote 5 down vote accepted

You can use \parboxes with line changing commands; inside the boxes you can use \centering to center the contents:



\parbox[t]{2cm}{\centering title \\ one} & \parbox[t]{2cm}{\centering title \\ two} \\[3ex]
some text & some text \\
some text & some text \\


enter image description here

I used the vertical rules as visual reference points. On a side note, with such narrow columns, you could consider setting them ragged right.

share|improve this answer
Thank you so much, it works :) please, one more question how can center the titles in the cellule ? – researcher Aug 31 '12 at 22:47
@researcher You're welcome" For your new requirement, see my updated answer; I assumed you wanted to center only the title cells; if you wanted to center all the column, let me know. – Gonzalo Medina Aug 31 '12 at 22:53
Thank you so much for help :), yes how center all the column ? – researcher Sep 1 '12 at 9:09
@researcher load the array package: usepackage{array} and instead of p{2cm} use >{\centering\arraybackslash}p{2cm} – Gonzalo Medina Sep 1 '12 at 13:37
thank you so much Gonzalo :) my table is well, but i have a little problem, i have one title of coloumn is a bit long so it is written on the table row, i wish you understand me .. – researcher Sep 1 '12 at 21:03

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.