Why won't this work? I need to see \prevdepth of a box (or a line in a paragraph).
\documentclass[varwidth]{standalone}
\begin{document}
\fbox{hello world}\the\prevdepth
%hello world\the\prevdepth % WON'T WORK EITHER
\end{document}
\documentclass[varwidth]{standalone}
\begin{document}
\fbox{hello world}\the\prevdepth
%hello world\the\prevdepth % WON'T WORK EITHER
\end{document}