|
|
1.1 root 1: .hc %
2: .TH MS 6
3: .CT 1 writing_troff
4: .SH NAME
5: ms \- macros for formatting manuscripts
6: .SH SYNOPSIS
7: .B "nroff \-ms"
8: [
9: .I options
10: ]
11: .I file ...
12: .br
13: .B "troff \-ms"
14: [
15: .I options
16: ]
17: .I file ...
18: .SH DESCRIPTION
19: This package of
20: .I nroff
21: and
22: .IR troff (1)
23: macro definitions provides a canned formatting
24: facility for tech%nical papers in various formats.
25: When producing 2-column output on a terminal, filter
26: the output through
27: .IR col ;
28: see
29: .IR column (1).
30: .PP
31: The macro requests are defined below.
32: Many
33: .I nroff
34: and
35: .I troff
36: requests are unsafe in conjunction with
37: this package, but the following requests may be used with
38: impunity after the first
39: .BR .PP :
40: .LR .bp ,
41: .LR .br ,
42: .LR .sp ,
43: .LR .ls ,
44: .LR .na .
45: .PP
46: Output of the
47: .IR eqn (1),
48: .I neqn,
49: .IR tbl (1),
50: .IR pic (1),
51: .IR refer (1),
52: and
53: .IR prefer (1)
54: preprocessors
55: for equations, tables, pictures, and references is acceptable as input.
56: .PP
57: Diacritical marks may be applied to letters,
58: as in these examples:
59: .ta .5i 1i 1.5i 2i 2.5i 3i 3.5i 4i 4.5i 5i 5.5i
60: .tr \'\'\`\`
61: .ds ' \h'\w'e'u*4/10'\z\(aa\h'-\w'e'u*4/10'
62: .ds ` \h'\w'e'u*4/10'\z\(ga\h'-\w'e'u*4/10'
63: .ds : \v'-0.6m'\h'(1u-(\\n(.fu%2u))*0.13m+0.06m'\z.\h'0.2m'\z.\h'-((1u-(\\n(.fu%2u))*0.13m+0.26m)'\v'0.6m'
64: .ds ^ \\k:\h'-\\n(.fu+1u/2u*2u+\\n(.fu-1u*0.13m+0.06m'\z^\h'|\\n:u'
65: .ds ~ \\k:\h'-\\n(.fu+1u/2u*2u+\\n(.fu-1u*0.13m+0.06m'\z~\h'|\\n:u'
66: .ds v \\k:\\h'+\\w'e'u/4u'\\v'-0.6m'\\s6v\\s0\\v'0.6m'\\h'|\\n:u'
67: .ds , \\k:\\h'\\w'c'u*0.4u'\\z,\\h'|\\n:u'
68: .IP
69: .L
70: \e*`e \e*`a \e*'e \e*^e \e*^o \e*:u \e*~n \e*,c \e*vc
71: .br
72: \*`e \*`a \*'e \*^e \*^o \*:u \*~n \*,c \*vc
73: .br
74: .tr \''\``
75: .SH FILES
76: .F /usr/lib/tmac/tmac.s
77: .SH "SEE ALSO"
78: .br
79: M. E. Lesk,
80: `Typing Documents on the UNIX System:
81: Using the \-ms Macros with Troff and Nroff',
82: this manual, Volume 2
83: .br
84: .IR eqn (1),
85: .IR troff (1),
86: .IR refer (1),
87: .IR prefer (1),
88: .IR tbl (1),
89: .IR pic (1),
90: .IR mcs (6)
91: .SH REQUESTS
92: .ta \w'..ND \fIdate\fR 'u +\w'Initial 'u +\w'Cause 'u
93: .br
94: .di x
95: \ka
96: .br
97: .di
98: .in \nau
99: .ti0
100: Request Initial Cause Explanation
101: .ti0
102: Value Break
103: .br
104: .in \nau
105: .ti0
106: \f5\&.1C\fP yes yes One column format on a new page.
107: .ti0
108: \f5\&.2C\fP no yes Two column format.
109: .ti0
110: \f5\&.AB\fP no yes Begin abstract.
111: .ti0
112: \f5\&.AE\fP - yes End abstract.
113: .ti0
114: \f5\&.AI\fP no yes Author's institution follows.
115: Suppressed in
116: .BR .TM .
117: .ti0
118: \f5\&.AT\fP no yes Print `Attached' and turn off line filling.
119: .ti0
120: \f5\&.AU\fP\fP\fP \fIx y\fR no yes Author's name follows.
121: .IR x " is location and " y " is"
122: extension, ignored except in
123: .BR TM .
124: .ti0
125: \f5\&.B\fP \fIx y\fR no no Print
126: .I x
127: in boldface, append
128: .IR y ;
129: if no argument switch to boldface.
130: .ti0
131: \f5\&.B1\fP no yes Begin text to be enclosed in a box.
132: .ti0
133: \f5\&.B2\fP no yes End boxed text.
134: .ti0
135: \f5\&.BI\fP \fIx y\fR no no Print
136: .I x
137: in bold italic and append
138: .IR y ;
139: if no argument switch to bold italic.
140: .ti0
141: \f5\&.BT\fP date no Bottom title, automatically invoked at
142: foot of page.
143: May be redefined.
144: .ti0
145: \f5\&.BX\fP \fIx\fR no no Print
146: .I x
147: in a box.
148: .ti0
149: \f5\&.CW\fP \fIx y\fR no no Constant width font for
150: .IR x ,
151: append
152: .IR y ;
153: if no argument switch to CW.
154: .ti0
155: \f5\&.CT\fP no yes Print `Copies to' and turn off line filling.
156: .ti0
157: \f5\&.DA\fP \fIx\fR nroff no `Date line' at bottom of page
158: is
159: .IR x .
160: Default is today.
161: .ti0
162: \f5\&.DE\fP - yes End displayed text.
163: Implies
164: .BR .KE .
165: .ti0
166: \f5\&.DS\fP \fIx\fR no yes Start of displayed text,
167: to appear verbatim line-by-line:
168: .L I
169: indented (default),
170: .L L
171: left-justified,
172: .L C
173: centered,
174: .L B
175: (block) centered with straight left margin.
176: Implies
177: .BR .KS .
178: .ti0
179: \f5\&.EG\fP no - Print document in BTL format for `Engineer's Notes.' Must be first.
180: .ti0
181: \f5\&.EN\fP - yes Space after equation
182: produced by
183: .I neqn
184: or
185: .IR eqn (1).
186: .ti0
187: \f5\&.EQ\fP \fIx y\fR - yes Display equation.
188: Equation number is
189: .IR y .
190: Optional
191: .I x
192: is
193: .BR I ", " L ", " C
194: as in
195: .BR .DS .
196: .ti0
197: \f5\&.FE\fP - yes End footnote.
198: .ti0
199: \f5\&.FP\fP \fIx\fR - no Set font positions for a family, e.g.,
200: .L .FP palatino
201: .ti0
202: \f5\&.FS\fP no no Start footnote.
203: The note will be moved to the bottom of the page.
204: .ti0
205: \f5\&.HO\fP - no `Bell Laboratories, Holmdel,
206: New Jersey 07733'.
207: .ti0
208: \f5\&.I\fP \fIx y\fR no no Italicize
209: .I x,
210: append
211: .IR y ;
212: if no argument switch to italic.
213: .ti0
214: \f5\&.IH\fP no no `Bell Laboratories, Naperville, Illinois 60540'
215: .ti0
216: \f5\&.IM\fP no no Print document in BTL format for an internal memorandum. Must be first.
217: .ti0
218: \f5\&.IP\fP \fIx y\fR no yes Start indented paragraph,
219: with hanging tag
220: .IR x .
221: Indentation is
222: .I y
223: ens (default 5).
224: .ti0
225: \f5\&.KE\fP - yes End keep.
226: Put kept text on next page if not enough room.
227: .ti0
228: \f5\&.KF\fP no yes Start floating keep.
229: If the kept text must be moved to the next page,
230: float later text back to this page.
231: .ti0
232: \f5\&.KS\fP no yes Start keeping following text.
233: .ti0
234: \f5\&.LG\fP no no Make letters larger.
235: .ti0
236: \f5\&.LP\fP yes yes Start left-blocked paragraph.
237: .ti0
238: \f5\&.LT\fP no yes Start a letter with today's date;
239: address follows.
240: .ti0
241: \f5\&.MF\fP - - Print document in BTL format for `Memorandum for File.' Must be first.
242: .ti0
243: \f5\&.MH\fP - no `Bell Laboratories, Murray Hill,
244: New Jersey 07974'.
245: .ti0
246: \f5\&.MR\fP - - Print document in BTL format for `Memorandum for Record.' Must be first.
247: .ti0
248: \f5\&.ND\fP \fIdate\fR troff no Use date supplied (if any) only in
249: special BTL format positions; omit from page footer.
250: .ti0
251: \f5\&.NH\fP \fIn\fR - yes Same as
252: .BR .SH ,
253: with automatic section
254: numbers like `1.2.3';
255: .I n
256: is subsection level (default 1).
257: .ti0
258: \f5\&.NL\fP yes no Make letters normal size.
259: .ti0
260: \f5\&.PE\fP - yes End picture; see
261: .IR pic (1).
262: .ti0
263: \f5\&.PF\fP - yes End picture; restore vertical
264: position.
265: .ti0
266: \f5\&.PP\fP no yes Begin paragraph.
267: First line indented.
268: .ti0
269: \f5\&.PS\fP \fIh w\fR - yes Start picture; height
270: and width in inches.
271: .ti0
272: \f5\&.PY\fP - no `Bell Laboratories, Piscataway, New Jersey 08854'
273: .ti0
274: \f5\&.QE\fP - yes End quoted material.
275: .ti0
276: \f5\&.QP\fP - yes Begin quoted paragraph (indent both margins).
277: .ti0
278: \f5\&.QS\fP - yes Begin quoted material (indent both margins).
279: .ti0
280: \f5\&.R\fP yes no Roman text follows.
281: .ti0
282: \f5\&.RE\fP - yes End relative indent level.
283: .ti0
284: \f5\&.RP\fP no - Cover sheet and first page for released
285: paper.
286: Must precede other requests.
287: .ti0
288: \f5\&.RS\fP - yes Start level of relative indentation
289: from which subsequent indentation is measured.
290: .ti0
291: \f5\&.SG\fP \fIx\fR no yes Insert signature(s) of author(s),
292: ignored except in
293: .B .TM
294: and
295: .BR .LT .
296: .IR x " is the reference line (initials of author and typist)."
297: .ti0
298: \f5\&.SH\fP - yes Section head follows,
299: font automatically bold.
300: .ti0
301: \f5\&.SM\fP no no Make letters smaller.
302: .ti0
303: \f5\&.TA\fP\ \fIx\fR... 5... no Set tabs in ens.
304: Default is 5 10 15 ...
305: .ti0
306: \f5\&.TE\fP - yes End table; see
307: .IR tbl (1).
308: .ti0
309: \f5\&.TH\fP - yes End heading section of table.
310: .ti0
311: \f5\&.TL\fP no yes Title follows.
312: .ti0
313: \f5\&.TM\fP\ \fIx\fR... no - Print document in BTL technical memorandum format.
314: Arguments are TM number, (quoted list of) case number(s), and file number.
315: Must precede other requests.
316: .ti0
317: \f5\&.TR\fP \fIx\fR - - Print in BTL technical report format; report number is \fIx\fR. Must be first.
318: .ti0
319: \f5\&.TS\fP \fIx\fR - yes Begin table; if
320: .I x
321: is
322: .B H
323: table heading is repeated on new pages.
324: .ti0
325: \f5\&.UL\fP \fIx\fR - no Underline argument (even in troff).
326: .ti0
327: \f5\&.UX\fP\ \fIy z\fP - no `\fIz\fRUNIX\fIy\fP';
328: first use gives registered trademark notice.
329: .ti0
330: \f5\&.WH\fP - no `Bell Laboratories, Whippany,
331: New Jersey 07981'.
332: .ti0
333: \f5\&.[\fP - no Begin reference; see
334: .IR refer (1).
335: .ti0
336: \f5\&.]\fP - no End reference.
337: .hc
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.