2.9BSD/usr/man/cat7/ms.7

Compare this file to the similar file:
Show the results in this format:


MS(7)               UNIX Programmer's Manual                MS(7)

NAME
     ms - macros for formatting manuscripts

SYNOPSIS
     nroff -ms [ options ] file ...
     troff -ms [ options ] file ...

DESCRIPTION
     This package of _n_r_o_f_f and _t_r_o_f_f macro definitions provides a
     canned formatting facility for technical papers in various
     formats.  When producing 2-column output on a terminal,
     filter the output through _c_o_l(1).

     The macro requests are defined below.  Many _n_r_o_f_f and _t_r_o_f_f
     requests are unsafe in conjunction with this package, how-
     ever these requests may be used with impunity after the
     first .PP:

          .bp   begin new page
          .br   break output line here
          .sp n insert n spacing lines
          .ls n (line spacing) n=1 single, n=2 double space
          .na   no alignment of right margin

     Output of the _e_q_n, _n_e_q_n, _r_e_f_e_r, and _t_b_l(1) preprocessors for
     equations and tables is acceptable as input.

FILES
     /usr/lib/tmac/tmac.s

SEE ALSO
     eqn(1), refer(1), tbl(1), troff(1)

REQUESTS
Request   Initial Cause Explanation
          Value   Break
.1C       yes     yes   One column format on a new page.
.2C       no      yes   Two column format.
.AB       no      yes   Begin abstract.
.AE       -       yes   End abstract.
.AI       no      yes   Author's institution follows.  Suppressed
                        in TM.
.AT       no      yes   Print `Attached' and turn off line fil-
                        ling.
.AU _x _y   no      yes   Author's name follows.  _x is location and
                        _y is extension, ignored except in TM.
.B _x      no      no    Print _x in boldface; if no argument
                        switch to boldface.
.B1       no      yes   Begin text to be enclosed in a box.
.B2       no      yes   End text to be boxed . print it.
.BT       date    no    Bottom title, automatically invoked at
                        foot of page.  May be redefined.

Printed 5/17/83                                                 1

MS(7)               UNIX Programmer's Manual                MS(7)

.BX _x     no      no    Print _x in a box.
.CS _x...  -       yes   Cover sheet info if TM format, suppressed
                        otherwise.  Arguments are number of text
                        pages, other pages, total pages, figures,
                        tables, references.
.CT       no      yes   Print `Copies to' and enter no-fill mode.
.DA _x     nroff   no    `Date line' at bottom of page is _x.
                        Default is today.
.DE       -       yes   End displayed text.  Implies .KE.
.DS _x     no      yes   Start of displayed text, to appear verba-
                        tim line-by-line.  _x=I for indented
                        display (default), _x=L for left-justified
                        on the page, _x=C for centered, _x=B for
                        make left-justified block, then center
                        whole block.  Implies .KS.
.EG       no      -     Print document in BTL format for
                        `Engineer's Notes.'  Must be first.
.EN       -       yes   Space after equation produced by _e_q_n or
                        _n_e_q_n.
.EQ _x _y   -       yes   Precede equation; break out and add
                        space.  Equation number is _y.  The
                        optional argument _x may be _I to indent
                        equation (default), _L to left-adjust the
                        equation, or _C to center the equation.
.FE       -       yes   End footnote.
.FS       no      no    Start footnote.  The note will be moved
                        to the bottom of the page.
.HO       -       no    `Bell Laboratories, Holmdel, New Jersey
                        07733'.
.I _x      no      no    Italicize _x; if _x missing, italic text
                        follows.
.IH       no      no    `Bell Laboratories, Naperville, Illinois
                        60540'
.IM       no      no    Print document in BTL format for an
                        internal memorandum.  Must be first.
.IP _x _y   no      yes   Start indented paragraph, with hanging
                        tag _x.  Indentation is _y ens (default 5).
.KE       -       yes   End keep.  Put kept text on next page if
                        not enough room.
.KF       no      yes   Start floating keep.  If the kept text
                        must be moved to the next page, float
                        later text back to this page.
.KS       no      yes   Start keeping following text.
.LG       no      no    Make letters larger.
.LP       yes     yes   Start left-blocked paragraph.
.MF       -       -     Print document in BTL format for
                        `Memorandum for File.'  Must be first.
.MH       -       no    `Bell Laboratories, Murray Hill, New Jer-
                        sey 07974'.
.MR       -       -     Print document in BTL format for
                        `Memorandum for Record.'  Must be first.
.ND _d_a_t_e  troff   no    Use date supplied (if any) only in

Printed 5/17/83                                                 2

MS(7)               UNIX Programmer's Manual                MS(7)

                        special BTL format positions; omit from
                        page footer.
.NH _n     -       yes   Same as .SH, with section number supplied
                        automatically.  Numbers are multilevel,
                        like 1.2.3, where _n tells what level is
                        wanted (default is 1).
.NL       yes     no    Make letters normal size.
.OK       -       yes   `Other keywords' for TM cover sheet fol-
                        low.
.PP       no      yes   Begin paragraph.  First line indented.
.PT       pg #    -     Page title, automatically invoked at top
                        of page.  May be redefined.
.PY       -       no    `Bell Laboratories, Piscataway, New Jer-
                        sey 08854'
.QE       -       yes   End quoted (indented and shorter)
                        material.
.QP       -       yes   Begin single paragraph which is indented
                        and shorter.
.QS       -       yes   Begin quoted (indented and shorter)
                        material.
.R        yes     no    Roman text follows.
.RE       -       yes   End relative indent level.
.RP       no      -     Cover sheet and first page for released
                        paper.  Must precede other requests.
.RS       -       yes   Start level of relative indentation.
                        Following .IP's are measured from current
                        indentation.
.SG _x     no      yes   Insert signature(s) of author(s), ignored
                        except in TM.  _x is the reference line
                        (initials of author and typist).
.SH       -       yes   Section head follows, font automatically
                        bold.
.SM       no      no    Make letters smaller.
.TA _x...  5...    no    Set tabs in ens.  Default is 5 10 15 ...
.TE       -       yes   End table.
.TH       -       yes   End heading section of table.
.TL       no      yes   Title follows.
.TM _x...  no      -     Print document in BTL technical memoran-
                        dum format.  Arguments are TM number,
                        (quoted list of) case number(s), and file
                        number.  Must precede other requests.
.TR _x     -       -     Print in BTL technical report format;
                        report number is _x.  Must be first.
.TS _x     -       yes   Begin table; if _x is _H table has repeated
                        heading.
.UL _x     -       no    Underline argument (even in troff).
.UX       -       no    `UNIX'; first time used, add footnote
                        `UNIX is a trademark of Bell Labora-
                        tories.'
.WH       -       no    `Bell Laboratories, Whippany, New Jersey
                        07981'.

Printed 5/17/83                                                 3