1ME(7)                  Miscellaneous Information Manual                  ME(7)


6       me - macros for formatting papers


9       nroff -me [ options ] file ...
10       troff -me [ options ] file ...


13       This  package  of  nroff  and troff macro definitions provides a canned
14       formatting facility for technical papers in various formats.  When pro‐
15       ducing 2-column output on a terminal, filter the output through col(1).
17       The  macro  requests  are defined below.  Many nroff and troff requests
18       are unsafe in conjunction with this package,  however,  these  requests
19       may be used with impunity after the first .pp:
21              .bp     begin new page
22              .br     break output line here
23              .sp n   insert n spacing lines
24              .ls n   (line spacing) n=1 single, n=2 double space
25              .na     no alignment of right margin
26              .ce n   center next n lines
27              .ul n   underline next n lines
28              .sz +n  add n to point size
30       Output  of the eqn, neqn, refer, and tbl(1) preprocessors for equations
31       and tables is acceptable as input.


34       /usr/share/tmac/tmac.e
35       /usr/share/me/*


38       eqn(1), troff(1), refer(1), tbl(1)
39       -me Reference Manual, Eric P. Allman
40       Writing Papers with Nroff Using -me


43       In the following list, “initialization” refers to the first  .pp,  .lp,
44       .ip, .np, .sh, or .uh macro.  This list is incomplete; see The -me Ref‐
45       erence Manual for interesting details.
47                           Request      Initial Cause Explanation
48                                        Value   Break
49                           .(c          -       yes   Begin   centered   block
50                           .(d          -       no    Begin    delayed    text
51                           .(f          -       no    Begin           footnote
52                           .(l          -       yes   Begin               list
53                           .(q          -       yes   Begin  major  quote  .(x
54                           x        -       no    Begin indexed item in  index
55                           x  .(z          -       no    Begin  floating  keep
56                           .)c          -       yes   End    centered    block
57                           .)d          -       yes   End     delayed     text
58                           .)f          -       yes   End             footnote
59                           .)l          -       yes   End                 list
60                           .)q          -       yes   End     major      quote
61                           .)x          -       yes   End      index      item
62                           .)z          -       yes   End floating keep
63.++ m H      -       no    Define paper section.  m defines the  part  of  the
64                           paper,  and  can  be  C  (chapter), A (appendix), P
65                           (preliminary, e.g., abstract,  table  of  contents,
66                           etc.),  B  (bibliography),  RC (chapters renumbered
67                           from page one each chapter), or RA (appendix renum‐
68                           bered from page one).
69.+c  T        -       yes   Begin  chapter (or appendix, etc., as set by .++).
70                           T        is        the        chapter        title.
71                           .1c          1       yes   One  column  format on a
72                           new  page.   .2c          1       yes   Two  column
73                           format.    .EN          -       yes   Space   after
74                           equation  produced  by  eqn   or   neqn.    .EQ   x
75                           y      -       yes   Precede  equation;  break  out
76                           and add space.  Equation number is y.  The optional
77                           argument x may be I to indent equation (default), L
78                           to left-adjust the equation, or  C  to  center  the
79                           equation.   .GE          -       yes   End  gremlin
80                           picture.  .GS          -       yes   Begin  gremlin
81                           picture.   .PE          -       yes   End  pic pic‐
82                           ture.   .PS          -       yes   Begin  pic  pic‐
83                           ture.      .TE          -       yes   End    table.
84                           .TH          -       yes   End heading  section  of
85                           table.   .TS x        -       yes   Begin table; if
86                           x is H table has repeated heading.
87.ac A N      -       no    Set up for ACM style output.   A  is  the  Author's
88                           name(s),  N  is the total number of pages.  Must be
89                           given  before   the   first   initialization.    .b
90                           x         no      no    Print  x in boldface; if no
91                           argument switch to boldface.
92.ba +n       0       yes   Augments the base indent by n.  This indent is used
93                           to  set  the  indent  on  regular  text (like para‐
94                           graphs).  .bc          no      yes   Begin new col‐
95                           umn  .bi  x        no      no    Print  x  in  bold
96                           italics                (nofill                only)
97                           .bu          -       yes   Begin bulleted paragraph
98                           .bx  x         no      no    Print  x  in   a   box
99                           (nofill only).
100.ef ´x´y´z´  ´´´´    no    Set even footer to x  y  z
101.eh ´x´y´z´  ´´´´    no    Set even header to x  y  z
102.fo ´x´y´z´  ´´´´    no    Set footer to x  y  z
103.hx          -       no    Suppress  headers  and  footers  on next page.  .he
104                           ´x´y´z´  ´´´´    no    Set  header  to  x    y    z
105                           .hl          -       yes   Draw  a  horizontal line
106                           .i x        no      no    Italicize x; if  x  miss‐
107                           ing,     italic     text     follows.      .ip    x
108                           y      no      yes   Start indented paragraph, with
109                           hanging  tag  x.  Indentation is y ens (default 5).
110                           .lp          yes     yes   Start left-blocked para‐
111                           graph.
112.lo          -       no    Read  in  a  file  of local macros of the form .*x.
113                           Must    be     given     before     initialization.
114                           .np          1       yes   Start   numbered   para‐
115                           graph.
116.of ´x´y´z´  ´´´´    no    Set odd footer to x  y  z
117.oh ´x´y´z´  ´´´´    no    Set odd header to x  y  z
118.pd          -       yes   Print                 delayed                 text.
119                           .pp          no      yes   Begin  paragraph.  First
120                           line  indented.    .r           yes     no    Roman
121                           text follows.
122.re          -       no    Reset tabs to default values.
123.sc          no      no    Read  in a file of special characters and diacriti‐
124                           cal marks.  Must be  given  before  initialization.
125                           .sh  n  x     -       yes   Section  head  follows,
126                           font automatically bold.  n is level of section,  x
127                           is title of section.
128.sk          no      no    Leave the next page blank.  Only one page is remem‐
129                           bered ahead.  .sm x        -       no    Set x in a
130                           smaller pointsize.
131.sz +n       10p     no    Augment the point size by n points.
132.th          no      no    Produce  the paper in thesis format.  Must be given
133                           before initialization.
134.tp          no      yes   Begin           title           page.            .u
135                           x         -       no    Underline argument (even in
136                           troff).                (Nofill               only).
137                           .uh          -       yes   Like .sh but unnumbered.
138                           .xp x          -       no    Print index x.
1423rd Berkeley Distribution      October 23, 1996                          ME(7)