psrequest or the
\sescape to change (increase, decrease) the type size (in points). Specify size as either an absolute point size, or as a relative change from the current size. The size 0, or no argument, goes back to the previous size.
Default scaling indicator of
sizeis ‘z’. If
sizeis zero or negative, it is set to 1u.
.sis associated with the current environment (see Environments).snap, snap, .ps +2 grin, grin, .ps +2 wink, wink, \s+2nudge, nudge,\s+8 say no more! .ps 10
\sescape may be called in a variety of ways. Much like other escapes there must be a way to determine where the argument ends and the text begins. Any of the following forms are valid:
- Set the point size to n points. n must be either 0 or in the range 4 to 39.
- Increase or decrease the point size by n points. n must be exactly one digit.
- Set the point size to nn points. nn must be exactly two digits.
- Increase or decrease the point size by nn points. nn must be exactly two digits.
\sdoesn't produce an input token in
gtroff. As a consequence, it can be used in requests like
mc(which expects a single character as an argument) to change the font on the fly:.mc \sx\s
See Fractional Type Sizes, for yet another syntactical form of using the
sizesrequest to change the permissible sizes for the current output device. Arguments are in scaled points; the
sizescaleline in the DESC file for the output device provides the scaling factor. For example, if the scaling factor is 1000, then the value 12000 is 12 points.
Each argument can be a single point size (such as ‘12000’), or a range of sizes (such as ‘4000-72000’). You can optionally end the list with a zero.
vsis called without an argument, the vertical spacing is reset to the previous value before the last call to
Note that ‘.vs 0’ isn't saved in a diversion since it doesn't result in a vertical motion. You explicitly have to repeat this command before inserting the diversion.
The read-only number register
.vcontains the current vertical spacing; it is associated with the current environment (see Environments).
The effective vertical line spacing consists of four components. Breaking a line causes the following actions (in the given order).
\xescapes with a negative argument in the current output line.
\xescapes with a positive argument in the line which has just been output.
It is usually better to use
pvs instead of
to produce double-spaced documents:
pvs have a
finer granularity for the inserted vertical space compared to
furthermore, certain preprocessors assume single-spacing.
See Manipulating Spacing, for more details on the
pvsis called without an argument, the post-vertical spacing is reset to the previous value before the last call to
gtroffcreates a warning of type ‘range’ if space is zero or negative; the vertical spacing is then set to zero.
The read-only number register
.pvscontains the current post-vertical spacing; it is associated with the current environment (see Environments).