I want to add additional spacing to table rows/cells for a tabularx. However, after setting \arraystretch to something larger than 1 and setting \tabularxcolumn to m (see below), I notice that the content is somewhat vertically centered but shifted considerably down, i.e. below the vertical center of each cell.
How I correctly center this?
\documentclass[a4paper,11pt]{article}
\usepackage{tabularx}
\pagenumbering{gobble}
\renewcommand\tabularxcolumn[1]{m{#1}}
\renewcommand\arraystretch{5}
\begin{document}
\begin{tabularx}{\textwidth}{|X|X|}
\hline
hello & world \\
\hline
hello & x\vspace{20ex}\newline world \\
\hline
\end{tabularx}
\end{document}
I've found some answers that hack some seemingly random spacing to the top. However, this doesn't appear to address this particular issue. At least I don't see a general solution by adding a fixed space of e.g. {-1ex} as the spacing appears to depend on the content size. If my eyes play tricks on me and the offset is indeed constant, how do I determine the exact offset?
Edit: cellspace does NOT appear to work in my context. These are the troubles with a minimal working example, I guess.



