BSD 3 development
[unix-history] / usr / man / man7 / me.7
CommitLineData
528e6d3f
BJ
1.hc %
2.TH ME 7 11/16/79
3.UC
4.SH NAME
5me \- macros for formatting papers
6.SH SYNOPSIS
7.B "nroff \-me"
8[ options ]
9file ...
10.br
11.B "troff \-me"
12[ options ]
13file ...
14.SH DESCRIPTION
15This package of
16.I nroff
17and
18.I troff
19macro definitions provides a canned formatting
20facility for tech%nical papers in various formats.
21When producing 2-column output on a terminal, filter
22the output through
23.IR col (1).
24.PP
25The macro requests are defined below.
26Many
27.I nroff
28and
29.I troff
30requests are unsafe in conjunction with
31this package, however these requests may be used with
32impunity after the first .pp:
33.nf
34.IP
35.ta \w'.sz +n 'u
36\&.bp begin new page
37\&.br break output line here
38\&.sp n insert n spacing lines
39\&.ls n (line spacing) n=1 single, n=2 double space
40\&.na no alignment of right margin
41\&.ce n center next n lines
42\&.ul n underline next n lines
43\&.sz +n add n to point size
44.fi
45.PP
46Output of the
47.I eqn,
48.I neqn,
49.I refer,
50and
51.IR tbl (1)
52preprocessors
53for equations and tables is acceptable as input.
54.SH FILES
55/usr/lib/tmac/tmac.e
56.br
57/usr/lib/me/*
58.SH "SEE ALSO"
59eqn(1), troff(1), refer(1), tbl(1)
60.br
61\-me Reference Manual, Eric P. Allman
62.br
63Writing Papers with Nroff Using \-me
64.tr &.
65.SH REQUESTS
66In the following list,
67``initialization''
68refers to the first .pp, .lp, .ip, .np, .sh, or .uh macro.
69This list is incomplete;
70see
71.I "The \-me Reference Manual"
72for interesting details.
73.PP
74.ta \w'.eh \'x\'y\'z\' 'u +\w'Initial 'u +\w'Cause 'u
75.br
76.di x
77 \ka
78.br
79.di
80.in \nau
81.ti0
82Request Initial Cause Explanation
83.ti0
84 Value Break
85.br
86.in \nau
87.ti0
88\&.(c - yes Begin centered block
89.ti0
90\&.(d - no Begin delayed text
91.ti0
92\&.(f - no Begin footnote
93.ti0
94\&.(l - yes Begin list
95.ti0
96\&.(q - yes Begin major quote
97.ti0
98\&.(x \fIx\fR - no Begin indexed item in index
99.I x
100.ti0
101\&.(z - no Begin floating keep
102.ti0
103\&.)c - yes End centered block
104.ti0
105\&.)d - yes End delayed text
106.ti0
107\&.)f - yes End footnote
108.ti0
109\&.)l - yes End list
110.ti0
111\&.)q - yes End major quote
112.ti0
113\&.)x - yes End index item
114.ti0
115\&.)z - yes End floating keep
116.ti 0
117\&.++ \fIm H\fR - no Define paper section.
118.I m
119defines the part of the paper, and can be
120.B C
121(chapter),
122.B A
123(appendix),
124.B P
125(preliminary, e.g., abstract, table of contents, etc.),
126.B B
127(bibliography),
128.B RC
129(chapters renumbered from page one each chapter),
130or
131.B RA
132(appendix renumbered from page one).
133.ti 0
134\&.+c \fIT\fR - yes Begin chapter (or appendix, etc., as
135set by .++).
136.I T
137is the chapter title.
138.ti0
139\&.1c 1 yes One column format on a new page.
140.ti0
141\&.2c 1 yes Two column format.
142.ti0
143\&.EN - yes Space after equation
144produced by
145.I eqn
146or
147.IR neqn .
148.ti0
149\&.EQ \fIx y\fR - yes Precede equation; break out and
150add space.
151Equation number is
152.IR y .
153The optional argument \fIx\fR
154may be
155.I I
156to indent equation (default),
157.I L
158to left-adjust the equation, or
159.I C
160to center the equation.
161.ti0
162\&.TE - yes End table.
163.ti0
164\&.TH - yes End heading section of table.
165.ti0
166\&.TS \fIx\fR - yes Begin table; if \fIx\fR is
167.I H
168table has repeated heading.
169.ti 0
170\&.ac \fIA N\fR - no Set up for ACM style output.
171.I A
172is the Author's name(s),
173.I N
174is the total number of pages.
175Must be given before the first initialization.
176.ti0
177\&.b \fIx\fR no no Print
178.I x
179in boldface; if no argument switch to boldface.
180.ti 0
181\&.ba \fI+n\fR 0 yes Augments the base indent by
182.I n.
183This indent is used to set the indent on regular text
184(like paragraphs).
185.ti0
186\&.bc no yes Begin new column
187.ti0
188\&.bi \fIx\fR no no Print
189.I x
190in bold italics (nofill only)
191.ti0
192\&.bx \fIx\fR no no Print \fIx\fR in a box (nofill only).
193.ti 0
194\&.ef \fI\'x\'y\'z\'\fR \'\'\'\' no Set even footer to x y z
195.ti 0
196\&.eh \fI\'x\'y\'z\'\fR \'\'\'\' no Set even header to x y z
197.ti 0
198\&.fo \fI\'x\'y\'z\'\fR \'\'\'\' no Set footer to x y z
199.ti 0
200\&.hx - no Supress headers and footers on next page.
201.ti0
202\&.he \fI\'x\'y\'z\'\fR \'\'\'\' no Set header to x y z
203.ti0
204\&.hl - yes Draw a horizontal line
205.ti0
206\&.i \fIx\fR no no Italicize
207.I x;
208if
209.I x
210missing, italic text follows.
211.ti0
212\&.ip \fIx y\fR no yes Start indented paragraph,
213with hanging tag
214.IR x .
215Indentation is
216.I y
217ens (default 5).
218.ti0
219\&.lp yes yes Start left-blocked paragraph.
220.ti 0
221\&.lo - no Read in a file of local macros of the
222form
223.BI \&.* x.
224Must be given before initialization.
225.ti0
226\&.np 1 yes Start numbered paragraph.
227.ti 0
228\&.of \fI\'x\'y\'z\'\fR \'\'\'\' no Set odd footer to x y z
229.ti 0
230\&.oh \fI\'x\'y\'z\'\fR \'\'\'\' no Set odd header to x y z
231.ti 0
232\&.pd - yes Print delayed text.
233.ti0
234\&.pp no yes Begin paragraph.
235First line indented.
236.ti0
237\&.r yes no Roman text follows.
238.ti 0
239\&.re - no Reset tabs to default values.
240.ti 0
241\&.sc no no Read in a file of special characters
242and diacritical marks.
243Must be given before initialization.
244.ti0
245\&.sh \fIn x\fR - yes Section head follows,
246font automatically bold.
247.I n
248is level of section,
249.I x
250is title of section.
251.ti 0
252\&.sk no no Leave the next page blank.
253Only one page is remembered ahead.
254.ti 0
255\&.sz \fI+n\fR 10p no Augment the point size by
256.I n
257points.
258.ti 0
259\&.th no no Produce the paper in thesis format.
260Must be given before initialization.
261.ti 0
262\&.tp no yes Begin title page.
263.ti0
264\&.u \fIx\fR - no Underline argument (even in \fItroff\fR).
265(Nofill only).
266.ti0
267\&.uh - yes Like .sh but unnumbered.
268.ti0
269\&.xp \fIx\fR - no Print index
270.I x.