Next: Input Line Traps, Up: Traps [Contents][Index]
A vertical position trap calls a macro when the formatter’s vertical drawing position reaches or passes, in the downward direction, a certain location on the output page or in a diversion. Its applications include setting page headers and footers, body text in multiple columns, and footnotes.
Enable or disable vertical position traps per Boolean expression
b.
They are enabled by default,
and if
b
is omitted.
Vertical position traps are those set by the
ch,
wh,
and
dt
requests.
Vertical position trap enablement is global.
The
read-only register
.vpt
stores its status.
A page can’t be ejected if vertical position traps are disabled.277
| • Page Location Traps | ||
| • The Implicit Page Trap | ||
| • Diversion Traps |