[Tex/LaTex] Vertical alignment in tabularx X column type

tablestabularxvertical alignment

I'd like to create a new column type which works exactly like a X column from tabularx but that also has the text vertically centered. I tried with the newcolumntype command but I can't figure out where to put the second column type? Example:

\newcolumntype{n}{>{\centering\arraybackslash}X}

Where should I put the mto specify that the cells content should be vertically centered?

Best Answer

The example in the tabularx documentation is

\renewcommand{\tabularxcolumn}[1]{>{\small}m{#1}}

Then use X as usual.