# [texhax] how to use \pagefillstretch and its relatives

Stan texforeverything at att.net
Wed Apr 20 02:27:49 CEST 2011

On Tue, 19 Apr 2011 08:06:13 -0500, William Adams <will.adams at frycomm.com>
wrote:

> On Apr 16, 2011, at 12:04 PM, Stan wrote:
>
>> I set up the macros so the difference in \pagetotal, \pageshrink, and
>> \pagestretch between each skipped block are written to a file that's
>> imported into the incomplete version and used to determine how much
>> skip to insert.  I'm not getting the information from the stretches
>> that I want when there's infinite stretching in a block that should be
>> skipped in the incomplete version.  (I tried including \pagefilstretch
>> etc. separately, but that didn't help.)
>
> Is there a reason why you can't just set a toggle for whether or no the
> material is placed in a \vphantom{} macro?

Using \vphantom doesn't allow display math, for example, in its argument,
since it's put in an \hbox.