What's going on here, why are the TEXT
s not aligned?
\documentclass{article}
\usepackage{pbox}
\begin{document}
\hrule
\pbox[c][20pt][b]{\textwidth}{TEXT\\ Short}
\pbox[c][20pt][b]{\textwidth}{TEXT\\ Long Text}
\pbox[c][20pt][b]{\textwidth}{TEXT\\ Short}
\pbox[c][20pt][b]{\textwidth}{TEXT\\ Long Text}
\hrule
\end{document}
Best Answer
g
inLong
has a depth where as inShort
no letter has depth. This is why the misalignment comes. To correct it, you may add a\vphantom{g}
toShort
or\smash
theLong
(or onlyg
).