[Tex/LaTex] Paragraph column in tabular working only in the first column

horizontal alignmenttablesvertical alignment

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:

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

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

Any hints?

Best Answer

\documentclass[11pt]{article}
\usepackage{array,ragged2e}
\newcolumntype{C}[1]{>{\Centering}m{#1}}
\begin{document}

{\def\arraystretch{1.5}
\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
\end{tabular}}

\end{document}

enter image description here

Related Question