Commit | Line | Data |
---|---|---|
528e6d3f BJ |
1 | .hc % |
2 | .TH ME 7 11/16/79 | |
3 | .UC | |
4 | .SH NAME | |
5 | me \- macros for formatting papers | |
6 | .SH SYNOPSIS | |
7 | .B "nroff \-me" | |
8 | [ options ] | |
9 | file ... | |
10 | .br | |
11 | .B "troff \-me" | |
12 | [ options ] | |
13 | file ... | |
14 | .SH DESCRIPTION | |
15 | This package of | |
16 | .I nroff | |
17 | and | |
18 | .I troff | |
19 | macro definitions provides a canned formatting | |
20 | facility for tech%nical papers in various formats. | |
21 | When producing 2-column output on a terminal, filter | |
22 | the output through | |
23 | .IR col (1). | |
24 | .PP | |
25 | The macro requests are defined below. | |
26 | Many | |
27 | .I nroff | |
28 | and | |
29 | .I troff | |
30 | requests are unsafe in conjunction with | |
31 | this package, however these requests may be used with | |
32 | impunity 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 | |
46 | Output of the | |
47 | .I eqn, | |
48 | .I neqn, | |
49 | .I refer, | |
50 | and | |
51 | .IR tbl (1) | |
52 | preprocessors | |
53 | for 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" | |
59 | eqn(1), troff(1), refer(1), tbl(1) | |
60 | .br | |
61 | \-me Reference Manual, Eric P. Allman | |
62 | .br | |
63 | Writing Papers with Nroff Using \-me | |
64 | .tr &. | |
65 | .SH REQUESTS | |
66 | In the following list, | |
67 | ``initialization'' | |
68 | refers to the first .pp, .lp, .ip, .np, .sh, or .uh macro. | |
69 | This list is incomplete; | |
70 | see | |
71 | .I "The \-me Reference Manual" | |
72 | for 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 | |
82 | Request 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 | |
119 | defines 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), | |
130 | or | |
131 | .B RA | |
132 | (appendix renumbered from page one). | |
133 | .ti 0 | |
134 | \&.+c \fIT\fR - yes Begin chapter (or appendix, etc., as | |
135 | set by .++). | |
136 | .I T | |
137 | is 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 | |
144 | produced by | |
145 | .I eqn | |
146 | or | |
147 | .IR neqn . | |
148 | .ti0 | |
149 | \&.EQ \fIx y\fR - yes Precede equation; break out and | |
150 | add space. | |
151 | Equation number is | |
152 | .IR y . | |
153 | The optional argument \fIx\fR | |
154 | may be | |
155 | .I I | |
156 | to indent equation (default), | |
157 | .I L | |
158 | to left-adjust the equation, or | |
159 | .I C | |
160 | to 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 | |
168 | table has repeated heading. | |
169 | .ti 0 | |
170 | \&.ac \fIA N\fR - no Set up for ACM style output. | |
171 | .I A | |
172 | is the Author's name(s), | |
173 | .I N | |
174 | is the total number of pages. | |
175 | Must be given before the first initialization. | |
176 | .ti0 | |
177 | \&.b \fIx\fR no no Print | |
178 | .I x | |
179 | in 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. | |
183 | This 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 | |
190 | in 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; | |
208 | if | |
209 | .I x | |
210 | missing, italic text follows. | |
211 | .ti0 | |
212 | \&.ip \fIx y\fR no yes Start indented paragraph, | |
213 | with hanging tag | |
214 | .IR x . | |
215 | Indentation is | |
216 | .I y | |
217 | ens (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 | |
222 | form | |
223 | .BI \&.* x. | |
224 | Must 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. | |
235 | First 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 | |
242 | and diacritical marks. | |
243 | Must be given before initialization. | |
244 | .ti0 | |
245 | \&.sh \fIn x\fR - yes Section head follows, | |
246 | font automatically bold. | |
247 | .I n | |
248 | is level of section, | |
249 | .I x | |
250 | is title of section. | |
251 | .ti 0 | |
252 | \&.sk no no Leave the next page blank. | |
253 | Only one page is remembered ahead. | |
254 | .ti 0 | |
255 | \&.sz \fI+n\fR 10p no Augment the point size by | |
256 | .I n | |
257 | points. | |
258 | .ti 0 | |
259 | \&.th no no Produce the paper in thesis format. | |
260 | Must 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. |