1 .\" Copyright (c) 1980, 1993
2 .\" The Regents of the University of California. All rights reserved.
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
7 .\" 1. Redistributions of source code must retain the above copyright
8 .\" notice, this list of conditions and the following disclaimer.
9 .\" 2. Redistributions in binary form must reproduce the above copyright
10 .\" notice, this list of conditions and the following disclaimer in the
11 .\" documentation and/or other materials provided with the distribution.
12 .\" 3. All advertising materials mentioning features or use of this software
13 .\" must display the following acknowledgement:
14 .\" This product includes software developed by the University of
15 .\" California, Berkeley and its contributors.
16 .\" 4. Neither the name of the University nor the names of its contributors
17 .\" may be used to endorse or promote products derived from this software
18 .\" without specific prior written permission.
20 .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
21 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
24 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32 .\" @(#)me.7 8.1 (Berkeley) 6/5/93
35 .TH ME 7 "June 5, 1993"
38 me \- macros for formatting papers
52 macro definitions provides a canned formatting
53 facility for tech%nical papers in various formats.
54 When producing 2-column output on a terminal, filter
58 The macro requests are defined below.
63 requests are unsafe in conjunction with
64 this package, however, these requests may be used with
65 impunity after the first .pp:
70 \&.br break output line here
71 \&.sp n insert n spacing lines
72 \&.ls n (line spacing) n=1 single, n=2 double space
73 \&.na no alignment of right margin
74 \&.ce n center next n lines
75 \&.ul n underline next n lines
76 \&.sz +n add n to point size
86 for equations and tables is acceptable as input.
92 eqn(1), troff(1), refer(1), tbl(1)
94 \-me Reference Manual, Eric P. Allman
96 Writing Papers with Nroff Using \-me
99 In the following list,
100 \*(lqinitialization\*(rq
101 refers to the first .pp, .lp, .ip, .np, .sh, or .uh macro.
102 This list is incomplete;
104 .I "The \-me Reference Manual"
105 for interesting details.
107 .ta \w'.eh \'x\'y\'z\' 'u +\w'Initial 'u +\w'Cause 'u
115 Request Initial Cause Explanation
121 \&.(c - yes Begin centered block
123 \&.(d - no Begin delayed text
125 \&.(f - no Begin footnote
127 \&.(l - yes Begin list
129 \&.(q - yes Begin major quote
131 \&.(x \fIx\fR - no Begin indexed item in index
134 \&.(z - no Begin floating keep
136 \&.)c - yes End centered block
138 \&.)d - yes End delayed text
140 \&.)f - yes End footnote
144 \&.)q - yes End major quote
146 \&.)x - yes End index item
148 \&.)z - yes End floating keep
150 \&.++ \fIm H\fR - no Define paper section.
152 defines the part of the paper, and can be
158 (preliminary, e.g., abstract, table of contents, etc.),
162 (chapters renumbered from page one each chapter),
165 (appendix renumbered from page one).
167 \&.+c \fIT\fR - yes Begin chapter (or appendix, etc., as
170 is the chapter title.
172 \&.1c 1 yes One column format on a new page.
174 \&.2c 1 yes Two column format.
176 \&.EN - yes Space after equation
182 \&.EQ \fIx y\fR - yes Precede equation; break out and
186 The optional argument \fIx\fR
189 to indent equation (default),
191 to left-adjust the equation, or
193 to center the equation.
195 \&.GE - yes End \fIgremlin\fP picture.
197 \&.GS - yes Begin \fIgremlin\fP picture.
199 \&.PE - yes End \fIpic\fP picture.
201 \&.PS - yes Begin \fIpic\fP picture.
203 \&.TE - yes End table.
205 \&.TH - yes End heading section of table.
207 \&.TS \fIx\fR - yes Begin table; if \fIx\fR is
209 table has repeated heading.
211 \&.ac \fIA N\fR - no Set up for ACM style output.
213 is the Author's name(s),
215 is the total number of pages.
216 Must be given before the first initialization.
218 \&.b \fIx\fR no no Print
220 in boldface; if no argument switch to boldface.
222 \&.ba \fI+n\fR 0 yes Augments the base indent by
224 This indent is used to set the indent on regular text
227 \&.bc no yes Begin new column
229 \&.bi \fIx\fR no no Print
231 in bold italics (nofill only)
233 \&.bu - yes Begin bulleted paragraph
235 \&.bx \fIx\fR no no Print \fIx\fR in a box (nofill only).
237 \&.ef \fI\'x\'y\'z\'\fR \'\'\'\' no Set even footer to x y z
239 \&.eh \fI\'x\'y\'z\'\fR \'\'\'\' no Set even header to x y z
241 \&.fo \fI\'x\'y\'z\'\fR \'\'\'\' no Set footer to x y z
243 \&.hx - no Suppress headers and footers on next page.
245 \&.he \fI\'x\'y\'z\'\fR \'\'\'\' no Set header to x y z
247 \&.hl - yes Draw a horizontal line
249 \&.i \fIx\fR no no Italicize
253 missing, italic text follows.
255 \&.ip \fIx y\fR no yes Start indented paragraph,
262 \&.lp yes yes Start left-blocked paragraph.
264 \&.lo - no Read in a file of local macros of the
267 Must be given before initialization.
269 \&.np 1 yes Start numbered paragraph.
271 \&.of \fI\'x\'y\'z\'\fR \'\'\'\' no Set odd footer to x y z
273 \&.oh \fI\'x\'y\'z\'\fR \'\'\'\' no Set odd header to x y z
275 \&.pd - yes Print delayed text.
277 \&.pp no yes Begin paragraph.
280 \&.r yes no Roman text follows.
282 \&.re - no Reset tabs to default values.
284 \&.sc no no Read in a file of special characters
285 and diacritical marks.
286 Must be given before initialization.
288 \&.sh \fIn x\fR - yes Section head follows,
289 font automatically bold.
295 \&.sk no no Leave the next page blank.
296 Only one page is remembered ahead.
298 \&.sm \fIx\fR - no Set
300 in a smaller pointsize.
302 \&.sz \fI+n\fR 10p no Augment the point size by
306 \&.th no no Produce the paper in thesis format.
307 Must be given before initialization.
309 \&.tp no yes Begin title page.
311 \&.u \fIx\fR - no Underline argument (even in \fItroff\fR).
314 \&.uh - yes Like .sh but unnumbered.
316 \&.xp \fIx\fR - no Print index