# [texhax] Set depth to zero

Rodolfo Medina rodolfo.medina at gmail.com
Thu Jul 12 11:04:45 CEST 2018

```David Carlisle <d.p.carlisle at gmail.com> writes:

>> 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
> 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?

Sorry...  I'll better clear it to myself and write back...  I thought the
baseline was `below' the box depth, which isn't.   Thanks...

Rodolfo

```