I want to change the baseline of a box so that the depth of the box is equal to that of a letter with a descender in the current font. So far I have only been successful in setting the baseline to the bottom of the box by wrapping the box in a \vbox and using \vtop, but this isn't exactly what I want.
\documentclass{article}
\def\aberrantbox{\vrule height8pt depth5pt width5pt}
\begin{document}
Line \aberrantbox \vtop{\vbox{\hbox{\aberrantbox}\kern 0pt}}.
\end{document}
I tried various combinations of \smash and \phantom but I couldn't make it work.


\newcommand\abox{\vrule height\ht\strutbox depth\dp\strutbox width5pt} \newcommand\bbox{\setbox8=\hbox{q}\setbox9=\hbox{d}\vrule height\ht9 depth\dp8 width5pt}with the left box set using\aboxand the right with\bbox. I don't understand what you mean by "without changing the total height"... – Werner Jan 06 '16 at 22:21\vphantom{qb},\vphantom{XQ}and\vphantom{()}since different fonts have different designs with heights/depths of ascenders, descenders, and fences; those examples should give you an idea of what's an appropriate setting.. – barbara beeton Jan 06 '16 at 22:26