GNU Info

Info Node: (groff)Changing Type Sizes

(groff)Changing Type Sizes


Next: Fractional Type Sizes Prev: Sizes Up: Sizes
Enter node , (file) or (file)node

Changing Type Sizes
-------------------

 - Request: .ps [size]
 - Request: .ps +size
 - Request: .ps -size
 - Escape: \sSIZE
 - Register: \n[.s]
     Use the `ps' request or the `\s' escape 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 unit of `size' is `z'.  If `size' is zero or negative, it
     is set to 1u.

     The read-only number register `.s' returns the point size in
     points as a decimal fraction.  This is a string.  To get the point
     size in scaled points, use the `.ps' register instead.

     `.s' is associated with the current environment (Note:
     Environments).


          snap, snap,
          .ps +2
          grin, grin,
          .ps +2
          wink, wink, \s+2nudge, nudge,\s+8 say no more!
          .ps 10

     The `\s' escape 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:

    `\sN'
          Set the point size to N points.  N must be either 0 or in the
          range 4 to 39.

    `\s+N'
    `\s-N'
          Increase or decrease the point size by N points.  N must be
          exactly one digit.

    `\s(NN'
          Set the point size to NN points.  NN must be exactly two
          digits.

    `\s+(NN'
    `\s-(NN'
    `\s(+NN'
    `\s(-NN'
          Increase or decrease the point size by NN points.  NN must be
          exactly two digits.

     Note: Fractional Type Sizes, for yet another syntactical form of
     using the `\s' escape.

     Some devices may only have certain permissible sizes, in which case
     `gtroff' rounds to the nearest permissible size.

 - Request: .vs [space]
 - Request: .vs +space
 - Request: .vs -space
 - Register: \n[.v]
     Change (increase, decrease) the vertical spacing by SPACE.  The
     default unit is `p'.

     If `vs' is called without an argument, the vertical spacing is
     reset to the previous value before the last call to `vs'.

     `gtroff' creates a warning of type `range' if SPACE is zero or
     negative; the vertical spacing is then set to the vertical
     resolution (as given in the `.V' register).

     The read-only number register `.v' contains the current vertical
     spacing; it is associated with the current environment (Note:
     Environments).


automatically generated by info2www version 1.2.2.9