\settodepth

\settodepth{len-cmd}{text}

The \settodepth command sets the value of a length command, len-cmd, which is specified as the first argument, equal to the depth (distance below the baseline) of the text argument in the current font.


See Lengths