[texhax] \vsplit-ting and aligning boxes
David Carlisle
d.p.carlisle at gmail.com
Wed Jun 27 21:20:28 CEST 2018
On 27 June 2018 at 17:22, Rodolfo Medina <rodolfo.medina at gmail.com> wrote:
> David Carlisle <d.p.carlisle at gmail.com> writes:
>
>> sorry you want
>>
>> \splittopskip=12pt
>> \setbox2=\vsplit0 to 9cm
>> \setbox4=\vsplit0 to 8cm
>> \setbox6=\vsplit0 to 7cm
>
> Fine, that works...! But why just 12? And not any other value?
box2's top baseline is based on \baselineskip which is 12pt in plai
setting splittopskip to the same makes the second two match.
>
>
>> so they all have 12pt as the top baselineskip
>>
>> Note you also have loads of missing characters
>>
>> Missing character: There is no � in font cmr10!
>> Missing character: There is no � in font cmr10!
>> Missing character: There is no � in font cmr10!
>> Missing character: There is no � in font cmr10!
>> Missing character: There is no � in font cmr10!
>> Missing character: There is no � in font cmr10!
>> Missing character: There is no � in font cmr10!
>> Missing character: There is no � in font cmr10!
>> Missing character: There is no � in font cmr10!
>>
>> But I assume your real document handles that.
>
>
> Strange, I don't notice anything.
check your log file (missing characters are not echoed to the
terminal, only the log)
>
>
>> the spacing of the positioned box on the page then needs to be
>> adjusted with a negative vskip to adjust for the fact that you have
>>
>> 10pt topskip
>
> Did you mean 12pt?
no \topskip is 10pt in plain
>
>
>> hbox with vboxes with first line height 12pt
>>
>> instead of the usual
>>
>> 10pt - height of first line topskip
>> first line of text
>
>
> Instead of \vskip, I had to use \vglue, but it seems all right now.
yes depends where you add it, or maybe use \topglue which is same but
subtracts \topskip
>
> Cheers,
>
> Rodolfo
David
More information about the texhax
mailing list