TROFF(5)

NAME
troff - description of output language

DESCRIPTION
Output from troff is pure ASCII written in the following language:

[s n]
Use point size
    n.

    [f n]
Use the font mounted at position
    n.

    [c x]
Print
    ASCII character x at the current position.

    [C xy]
Print special character
    xy at the current position.

    [H n]
Absolute horizontal move to position
    n.

    [h n]
Relative horizontal move of
    n units.

    [V n]
Absolute vertical move to position
    n (down is positive).

    [v n]
Relative vertical move of
    n units.

    [ nnx]
Move
    nn units horizontally then print ASCII character x.

    [n b a]
End of a line.

    [p n]
Begin page
    n.

    [# ]
Comment to the end of the line.

    [Dl dx dy]
Line from current point
    (x, y) to point (x+dx, y+dy).

    [Dc d]
Circle od diameter
    d with left side at the current point.

    [De dx dy]
Ellipse with axes
    dx and dy and left side at the current point.

    [Da dx1 dy1 dx2 dy2]
Counterclockwise arc from current point
    (x, y) to (x+dx1+dx2, y+dy1+dy2).
    Center of the circle is (x+dx1, y+dy1).

    [D~ dx1 dy1 dx2 dy2 ]
B-spline from current point
    (x, y) to (x+dx1, y+dy1),
    then to (x+dx1+dx2, y+dy1+dy2).

    [x init]
Initialize the typesetter.

    [x T device]
The name of the typesetter is
    device.

    [x res n h v]
Typesetter resolution is
    n.

    [x stop]
Stop; done forever.

    [x trailer]
Generate a trailer.

    [x font n name]
Mount font
    name at position n.

    [x Height n]
Set character height to
    n points.

    [x Slant n]
Set character slant to
    n degrees.

SEE ALSO
troff(1)

REFERENCE
B. W. Kernighan and J. F. Ossanna, Troff User's Manual