[texhax] [solved] Set depth to zero

David Carlisle d.p.carlisle at gmail.com
Wed Jul 11 23:05:33 CEST 2018


On 11 July 2018 at 20:33, Rodolfo Medina <rodolfo.medina at gmail.com> wrote:
> Philip Taylor <P.Taylor at Rhul.Ac.Uk> writes:
>
>> Rodolfo Medina wrote:
>
>>> I wish, in a particular text, to set to zero all the depths of all the boxes
>>> of all alphabetical characters, so that, e.g., the letter `g' were a box of
>>> depth zero just as the letter `h'...  I tried with \boxmaxdepth=0pt but
>>> nothing...  Is it possibile to do that and how...?  I want to do so because
>>> I want to completely stick-squash any line onto the line below...
>>
>> I don't know what "to completely stick-squash any line onto the line below"
>> means, but when I want to /ignore/ the depth of lines I tweak \lineskip &
>> \lineskiplimit.
>
>
> Fine...!  What I want seems to be done with:
>
> \def\sticksquashlines{\baselineskip0pt\lineskip-2pt\lineskiplimit0pt}


Are you _sure_ you want that setting???? You will get completely
uneven line spacing, lines with capital or accented letters with
larger baseline to baseline spacing than lines that do not.

>
> Thanks...,
>
> Rodolfo
>


More information about the texhax mailing list