[texhax] current position in output
Uwe Lück
uwe.lueck at web.de
Sun Dec 28 04:10:23 CET 2008
At 01:36 28.12.08, tom sgouros wrote:
>I don't know if you'll get the precision you seem to be looking for, but
>you should try playing with \pagetotal, which is a length that marks
>where you are on the page (measured from the top), and creeps up (down)
>towards \pagegoal. When it gets to \pagegoal, the page-completing
>machinery clanks into action. Anyway, you might experiment with those
>and see if that can't get you where you hope to go. One little
>weirdness is that I think \pagegoal isn't set until something
>is applied to the page.
Indeed, on
\documentclass{article}
\begin{document}
A
\vspace{\textheight}
Z\the\pagetotal
\end{document}
Z appears with a large pt value, while it is very close to the top of the
second page.
>I am not aware of anything similar in the X direction, though.
So ain't I,
>Good luck,
indeed, I have always considered this more outright than `Happy TeXing',
requests on this list rather express that TeXing may be very painful ...
Cheers my dears
Uwe
More information about the texhax
mailing list