I want vertically centered text in a simple table like this:
\documentclass{article}
\usepackage{array}
\newcolumntype{Z}{>{\centering\arraybackslash}m{0.2cm}}
\begin{document}
\begin{tabular}{|Z|Z|Z|Z|}
\hline
4 & 3 & 2 & 1 \\
\hline
\end{tabular}
\end{document}
but the text is not vertically centered, it almost touches the upper hline. What should I do to fix this?