13

How to center text vertically in this table?

\begin{center}
  \begin{tabularx}{\linewidth}{ | c | X | X | }
    \hline
      \textbf{Date} & \textbf{Name} & \textbf{Sign} \\
    \hline
      31.03.2013 & & \\
    \hline
  \end{tabularx}
\end{center}

Changing package is not a solution for me. How to do it in tabularx?

David Carlisle
  • 757,742
marxin
  • 345

1 Answers1

27
\def\tabularxcolumn#1{m{#1}}

defines the X column to use m (\parbox[c]) instead of p (`parbox[t]`).

David Carlisle
  • 757,742