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 have a two-column tabular environment and I'd like for both of these columns to have the text aligned at its middle (both vertically and horizontally), along with increased row height:

But with the following input:

Problem & $\beta$ \\[0.2cm]
LCR-1 & 0.25 \\ [0.2cm]
LCR-10 & 0.05 \\ [0.2cm]
LCR-0.2 & 0.575 \\ [0.2cm]
Airplane & 0.05 \\ [0.2cm]
DR & 0.27 \\[0.2cm]

Only the first column is as required. The text in the second column is still aligned at top left.

Any hints?

share|improve this question
up vote 2 down vote accepted

\begin{tabular}{ C{1.8cm} | C{1cm} }
Problem & $\beta$ \\\hline
LCR-1 & 0.25      \\\hline
LCR-10 & 0.05     \\\hline
LCR-0.2 & 0.575   \\\hline
Airplane & 0.05   \\\hline
DR & 0.27


enter image description here

share|improve this answer

Those [0.2cm] are responsible for the wrong vertical alignment. You could remove those and use \arraystretch instead, such as


If you do that within the center environment, the effect will be local, i.e. it will not affect the rest of the document. Here, used after \begin{center} its effect ends with the environment by \end{center}.

For horizontal centering you could use >{\centering}m{1cm} or even better, use Herberts suggestion requiring ragged2e.

Further suggestions:

  • Use the booktabs package for better spacing and improved customizable horizontal lines

  • Avoid vertical lines, they make reading harder

  • Align at decimal points instead of centering, for example using siunitx, rccol or dcolumn

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.