[texhax] \vskip at beginning of file

Daniel H. Luecking luecking at uark.edu
Sun Jul 24 21:08:06 CEST 2016


Jim Diamond wrote:


>So.. does \topglue really care about preserving \prevdepth,
>or is it merely the case that \topglue (coincidentally) uses
>\vglue, and it is other uses of \vglue that care about
>preserving \prevdepth ?

The latter.


The use of \hrule at the top of page preserves the

value -1000pt of \prevdepth. For your purposes there

is no need for \topglue to save and restore \prevdepth.

However, \vglue can be used in situations where it might

or might not occur at the top of a page and so \vglue

goes through the save-restore process for those other

situations.


Cheers,


Daniel H. Luecking [luecking at uark.edu]
Graduate Coordinator
Department of Mathematical Sciences
1 University of Arkansas
Fayetteville, AR, USA 72701-1201
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texhax/attachments/20160724/c15463bf/attachment.html>


More information about the texhax mailing list