# [texhax] Set depth to zero

David Carlisle d.p.carlisle at gmail.com
Thu Jul 12 10:19:21 CEST 2018

```> It seems to me that it's not possible to achieve what I was asking (well, just
> an experiment...), i.e. nullify the depth of text lines; or, in other words,
> set \baselineskip to the mere `height' of lines: height, without their depth,
> that's zero for `a', `m', and not zero for `g', `p', etc...  In that case, the
> valour of \baselineskip should be different for different lines, with or
> without capital letters in them...  and equal to the line height that's
> variable.  It doesn't seem that TeX has a way to do that...
>
> Rodolfo
>

It isn't at all clear what your intended effect is. \baselineskip is a
target baseline-to-baseline spacing and the actual skip added adjusts
automatically depending on the depth of the previous line and the
height of the current line so what do you want TeX to do if "treating
the depth of the previous line as zero" ignore that depth and add too
much space so increasing the baseline to baseline space by the depth
of the previous line, or do what it does normally and maintain a
constant baseline spacing?

David
```