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

Row 1 has one line and centered for each cell.

Row 2. Column 1 has two (2) lines. each line centered.
Row 2. Column 2 has one line. centered horizontal and vertical.
Row 2. Column 3 has text wrapping.justified.

Row 3 and 4 repeat Row 1.

share|improve this question
Welcome to TeX.sx! Although your question has an answer, please add a minimal working example (MWE) that illustrates your problem, or what you have that you want to fix. This is a good idea for virtually all questions here. There is also no need to put a thanks in your question. Thanks is best expressed with upvotes, and it is the style here not to put it into the question. – qubyte May 2 '12 at 11:20
In addition to Harish Kumar's excellent answer, there are several other good answers to an old question over in StackOverflow: How to wrap text in LaTeX tables? – Mars Aug 28 '13 at 22:09


one & two & three \\\hline
This is two line thing and centered & only one line&  \multicolumn{1}{m{3cm}|}{This is justified and may go to second line as well, neatly}\\\hline
  one & two & three \\\hline
  one & two & three \\\hline

enter image description here

share|improve this answer

Thanks for your answer, it inspired me to make some custom column-types, and I'd love to share them.

    \begin{tabular}{ | C{0.45\textwidth} | C{0.45\textwidth} | }
        Correct (from the reader) & Experimental (HyperChem) \\ \hline
    \begin{tabular}{ | L{0.45\textwidth} | m{0.45\textwidth} | }
        \includegraphics[width=0.45\textwidth]{as1correlationcorrect} & \includegraphics[width=0.45\textwidth]{as1correlationbondorderbonddissociationenergyexperiment} \\ \\

        \textbf{Figure 3: }Correlation between bond-order and Dissociation Energy, with the literature-experiment values for D\(_0\). & \textbf{Figure 4: }Correlation between bond-order and Dissociation Energy, with the computer-experiment values for D\(_0\).

        \\ \hline

result of tabular

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.