groff before CVS: release 1.10
[s-roff.git] / mm / groff_mm.man
bloba2ae4af551f28361e06fd90c6fb6fc8bb647bb00
1 .ig \"-*- nroff -*-
2 Copyright (C) 1991-1995 Free Software Foundation, Inc.
4 Permission is granted to make and distribute verbatim copies of
5 this manual provided the copyright notice and this permission notice
6 are preserved on all copies.
8 Permission is granted to copy and distribute modified versions of this
9 manual under the conditions for verbatim copying, provided that the
10 entire resulting derived work is distributed under the terms of a
11 permission notice identical to this one.
13 Permission is granted to copy and distribute translations of this
14 manual into another language, under the above conditions for modified
15 versions, except that this permission notice may be included in
16 translations approved by the Free Software Foundation instead of in
17 the original English.
19 .\" $Id: groff_mm.man,v 1.27 1995/04/24 05:37:46 jh Exp $
20 .\"
21 .de T2
22 .ne 2v
23 .ti -.5i
24 \\$1
25 .sp -1
27 .de T3
28 .ne 2v
29 .ti -.5i
30 \fB\\$1\fP
31 .br
33 .TH GROFF_MM @MAN7EXT@ "@MDATE@" "Groff Version @VERSION@"
34 .SH NAME
35 groff_mm \- groff mm macros
36 .SH SYNOPSIS
37 .B groff
38 .B \-m@TMAC_M_PREFIX@m
40 .IR options .\|.\|.
43 .IR files .\|.\|.
45 .SH DESCRIPTION
46 The groff mm macros are intended to be compatible with the DWB mm macros
47 with the following limitations:
48 .TP
49 .B \(bu
50 no Bell Labs localisms implemented.
51 .TP
52 .B \(bu
53 the macros OK and PM is not implemented.
54 .TP
55 .B \(bu
56 groff mm does not support cut marks
57 .LP
58 \fBm@TMAC_M_PREFIX@m\fP is intended to be international. Therefore it is 
59 possible to write short national macrofiles which change all
60 english text to the preferred language. Use \fBm@TMAC_M_PREFIX@mse\fP as an example.
61 .LP
62 New macros: \fBAPP\fP, \fBAPPSK\fP, \fBB1\fP, \fBB2\fP, \fBBVL\fP,
63 \fBCOVER\fP, \fBCOVEND\fP, \fBGETHN\fP, \fBGETPN\fP, \fBGETR\fP,
64 \fBGETST\fP, \fBINITR\fP, \fBMC\fP, \fBMOVE\fP, \fBMULB\fP,
65 \fBMULN\fP, \fBMULE\fP, \fBPGFORM\fP, \fBPGNH\fP, \fBSETR\fP,
66 \fBTAB\fP, \fBVERBON\fP, \fBVERBOFF\fP.
67 .LP
68 .\"########################################################################
69 .LP
70 A file called \fBlocale\fP or \fIlang\fP\fB_locale\fP is read
71 after the initiation of the global variables. It is therefore
72 possible to localize the macros with companyname and so on.
73 .sp
74 In this manual square brackets is used to show optional arguments.
75 .sp 3
76 \fBNumber registers and strings\fP
77 .br
78 Many macros can be controlled by number registers and strings.
79 A number register is assigned with the \fBnr\fP command:
80 .br
81 \fB\&.nr\fP \fIXXX\fP \fI[+-]n [i]\fP
82 .br
83 \fBXXX\fP is the name of the register, \fBn\fP is the value to
84 be assigned, and \fBi\fP is increment value for auto-increment.
85 \fBn\fP can have a plus or minus sign as prefix if an increment
86 or decrement of the current value is wanted. (Auto-increment or decrement
87 occurs if the number register is used with a plus or minus sign,
88 \fB\en+[XXX]\fP or \fB\en-[XXX]\fP.)
89 .sp
90 Strings is defined with \fBds\fP.
91 .br
92 \fB\&.ds\fP \fIYYY string\fP
93 .br
94 The string is assigned everything to the end of the line, even blanks.
95 Initial blanks in \fIstring\fP should be prefixed with
96 a double-quote. (Strings are used in the text as \fB\e*[YYY]\fP.)
97 .sp
98 \fBSpecial formatting of number registers\fP
99 A number register is printed with normal digits if no format has been
100 given.
101 Set the format with \fBaf\fP:
103 \fB\&.af\fP \fIR c\fP
105 \fIR\fP is the name of the register, \fIc\fP is the format.
106 .in +.5i
107 .T2 \fBForm\fP
108 \fBSequence\fP
109 .T2 1
110 0, 1, 2, 3, ...
111 .T2 001
112 000, 001, 002, 003, ...
113 .T2 i
114 0, i, ii, iii, iv, ...
115 .T2 I
116 0, I, II, III, IV, ...
117 .T2 a
118 0, a, b, c, ..., z, aa, ab, ...
119 .T2 A
120 0, A, B, C, ..., Z, AA, AB, ...
124 \fBMacros:\fP
126 .B "1C [1]"
127 Begin one column processing. An \fB1\fP as argument disables the page-break.
128 Use wide footnotes, small footnotes may be overprinted.
130 .B 2C
131 Begin two column processing. Splits the page in two columns. It is
132 a special case of \fBMC\fP. See also \fB1C\fP.
134 .B AE
135 Abstract end, see \fBAS\fP.
137 .B "AF [name of firm]"
138 Authors firm, should be called before \fBAU\fP, see also \fBCOVER\fP.
140 .B "AL [type [text-indent [1]]]]"
141 Start autoincrement list. Items are numbered beginning on one.
142 The \fItype\fP argument controls the type of numbers.
143 .in +.5i
144 .T2 Arg
145 Description
146 .T2 1
147 Arabic (the default)
148 .T2 A
149 Upper-case letters (A-Z)
150 .T2 a
151 Lower-case letters (a-z)
152 .T2 I
153 Upper-case roman
154 .T2 i
155 Lower-case roman
157 \fIText-indent\fP sets the indent and overrides \fBLi\fP.
158 A third argument will prohibit printing of a blank line before each
159 item.
161 .B "APP name text"
162 Begin an appendix with name \fIname\fP. Automatic naming occurs if
163 \fIname\fP is "". The appendixes starts with \fBA\fP if auto is used.
164 An new page is ejected, and a header is also produced if the number
165 variable \fBAph\fP is non-zero. This is the default.
166 The appendix always appear in the 'List of contents' with correct
167 pagenumber. The name \fIAPPENDIX\fP can be changed by setting
168 the string \fBApp\fP to the desired text.
170 .B "APPSK name pages text"
171 Same as \fB.APP\fP, but the pagenr is incremented with \fIpages\fP.
172 This is used when diagrams or other non-formatted documents are
173 included as appendixes.
175 .B "AS [arg [indent]]"
176 Abstract start. Indent is specified in 'ens', but scaling is allowed.
177 Argument \fIarg\fP controls where the abstract is printed.
178 .in +.5i
179 .T2 Arg
180 Placement
181 .T2 0
182 Abstract will be printed on page 1 and con the cover sheet if
183 used in the released-paper style (\fBMT 4\fP), otherwise
184 it will be printed on page 1 without a cover sheet.
185 .T2 1
186 Abstract will only be printed on page 1 (\fBMT 4\fP only).
187 .T2 2
188 Abstract will be printed only on the cover sheet. The cover sheet
189 is printed without need for \fBCS\fP.
191 Abstract is not printed at all in external letters (\fBMT 5\fP).
192 The \fIindent\fP controls the indentation of both margins, otherwise
193 will normal text indent be used.
195 .B "AST [title]"
196 Abstract title. Default is \fBABSTRACT\fP.
197 Sets the text above the abstract text.
199 .B "AT title1 [title2 ...]"
200 Authors title. \fBAT\fP must appear just after each \fBAU\fP.
201 The title will show up after the name in the signature block.
203 .B "AU name [initials [loc [dept [ext [room [arg [arg [arg]]]]]]]]"
204 Author information, specifies the author of the memo or paper, and
205 will be printed on the cover sheet and on other similar places.
206 \fBAU\fP must appear before \fBTL\fP. The author information
207 can contain intials, location, department, telephone extension,
208 room number or name and up to three extra arguments.
210 .B "AV [name [1]]"
211 Approval signature, generates an approval line with place for
212 signature and date. The string \fBAPPROVED:\fP can be changed
213 with variable \fBLetapp\fP, and the string \fBDate\fP in \fBLetdate\fP.
215 .B "B [bold-text [prev-font-tex [bold...]]]"
216 Begin boldface
217 No limit on the number of arguments.
218 All arguments will be concatenated to one word, the first, third and so
219 on will be printed in boldface.
221 .B B1
222 Begin box (as the ms macro)
223 Draws a box around the text. The text will be indented one character,
224 and the right margin will be one character shorter.
226 .B B2
227 End box. Finish the box started by \fBB1\fP.
229 .B BE
230 End bottom block, see \fBBS\fP.
232 .B "BI [bold-text [italic-text [bold-text [...]]]"
233 Bold-italic.
234 No limit on the number of arguments, see \fBB\fP.
236 .B "BL [text-indent [1]]"
237 Start bullet list, initialize a list with a bullet and a space
238 in the beginning of each list item (see \fBLI\fP).
239 \fIText-indent\fP
240 overrides the default indentation of the list items set by
241 number register \fBPi\fP.
242 A third argument will prohibit printing of a blank line before each
243 item.
245 .B "BR [bold-text [roman-text [bold-text [...]]]"
246 Bold-roman.
247 No limit on the number of arguments.
249 .B BS
250 Bottom block start. Begins the definition of a text block wich is
251 printed at the bottom of each page. Block ends with \fBBE\fP.
253 .B BVL
254 Start of 
255 broken variable-item list.
256 Broken variable-item list has no fixed mark, it assumes that
257 every \fBLI\fP has a mark instead.
258 The text will always begin at the next line after the mark.
259 \fIText-indent\fP sets the indent to the text, and \fImark-indent\fP
260 the distance from the current indent to the mark.
261 A third argument will prohibit printing of a blank line before each
262 item.
264 .B "COVER [arg]"
265 \&\fBCOVER\fP begins a coversheet definition. It is important
266 that \fB.COVER\fP appears before any normal text.
267 \&\fB.COVER\fP uses \fIarg\fP to build the filename 
268 @TMAC_MDIR@/\fIarg\fP.cov. Therefore it is possible to create unlimited
269 types of coversheets.
270 \fIms.cov\fP is supposed to look like the \fBms\fP coversheet.
271 \&\fB.COVER\fP requires a \fB.COVEND\fP at the end of the coverdefinition.
272 Always use this order of the covermacros:
274 \&.COVER
275 \&.TL
276 \&.AF
277 \&.AU
278 \&.AT
279 \&.AS
280 \&.AE
281 \&.COVEND
283 However, only \fB.TL\fP and \fB.AU\fP are required.
285 .B COVEND
286 This finish the cover description and prints the cover-page.
287 It is defined in the cover file.
289 .B DE
290 Display end. Ends a block of text, display, that begins
291 with \fBDS\fP or \fBDF\fP.
293 .B "DF [format [fill [rindent]]]"
294 Begin floating display (no nesting allowed). 
295 A floating display is saved in a queue and is printed in the
296 order entered. \fIFormat\fP, \fIfill\fP and \fIrindent\fP is the same
297 as in \fBDS\fP.
298 Floating displays are controlled by the two number registers \fBDe\fP
299 and \fBDf\fP.
301 \fBDe register\fP
302 .in +.5i
303 .T2 0
304 Nothing special, this is the default.
305 .T2 1
306 A page eject will occur after each printed display, giving only
307 one display per page and no text following it.
310 \fBDf register\fP
311 .in +.5i
312 .T2 0
313 Displays are printed at the end of each section (when section-page
314 numbering is active) or at the end of the document.
315 .T2 1
316 A new display will be printed on the current page is there is enough
317 space, otherwise it will be printed at the end of the document.
318 .T2 2
319 One display will be printed at the top of each page or column
320 (in multi-column mode).
321 .T2 3
322 Print one display if there is enough space for it, otherwise it will
323 be printed at the top of the next page or column.
324 .T2 4
325 Print as many displays that will fit in a new page or column.
326 A page break will occur between each display if \fBDe\fP is not zero.
327 .T2 5
328 Fill the current page with displays and the rest beginning at a new page
329 or column. (This is the default.)
330 A page break will occur between each display
331 if \fBDe\fP is not zero.
334 .B "DL [text-indent [1]]"
335 Dash list start. Begins a list where each item is printed
336 after a dash. \fIText-indent\fP changes the default indentation
337 of the list items set by
338 number register \fBPi\fP.
339 A third argument will prohibit printing of a blank line before each
340 item.
341 A second argument prevents the empty line between each list item
342 to be printed. See \fBLI\fP.
344 .B "DS [format [fill [rindent]]]"
345 Static display start.
346 Begins collection of text until \fBDE\fP.
347 The text is printed together on the same page, unless it is longer
348 than the height of the page.
349 \fBDS\fP can be nested to a unlimited depth (reasonably :-).
351 \fBformat\fP
352 .in +.5i
353 .ds x "
354 .T2 """"""
355 No indentation.
356 .T2 none
357 No indentation.
358 .T2 L
359 No indentation.
360 .T2 I
361 Indent text with the value of number register \fBSi\fP.
362 .T2 C
363 Center each line
364 .T2 CB
365 Center the whole display as a block.
366 .T2 R
367 Right adjust the lines.
368 .T2 RB
369 Right adjust the whole display as a block
372 L, I, C and CB can also be specified as 0, 1, 2 or 3 for compatibility
373 reasons. (Don't use it. :-)
375 \fBfill\fP
376 .in +.5i
377 .T2 """"""
378 Line-filling turned off.
379 .T2 none
380 Line-filling turned off.
381 .T2 N
382 Line-filling turned off.
383 .T2 F
384 Line-filling turned on.
387 N and F can also be specified as 0 or 1.
388 An empty line will normally be printed before and after the
389 display. Setting number register \fBDs\fP to 0 will prevent this.
390 \fIRindent\fP shortens the line length by that amount.
392 .B "EC [title [override [flag [refname]]]]"
393 Equation title.
394 Sets a title for an equation. The \fIoverride\fP argument
395 change the numbering.
397 \fBflag\fP
398 .in +.5i
399 .T2 none
400 \fIoverride\fP is a prefix to the number.
401 .T2 0
402 \fIoverride\fP is a prefix to the number.
403 .T2 1
404 \fIoverride\fP is a suffix to the number.
405 .T2 2
406 \fIoverride\fP replaces the number.
408 \fBEC\fP uses the number register \fBEc\fP as counter.
409 It is possible to use \fB.af\fP to change the format of the number.
410 If number register \fBOf\fP is 1, then the format of title
411 will use a dash instead of a dot after the number.
412 The string \fBLe\fP controls the title of the
413 List of Equations, default is \fILIST OF EQUATIONS\fP.
414 The string \fBLiec\fP contains the word \fIEquation\fP, wich
415 is printed before the number.
416 If \fIrefname\fP is used, then the equationnumber is saved with
417 \&\fB.SETR\fP, and can be retrieved with \fB.GETST\fP \fIrefname\fP.
419 .B "EF [arg]"
420 Even-page footer, printed just above the normal page footer
421 on even pages, see \fBPF\fP.
423 .B "EH [arg]"
424 Even-page header, printed just below the normal page header
425 on even pages, see \fBPH\fP.
427 .B EN
428 Equation end, see \fBEQ\fP.
430 .B EOP
431 End of page user-defined macro. This macro will be called
432 instead of the normal printing of the footer. The macro
433 will be executed in a separate environment, without any
434 trap active. See \fBTP\fP.
436 \fBStrings available to EOP\fP
437 .in +.5i
438 .T2 EOPf
439 Argument from \fBPF\fP.
440 .T2 EOPef
441 Argument from \fBEF\fP.
442 .T2 EOPof
443 Argument from \fBOF\fP.
446 .B "EQ [label]"
447 Equation start.
448 \fBEQ\fP/\fBEN\fP are the delimiters for equations written for \fBeqn\fP.
449 \fBEQ\fP/\fBEN\fP must be inside a \fBDS\fP/\fBDE\fP-pair, except
450 when \fBEQ\fP is only used to set options in \fBeqn\fP.
451 The \fIlabel\fP will appear at the right margin of the equation, unless
452 number register \fBEq\fP is 1. Then the label will appear at the
453 left margin.
455 .B "EX [title [override [flag [refname]]]]"
456 Exhibit title, arguments are the same as for \fBEC\fP
457 \fBEX\fP uses the number register \fBEx\fP as counter.
458 The string \fBLx\fP controls the title of the
459 List of Exhibits, default is \fILIST OF EXHIBITS\fP.
460 The string \fBLiex\fP contains the word \fIExhibit\fP, wich
461 is printed before the number.
462 If \fIrefname\fP is used, then the exhibitnumber is saved with
463 \&\fB.SETR\fP, and can be retrieved with \fB.GETST\fP \fIrefname\fP.
465 .B "FC [closing]"
466 Prints \fIYours\ very\ truly,\fP as a formal closing of a letter or
467 memorandum. The argument replaces the defualt string.
468 The default is stored in string variable \fBLetfc\fP.
470 .B "FD [arg [1]]"
471 Footnote default format.
472 Controls the hyphenation (hyphen), right margin justification (adjust),
473 indentation of footnote text (indent). It can also change the label
474 justification (ljust).
476 .ne 14v
478 .ta .5i +.8i +.8i +.8i +.8i
479 \fBarg  hyphen  adjust  indent  ljust\fP
480 0       no      yes     yes     left
481 1       yes     yes     yes     left
482 2       no      no      yes     left
483 3       yes     no      yes     left
484 4       no      yes     no      left
485 5       yes     yes     no      left
486 6       no      no      no      left
487 7       yes     no      no      left
488 8       no      yes     yes     right
489 9       yes     yes     yes     right
490 10      no      no      yes     right
491 11      yes     no      yes     right
495 Argument greater than or equal to 11 is considered as arg 0.
496 Default for m@TMAC_M_PREFIX@mm is 10.
498 .B FE
499 Footnote end.
501 .B "FG [title [override [flag [refname]]]]"
502 Figure title.
503 If \fIrefname\fP is used, then the figurenumber is saved with
504 \&\fB.SETR\fP, and can be retrieved with \fB.GETST\fP \fIrefname\fP.
506 .B "FS [label]"
507 Footnote start.
508 The footnote is ended by \fBFE\fP. Footnotes is normally automatically
509 numbered, the number is available in string \fBF\fP.
510 Just add \fB\e*F\fP in the text. By adding \fIlabel\fP, it is possible
511 to have other number or names on the footnotes.
512 Footnotes in displays is now possible.
513 An empty line separates footnotes, the height of the line
514 is controlled by number register \fBFs\fP, default value is 1.
516 .B "GETHN refname [varname]"
517 Includes the headernumber where the corresponding \fBSETR\fP \fIrefname\fP
518 was placed. Will be X.X.X. in pass 1. See \fBINITR\fP.
519 If varname is used, \fBGETHN\fP sets the stringvariable \fIvarname\fP to the 
520 headernumber.
522 .B "GETPN refname [varname]"
523 Includes the pagenumber where the corresponding \fBSETR\fP \fIrefname\fP
524 was placed. Will be 9999 in pass 1. See \fBINITR\fP.
525 If varname is used, \fBGETPN\fP sets the stringvariable \fIvarname\fP
526 to the pagenumber.
528 .B "GETR refname"
529 Combines \fBGETHN\fP and \fBGETPN\fP with the text 'chapter' and ', page'.
530 The string \fIQrf\fP contains the text for reference:
531 .ti +.5i
532 \&.ds Qrf See chapter \e\e*[Qrfh], page \e\e*[Qrfp].
534 \fIQrf\fP may be changed to support other languages.
535 Strings \fIQrfh\fP and \fIQrfp\fP are set by \fBGETR\fP
536 and contains the page and headernumber.
538 .B "GETST refname [varname]"
539 Includes the string saved with the second argument to \fB.SETR\fP.
540 Will be dummystring in pass 1.
541 If varname is used, \fBGETST\fP sets the stringvariable \fIvarname\fP to the 
542 saved string. See \fBINITR\fP.
544 .B "H level [heading-text [heading-suffix]]"
545 Numbered section heading.
546 Section headers can have a level between 1 and 7, level 1 is the
547 top level. The text is given in \fIheading-text\fP, and must be
548 surrounded by double quotes if it contains spaces.
549 \fBHeading-suffix\fP is added to the header in the text but not in
550 the table of contents. This is normally used for footnote marks
551 and similar things. Don't use \fB\e*F\fP in \fIheading-suffix\fP, it won't
552 work. A manual label must be used, see \fBFS\fP.
554 An eventual paragraph, \fBP\fP, directly after \fBH\fP will be
555 ignored, \fBH\fP is taking care of spacing and indentation.
557 \fBPage ejection before heading\fP
559 Number register \fBEj\fP controls page ejection before the heading.
560 Normally, a level one heading gets two blank lines before it, higher levels
561 gets only one. A new page is ejected before each
562 first-level heading if number register \fBEj\fP is 1.
563 All levels below or equal the value of \fBEj\fP gets a new page.
564 Default value for \fBEj\fP is 0.
566 \fBHeading break level\fP
568 A line break occurs after the heading if the heading level is less
569 or equal to number register \fBHb\fP.
570 Default value 2.
572 \fBHeading space level\fP
574 A blank line is inserted after the heading if the heading level is less
575 or equal to number register \fBHs\fP.
576 Default value 2.
578 Text will follow the heading on the same line if the level is greater
579 than both \fBHb\fP and \fBHs\fP.
581 \fBPost-heading indent\fP
583 Indentation of the text after the heading is controlled by number
584 register \fBHi\fP, default value 0.
585 \fBHi\fP
586 .in +.5i
587 .T2 0
588 The text will be left-justified.
589 .T2 1
590 Indentation of the text will follow the value of number register \fBPt\fP,
591 see \fBP\fP.
592 .T2 2
593 The text will be lined up with the first word of the heading.
596 \fBCentered section headings\fP
598 All headings whose level is equal or below number register \fBHc\fP
599 and also less than or equal to \fBHb\fP or \fBHs\fP
600 is centerered.
602 \fBFont control of the heading\fP
604 The font of each heading level is controlled by string \fBHF\fP.
605 It contains a fontnumber or fontnam for each level. Default
606 is \fB2\ 2\ 2\ 2\ 2\ 2\ 2\fP (all headings in italic).
607 Could also be written as \fBI\ I\ I\ I\ I\ I\ I\fP.
608 All omitted values are presumed to be a 1.
610 \fBPoint size control\fP.
612 String \fBHP\fP controls the pointsize of each heading, in the
613 same way as \fBHF\fP controls the font.
614 A value of 0 selects the default point size.
615 Default value is \fB0\ 0\ 0\ 0\ 0\ 0\ 0\fP. Beware that only the
616 point size changes, not the vertical size.
617 That can be controlled by the user specified macro \fBHX\fP and/or
618 \fBHZ\fP.
620 \fBHeading counters\fP
622 Seven number registers, named \fBH1\fP thru \fBH7\fP contains
623 the counter for each heading level.
624 The values are printed using arabic numerals, this can be changed
625 with the macro \fBHM\fP (see below).
626 All marks ar concatenated before printing. To avoid this, set
627 number register \fBHt\fP to 1. That will only print the current
628 heading counter at each heading.
630 \fBAutomatic table of contents\fP
632 All headings whose level is equal or below number register \fBCl\fP
633 is saved to be printed in the table of contents. Default value is 2.
635 \fBSpecial control of the heading, user-defined macros\fP.
637 These macros can be defined by the user to get a finer control
638 of vertical spacing, fonts or other features.
639 Argument \fIlevel\fP is the level-argument to \fBH\fP, but
640 0 for unnumbered headings (see \fBHU\fP).
641 Argument \fIrlevel\fP is the real level, it is
642 set to number register \fBHu\fP for unnumbered headings.
643 Argument \fIheading-text\fP is the text argument to \fBH\fP and \fBHU\fP.
645 \fBHX\ \fP\fIlevel\ rlevel\ heading-text\fP
647 \fBHX\fP is called just before the printing of the heading.
648 The following register is available for \fBHX\fP.
649 \fBHX\fP may alter \fB}0\fP, \fB}2\fP and \fB;3\fP.
650 .in +.5i
651 .T3 "string }0"
652 Contains the heading mark plus two spaces if \fIrlevel\fP is non-zero,
653 otherwise empty.
654 .T3 "register ;0"
655 Contains the position of the text after the heading.
656 0 means that the text should follow the heading on the same line, 1
657 means that a line break should occur before the text and
658 2 means that a blank line should separate the heading and the text.
659 .T3 "string }2"
660 Contains two spaces if register \fB;0\fP is 0. It is used to
661 separate the heading from the text. The string
662 is empty if \fB;0\fP is non-zero.
663 .T3 "register ;3"
664 Contains the needed space in units after the heading.
665 Default is 2v.
667 Can be used to change things like numbering (\fB}0\fP),
668 vertical spacing (\fB}2\fP)
669 and the needed space after the heading.
672 \fBHY\ \fP\fIdlevel\ rlevel\ heading-text\fP
674 \fBHY\fP is called after size and font calculations and
675 might be used to change indentation.
677 \fBHZ\ \fP\fIdlevel\ rlevel\ heading-text\fP
678 \fBHZ\fP is called after the printing of the heading, just before
679 \fBH\fP or \fBHU\fP exits.
680 Could be used to change the page header according to the section heading.
682 .B "HC [hyphenation-character]"
683 Set hyphenation character.
684 Default value is \e%.
685 Resets to the default if called without argument.
686 Hyphenation can be turned by setting number
687 register \fBHy\fP to 0 in the beginning of the file.
689 .B "HM [arg1 [arg2 [... [arg7]]]]"
690 Heading mark style. 
691 Controls the type of marking for printing of the heading counters.
692 Default is 1 for all levels.
694 \fBArgument\fP
695 .in +.5i
696 .T2 1
697 Arabic numerals.
698 .T2 0001
699 Arabic numerals with leading zeroes, one or more.
700 .T2 A
701 Upper-case alphabetic
702 .T2 a
703 Lower-case alphabetic
704 .T2 I
705 Upper-case roman numerals
706 .T2 i
707 lower-case roman numerals
708 .T2 \fIempty\fP
709 Arabic numerals.
712 .B "HU heading-text"
713 Unnumbered section header.
714 \fBHU\fP behavies like \fBH\fP at the level in number register \fBHu\fP.
715 See \fBH\fP.
717 .B "HX dlevel rlevel heading-text"
718 Userdefined heading exit.
719 Called just before printing the header.
720 See \fBH\fP.
722 .B "HY dlevel rlevel heading-text"
723 Userdefined heading exit.
724 Called just before printing the header.
725 See \fBH\fP.
727 .B "HZ dlevel rlevel heading-text"
728 Userdefined heading exit.
729 Called just after printing the header.
730 See \fBH\fP.
732 .B "I [italic-text [prev-font-text [italic-text [...]]]"
733 Italic.
734 Changes the font to italic if called without arguments.
735 With one argument it will set the word in italic.
736 With two argument it will concatenate them and set the first
737 word in italic and the second in the previous font.
738 There is no limit on the number of argument, all will be concatenated.
740 .B "IA [addressee-name [title]]
741 Begins specification of the addressee and addressee's address in
742 letter style.
743 Several names can be specified with empty \fBIA\fP/\fBIE\fP-pairs, but
744 only one address.
745 See \fBLT\fP.
747 .B "IB [italic-text [bold-text [italic-text [...]]]"
748 Italic-bold
749 Even arguments is printed in italic, odd in boldface.
750 See \fBI\fP.
752 .B IE
753 Ends the address-specification after \fPIA\fP.
755 .B "INITR filename"
756 Initialize the refencemacros. References will be written to
757 \fIfilename.tmp\fP and \fIfilename.qrf\fP. Requires two passes with groff.
758 The first looks for references and the second includes them.
759 \fBINITR\fP can be used several times, but it is only the first
760 occurrence of \fBINITR\fP that is active.
761 See also \fBSETR\fP, \fBGETPN\fP and \fBGETHN\fP.
763 .B "IR [italic-text [roman-text [italic-text [...]]]"
764 Italic-roman
765 Even arguments is printed in italic, odd in roman.
766 See \fBI\fP.
768 .B "LB text-indent mark-indent pad type [mark [LI-space [LB-space]]]"
769 List begin macro.
770 This is the common macro used for all lists.
771 \fIText-indent\fP is the number of spaces to indent the text from the
772 current indent.
774 \fIPad\fP and \fImark-indent\fP controls where to put the mark.
775 The mark is placed within the mark area, and \fImark-indent\fP
776 sets the number of spaces before this area. It is normally 0.
777 The mark area ends where the text begins. The start of the text
778 is still controlled by \fItext-indent\fP.
780 The mark is left justified whitin the mark area if \fIpad\fP is 0.
781 If \fIpad\fP is greater than 0, then \fImark-indent\fP is ignored, and
782 the mark is placed \fIpad\fP spaces before the text.
783 This will right justify the mark.
785 If \fItype\fP is 0 the list will have either a hanging indent or, if
786 argument \fImark\fP is given, the string \fImark\fP as mark.
788 If \fItype\fP is greater than 0 automatic numbering will occur, arabic
789 if \fImark\fP is empty. \fIMark\fP can then be any of \fB1\fP, \fBA\fP,
790 \fBa\fP, \fBI\fP or \fBi\fP.
792 \fIType\fP selects one of six possible ways to display the mark.
794 \fBtype\fP
795 .in +.6i
796 .T2 1
798 .T2 2
800 .T2 3
802 .T2 4
804 .T2 5
806 .T2 6
810 Every item in the list will get \fILI-space\fP number of blank lines
811 before them. Default is 1. 
813 \fBLB\fP itself will print \fILB-space\fP blank lines. Default is 0.
815 .B "LC [list-level]"
816 List-status clear
817 Terminates all current active lists down to \fIlist-level\fP, or 0
818 if no argmuent is given. This is used by \fBH\fP to clear any
819 active list.
821 .B "LE [1]"
822 List end.
823 Terminate the current list. \fBLE\fP outputs a blank line
824 if an argument is given.
826 .B "LI [mark [1]]"
827 List item precedes every item in a list. Without argument \fBLS\fP
828 will print the mark determined by the current list type. By giving
829 \fBLI\fP one argument, it will use that as the mark instead.
830 Two arguments to \fBLI\fP will make \fImark\fP a prefix to
831 the current mark. A zero length \fImark\fP will make a hanging
832 indent instead.
834 A blank line is normally printed before the list item. This behaviour
835 can be controlled by number register \fBLs\fP. Pre-spacing
836 will occur for each list-level less than or equal to \fBLs\fP.
837 Default value is 99. (Nesting of lists is unlimited. :-)
839 The indentation can be changed thru number register \fBLi\fP.
840 Default is 6.
842 All lists begins with a list initialization macro, \fBLB\fP.
843 There are, however, seven predefined listtypes to
844 make lists easier to use. They all call \fBLB\fP with different
845 default values.
846 .in +.5i
847 .T2 \fBAL\fP
848 Automatically Incremented List
849 .T2 \fBML\fP
850 Marked List
851 .T2 \fBVL\fP
852 Variable-Item List
853 .T2 \fBBL\fP
854 Bullet List
855 .T2 \fBDL\fP
856 Dash List
857 .T2 \fBRL\fP
858 Reference List
859 .T2 \fBBVL\fP
860 Broken Varable List.
862 These lists are described at other places in this manual. See also \fBLB\fP.
864 .B "LT [arg]"
865 Formats a letter in one of four different styles depending
866 on the argument.
867 See also \fBINTERNALS\fP.
868 .in +.5i
869 .T2 \fBArg
870 Style\fP
871 .T2 BL
872 Blocked. Date line, return address, writer's address and closing
873 begins at the center of the line. All other lines begins at the left margin.
874 .T2 SB
875 Semi-blocked. Same as blocked, except that the first line in every
876 paragraph is indented five spaces.
877 .T2 FB
878 Full-blocked. All lines begin at the left margin.
879 .T2 SP
880 Simplified. Almost the same as the full-blocked style. Subject and
881 the writer'sidentification is printed in all-capital.
884 .B "LO type [arg]"
885 Specify options in letter (see \fB.LT\fP).
886 This is a list of the standard options:
887 .in +.5i
888 .T2 CN
889 Confidential notation. Prints \fBRESTRICTED\fP on the second line
890 below the date line. Any argument replaces \fBRESTRICTED\fP.
891 See also string variable \fBLetCN\fP.
892 .T2 RN
893 Reference notation. Prints \fBIn reference to:\fP and the argument
894 two lines below the date line.
895 See also string variable \fBLetRN\fP.
896 .T2 AT
897 Attention. Prints \fBATTENTION:\fP and the argument below the inside address.
898 See also string variable \fBLetAT\fP.
899 .T2 SA
900 Salutation. Prints \fBTo Whom It May Concern:\fP or the argument if
901 it was present. The salutation is printed two lines below the inside address.
902 See also string variable \fBLetSA\fP.
903 .T2 SJ
904 Subject line. Prints the argument as subject prefixed with \fBSUBJECT:\fP
905 two lines below the inside address, except in letter type \fBSP\fP.
906 Then the subject is printed in all-captial without any prefix.
907 See also string variable \fBLetSJ\fP.
910 .B "MC column-size [column-separation] "
911 Begin multiple columns. Return to normal with \fB1C\fP.
912 \fBMC\fP will create as many columns as the current line length permits.
913 \fIColumn-size\fP is the width of each column, and \fIcolumn-separation\fP
914 is the space between two columns. Default separation is the 
915 column-size/15.
916 See also \fB1C\fP.
918 .B "ML mark [text-indent [1]]"
919 Marked list start. The \fImark\fP argument will be printed before
920 each list item.
921 \fIText-indent\fP sets the indent and overrides \fBLi\fP.
922 A third argument will prohibit printing of a blank line before each
923 item.
925 .B "MT [arg [addressee]]"
926 Memorandum type.
927 The \fIarg\fP is part of a filename in \fI@TMAC_MDIR@/*.MT\fP.
928 Memorandum type 0 thru 5 are supported, including \fI"string"\fP.
929 \fIAddresse\fP just sets a variable, used in the AT&T macros.
931 \fBarg\fP
932 .in +.5i
933 .T2 0
934 Normal memorandum, no type printed
935 .T2 1
936 Memorandum with \fIMEMORANDUM FOR FILE\fP printed
937 .T2 2
938 Memorandum with \fIPROGRAMMER'S NOTES\fP printed
939 .T2 3
940 Memorandum with \fIENGINEER'S NOTES\fP printed
941 .T2 4
942 Released paper style
943 .T2 5
944 External letter style
946 See also \fBCOVER\fP/\fBCOVEND\fP, a more flexible type of front page.
948 .B "MOVE y-pos [x-pos [line-length]]"
949 Move to a position, pageoffset set to \fIx-pos\fP.
950 If \fIline-length\fP is not given, the difference between
951 current and new pageoffset is used.
952 Use \fBPGFORM\fP without arguments to return to normal.
954 .B "MULB cw1 space1 [cw2 space2 [cw3 ...]]"
955 Begin a special multi-column mode. Every columns width must be specified.
956 Also the space between the columns must be specified. The last column
957 does not need any space-definition. MULB starts a diversion and MULE
958 ends the diversion and prints the columns.
959 The unit for width and space is 'n', but MULB accepts all 
960 normal unitspecifications like 'c' and 'i'.
961 MULB operates in a separate environment.
963 .B "MULN"
964 Begin the next column. This is the only way to switch column.
966 .B "MULE"
967 End the multi-column mode and print the columns.
969 .B "nP [type]"
970 Print numbered paragraph with header level two. Se \fB.P\fP.
972 .B "NS [arg [1]]"
973 Prints different types of notations. The argument selects between
974 the predefined type of notations. If the second argument is available, 
975 then the argument becomes the entire notation.
976 If the argument doesn't exist in the predefined, it will be
977 printed as \fBCopy (\fP\fIarg\fP\fB) to\fP.
978 It is possible to add more standard notations, see the string variable
979 \fBLetns\fP and \fBLetnsdef\fP.
981 .in +.5i
982 .T2 \fBArg
983 Notation\fP
984 .T2 \fInone\fP
985 Copy To
986 .T2 """""
987 Copy To
988 .T2 1
989 Copy To (with att.) to
990 .T2 2
991 Copy To (without att.) to
992 .T2 3
993 Att.
994 .T2 4
995 Atts.
996 .T2 5
997 Enc.
998 .T2 6
999 Encs.
1000 .T2 7
1001 Under separate cover
1002 .T2 8
1003 Letter to
1004 .T2 9
1005 Memorandum to
1006 .T2 10
1007 Copy (with atts.) to
1008 .T2 11
1009 Copy (without atts.) to
1010 .T2 12
1011 Abstract Only to
1012 .T2 13
1013 Complete Memorandum to
1014 .T2 14
1019 .B "ND new-date"
1020 New date. Override the current date. Date is not
1021 printed if \fInew-date\fP is an empty string.
1023 .B "OF [arg]"
1024 Odd-page footer, a line printed just above the normal footer.
1025 See \fBEF\fP and \fBPF\fP.
1027 .B "OH [arg]"
1028 Odd-page header, a line printed just below the normal header.
1029 See \fBEH\fP and \fBPH\fP.
1031 .B OP
1032 Make sure that the following text is printed at the top
1033 of an odd-numbered page. Will not output an empty page
1034 if currently at the top of an odd page.
1036 .B "P [type]"
1037 Begin new paragraph.
1038 \fBP\fP without argument will produce left justified text, even
1039 the first line of the paragraph. This is the same as setting
1040 \fItype\fP to 0. If the argument is 1, then the first line
1041 of text following \fBP\fP will be indented by the number of
1042 spaces in number register \fBPi\fP, normally 5.
1044 Instead of giving 1 as argument to \fBP\fP it is possible to set the
1045 paragraph type in number register \fBPt\fP. Using 0 and 1
1046 will be the same as adding that value to \fBP\fP.
1047 A value of 2 will indent all paragraphs, except after
1048 headings, lists and displays.
1050 The space between two paragraphs is controlled by number register \fBPs\fP,
1051 and is 1 by default (one blank line).
1053 .B "PGFORM [linelength [pagelength [pageoffset [1]]]]"
1054 Sets linelength, pagelength and/or pageoffset.
1055 This macro can be used for special formatting, like letterheads
1056 and other.
1057 It is normally the first command in a file, though it's not necessary.
1058 \fBPGFORM\fP can be used without arguments 
1059 to reset everything after a \fBMOVE\fP.
1060 A line-break is done unless the fourth argument is given. 
1061 This can be used to avoid the pagenumber on the first page while setting
1062 new width and length.
1064 .B PGNH
1065 No header is printed on the next page. Used to get rid off
1066 the header in letters or other special texts
1067 This macro must be used before any text to inhibit the pageheader
1068 on the first page.
1070 .B PE
1071 Picture end.
1072 Ends a picture for \fB@g@pic\fP, see the manual for \fB@g@pic\fP.
1074 .B "PF [arg]"
1075 Page footer.
1076 \fBPF\fP sets the line to be printed at the bottom of each page.
1077 Normally empty. See \fBPH\fP for the argument specification.
1079 .B "PH [arg]"
1080 Page header, a line printed at the top of each page.
1081 The argument should be specified as "'left-part'center-part'right-part'",
1082 where left-, center- and right-part is printed left-justified, centered
1083 and right justified. The character \fB%\fP is changed to the current
1084 page number. The default page-header is "''- % -''", the page
1085 number between two dashes.
1087 .B PS
1088 Picture start (from pic). Begins a picture for \fB@TMAC@pic\fP, see
1089 the manual.
1091 .B PX
1092 Page-header user-defined exit.
1093 \fBPX\fP is called just after the printing of the page header
1094 in \fIno-space\fP mode.
1096 .B R
1097 Roman.
1098 Return to roman font, see also \fBI\fP.
1100 .B "RB [roman-text [bold-text [roman-text [...]]]"
1101 Roman-bold.
1102 Even arguments is printed in roman, odd in boldface.
1103 See \fBI\fP.
1105 .B "RD [prompt [diversion [string]]]"
1106 Read from standard input to diversion and/or string.
1107 The text will be saved in a diversion named \fIdiversion\fP.
1108 Recall the text by writing the name of the diversion after a dot
1109 on an empty line. A string will also be defined if
1110 \fIstring\fP is given. \fIDiversion\fP and/or \fIprompt\fP can 
1111 be empty ("").
1113 .B RF
1114 Reference end. Ends a reference definition and returns to normal
1115 processing. See \fBRS\fP.
1117 .B "RI [roman-text [italic-text [roman-text [...]]]"
1118 Even arguments is printed in roman, odd in italic.
1119 See \fBI\fP.
1121 .B "RL [text-indent [1]]"
1122 Reference list start
1123 Begins a list where each item is preceded with a automatically
1124 incremented number between
1125 square brackets.
1126 \fIText-indent\fP changes the default indentation
1128 .B "RP [arg1 [arg2]]"
1129 Produce reference page.
1130 \fBRP\fP can be used if a reference page is wanted somewhere in the
1131 document. It is not needed if \fBTC\fP is used to produce
1132 a table of content. The reference page will then be printed automatically.
1134 The reference counter will not be resetted if \fIarg1\fP is 1.
1136 \fIArg2\fP tells \fBRP\fP whether to eject a page or not.
1138 \fBArg2\fP
1139 .in +.5i
1140 .T2 0
1141 The reference page will be printed on a separate page.
1142 This is
1143 the default.
1144 .T2 1
1145 Do not eject page after the list.
1146 .T2 2
1147 Do not eject page before the list.
1148 .T2 3
1149 Do not eject page before and after the list.
1151 The reference items will be separated by a blank line.
1152 Setting number register \fBLs\fP to 0 will suppress the line.
1154 The string \fBRp\fP contains the reference page title and
1155 is normally set to \fIREFERENCES\fP.
1157 .B "RS [string-name]"
1158 \fBRS\fP begins an automatically numbered reference definition.
1159 Put the string \fB\e*(Rf\fP where the reference mark
1160 should be and write the reference between \fBRS\fP/\fBRF\fP
1161 at next new line after the reference mark. The reference number
1162 is stored in number register \fB:R\fP.
1163 If \fIstring-name\fP is given, a string with that name
1164 will be defined and contain the current reference mark.
1165 The string can be referenced as \fB\e*[\fIstring-name\fP]\fP later in
1166 the text.
1168 .B "S [size [spacing]]"
1169 Set point size and vertical spacing. If any argument is equal 'P', then
1170 the previous value is used. A 'C' means current value, and 'D' default value.
1171 If '+' or '-' is used before the value, then increment or decrement of
1172 the current value will be done.
1174 .B "SA [arg]"
1175 Set right-margin justification.
1176 Justification is normally turned on.
1177 No argumenent or \fB0\fP turns off justification, a \fB1\fP turns on
1178 justification.
1180 .B "SETR refname [string]"
1181 Remember the current header and page-number as refname.
1182 Saves \fIstring\fP if \fIstring\fP is defined. \fIstring\fP is retrieved
1183 with \fB.GETST\fP.
1184 See \fBINITR\fP.
1186 .B "SG [arg [1]]"
1187 Signature line. Prints the authors name(s) after the formal closing.
1188 The argument will be appended to the reference data, printed
1189 at either the first or last author. The reference data is the location,
1190 department and initials specified with \fB.AU\fP.
1191 It will be printed at the first author, otherwise at the last.
1192 No reference data will be printed if the author(s) is specifed
1193 thru \fB.WA\fP/\fB.WE\fP.
1194 See \fBLetter internals\fP.
1196 .B "SK [pages]"
1197 Skip pages.
1198 If \fIpages\fP is \fB0\fP or omitted, a skip to the next page
1199 will occur unless it is already at the top of a page.
1200 Otherwise it will skip \fIpages\fP pages.
1202 .B "SM string1 [string2 [string3]]"
1203 Make a string smaller.
1204 If \fIstring2\fP is given, \fIstring1\fP will be smaller and \fIstring2\fP
1205 normal, concatenated with \fIstring1\fP. With three argument, all is
1206 concatenated, but only \fIstring2\fP is made smaller.
1208 .B "SP [lines]"
1209 Space vertically. \fIlines\fP can have any scalingfactor, like \fI3i\fP or
1210 \fI8v\fP. Several \fBSP\fP in a line will only produce the
1211 maximum number of lines, not the sum. \fBSP\fP will also be ignored
1212 until the first textline in a page. Add a \fB\e&\fP before \fBSP\fP
1213 to avoid this.
1215 .B TAB
1216 reset tabs to every 5n. Normally used to reset any previous tabpositions.
1218 .B "TB [title [override [flag [refname]]]]"
1219 Table title.
1220 If \fIrefname\fP is used, then the tablenumber is saved with
1221 \&\fB.SETR\fP, and can be retrieved with \fB.GETST\fP \fIrefname\fP.
1223 .B "TC [slevel [spacing [tlevel [tab [h1 [h2 [h3 [h4 [h5]]]]]]]]]"
1224 Table of contents.
1225 This macro is normally used at the last line of the document.
1226 It generates a table of contents with headings up to the level
1227 controlled by number register \fBCl\fP. Note that \fBCl\fP controls
1228 the saving of headings, it has nothing to do with \fBTC\fP.
1229 Headings with level less than or equal to \fIslevel\fP will get
1230 \fIspacing\fP number of lines before them.
1231 Headings with level less than or equal to \fItlevel\fP will have
1232 their page numbers right justified with dots or spaces separating
1233 the text and the page number. Spaces is used if \fItab\fP
1234 is greater than zero, otherwise dots.
1235 Other headings will have the
1236 page number directly at the end of the heading text (\fIragged right\fP).
1238 The rest of the arguments will be printed, centered, before the
1239 table of contents.
1241 The user-defined macros \fBTX\fP and \fBTY\fP are used if \fBTC\fP is called
1242 with at most four arguments. \fBRX\fP is called before the printing
1243 of \fICONTENTS\fP, and \fBTY\fP is called instead of printing \fICONTENTS\fP.
1245 String \fBCi\fP can be set to control the indentations for each heading-level.
1246 It must be scaled, like \fB.ds\ Ci\ .25i\ .5i\ .75i\ 1i\ 1i\fP.
1247 The indentation is normally controlled by the maxlength of headings
1248 in each level.
1250 All texts can be redefined, new stringvariables 
1251 \fILifg\fP, \fILitb\fP, \fILiex\fP, \fILiec\fP and \fILicon\fP contains
1252 "Figure", "TABLE", "Exhibit", "Equation" and "CONTENTS".
1253 These can be redefined to other languages.
1255 .B TE
1256 Table end. See \fBTS\fP.
1258 .B "TH [N]"
1259 Table header. See \fBTS\fP.
1260 \fBTH\fP ends the header of the table. This header will
1261 be printed again if a page-break occurs.
1262 Argument \fIN\fP isn't implemented yet.
1264 .B TL [charging-case number(s) [filing-case number(s)]
1265 Begin title of memorandum.
1266 All text up to the next \fBAU\fP is included in the title.
1267 \fICharging-case number\fP and \fIfiling-case\fP is saved
1268 for use in the front page processing.
1270 .B TM [num1 [num2 [...]]]
1271 Technical memorandumnumbers used in \fB.MT\fP. Unlimited number
1272 of arguments may be given.
1274 .B TP
1275 Top of page user-defined macro.
1276 This macro is called instead of the normal page header. It is
1277 possible to get complete control over the header.
1278 Note that header and footer is printed in a separate environment.
1279 Linelength is preserved though.
1281 .B "TS [H]"
1282 Table start. This is the start of a table specification
1283 to \fB@TMAC@tbl\fP. See separate manual for \fB@TMAC@tbl\fP.
1284 \fBTS\fP ends with \fBTE\fP.
1285 Argument \fIH\fP tells \fBm@TMAC@m\fP that the table
1286 has a header. See \fBTH\fP.
1288 .B TX
1289 Userdefined table of contents exit.
1290 This macro is called just before \fBTC\fP prints the word \fICONTENTS\fP.
1291 See \fBTC\fP.
1293 .B TY
1294 Userdefined table of contents exit (no "CONTENTS").
1295 This macro is called instead of printing \fICONTENTS\fP.
1296 See \fBTC\fP.
1298 .B VERBON [flag [pointsize [font]]]
1299 Begin verbatim output using courier font.
1300 Usually for printing programs.
1301 All character has equal width.
1302 The pointsize can be changed with
1303 the second argument. By specifying the font-argument
1304 it is possible to use another font instead of courier.
1305 \fIflag\fP control several special features.
1306 It contains the sum of all wanted features.
1307 .in +.5i
1308 .T2 Value
1309 Description
1310 .T2 1
1311 Disable the escape-character (\e). This is normally turned on during
1312 verbose output.
1313 .T2 2
1314 Add en empty line before the verbose text.
1315 .T2 4
1316 Add en empty line after the verbose text.
1317 .T2 8
1318 Print the verbose text with numbered lines. This adds four digitsized
1319 spaces in the beginning of each line. Finer control is available with
1320 the string-variable \fBVerbnm\fP. It contains all arguments to the
1321 \fBtroff\fP-command \fB.nm\fP, normally '1'.
1322 .T2 16
1323 Indent the verbose text with five 'n':s. This is controlled by the
1324 number-variable \fBVerbin\fP (in units).
1327 .B VERBOFF
1328 End verbatim output.
1330 .B "VL text-indent [mark-indent [1]]"
1331 Variable-item list has no fixed mark, it assumes that
1332 every \fBLI\fP have a mark instead.
1333 \fIText-indent\fP sets the indent to the text, and \fImark-indent\fP
1334 the distance from the current indent to the mark.
1335 A third argument will prohibit printing of a blank line before each
1336 item.
1338 .B "VM [top [bottom]]"
1339 Vertical margin.
1341 .B "WA [writer-name [title]]
1342 Begins specification of the writer and writer's address.
1343 Several names can be specified with empty \fBWA\fP/\fBWE\fP-pairs, but
1344 only one address.
1346 .B WE
1347 Ends the address-specification after \fP.WA\fP.
1349 .B "WC [format]"
1350 Footnote and display width control.
1351 .in +.5i
1352 .T2 N
1353 Set default mode, \fB-WF\fP, \fB-FF\fP, \fB-WD\fP and \fBFB\fP.
1354 .T2 WF
1355 Wide footnotes, wide also in two-column mode.
1356 .T2 -WF
1357 Normal footnote width, follow column mode.
1358 .T2 FF
1359 All footnotes gets the same width as the first footnote encountered.
1360 .T2 -FF
1361 Normal footnotes, width follows \fBWF\fP and \fB-WF\fP.
1362 .T2 WD
1363 Wide displays, wide also in two-column mode.
1364 .T2 -WD
1365 Normal display width, follow column mode.
1366 .T2 FB
1367 Floating displays generates a line break when printed on the current page.
1368 .T2 -FB
1369 Floating displays does not generate line break.
1371 .sp 3
1373 .\"########################################################################
1375 .B "Strings used in m@TMAC_M_PREFIX@m:"
1377 .B App
1378 A string containing the word "APPENDIX".
1380 .B "EM"
1381 Em dash string
1383 .B HF
1384 Fontlist for headings, normally "2 2 2 2 2 2 2".
1385 Nonnumeric fontnames may also be used.
1387 .B HP
1388 Pointsize list for headings. Normally "0 0 0 0 0 0 0" which is the same as
1389 "10 10 10 10 10 10 10".
1391 .B Lifg
1392 String containing \fIFigure\fP.
1394 .B Litb
1395 String containing \fITABLE\fP.
1397 .B Liex
1398 String containing \fIExhibit\fP.
1400 .B Liec
1401 String containing \fIEquation\fP.
1403 .B Licon
1404 String containing \fICONTENTS\fP.
1406 .B Lf
1407 Contains "LIST OF FIGURES".
1409 .B Lt
1410 Contains "LIST OF TABLES".
1412 .B Lx
1413 Contains "LIST OF EXHIBITS".
1415 .B Le
1416 Contains "LIST OF EQUATIONS".
1418 .B Letfc
1419 Contains "Yours very truly,", used in \fB.FC\fP.
1421 .B Letapp
1422 Contains "APPROVED:", used in \fB.AV.\fP.
1424 .B Letdate
1425 Contains "Date", used in \fB.AV.\fP.
1427 .B LetCN
1428 Contains "CONFIDENTIAL", used in \fB.LO CN\fP.
1430 .B LetSA
1431 Contains "To Whom It May Concern:", used in \fB.LO SA\fP.
1433 .B LetAT
1434 Contains "ATTENTION:", used in \fB.LO AT\fP.
1436 .B LetSJ
1437 Contains "SUBJECT:", used in \fB.LO SJ\fP.
1439 .B LetRN
1440 Contains "In reference to:", used in \fB.LO RN\fP.
1442 .B Letns
1443 is an array containing the different strings used in \fB.NS\fP.
1444 It is really a number of stringvariables prefixed with \fBLetns!\fP.
1445 If the argument doesn't exist, it will be included
1446 between \fB()\fP with \fBLetns!copy\fP as prefix and \fBLetns!to\fP as suffix.
1447 Observe the space after \fBcopy\fP and before \fBto\fP.
1449 .ta 1.5i
1450 \fBName Value\fP
1451 Letns!0 Copy to
1452 Letns!1 Copy (with att.) to
1453 Letns!2 Copy (without att.) to
1454 Letns!3 Att.
1455 Letns!4 Atts.
1456 Letns!5 Enc.
1457 Letns!6 Encs.
1458 Letns!7 Under separate cover
1459 Letns!8 Letter to
1460 Letns!9 Memorandum to
1461 Letns!10        Copy (with atts.) to
1462 Letns!11        Copy (without atts.) to
1463 Letns!12        Abstract Only to
1464 Letns!13        Complete Memorandum to
1465 Letns!14        CC
1466 Letns!copy      Copy "
1467 Letns!to        " to
1470 .B Letnsdef
1471 Defines the standard-notation used when no argument is given
1472 to \fB.NS\fP. Default is \fB0\fP.
1474 .B "MO1 - MO12"
1475 Strings containing \fIJanuary\fP thru \fIDecember\fP.
1477 .B Qrf
1478 String containing "See chapter \e\e*[Qrfh], page \e\en[Qrfp].".
1480 .B Rp
1481 Contains "REFERENCES".
1483 .B Tm
1484 Contains \e(tm, trade mark.
1486 .B Verbnm
1487 Argument to \fB.nm\fP in \fB.VERBON\fP, default: \fB1\fP.
1488 .\"-----------------------------------
1490 .B "Number variables used in m@TMAC_M_PREFIX@m:"
1492 .B Aph
1493 Print an appendix-page for every new appendix 
1494 if this numbervariable is non-zero.
1495 No output will occur if \fBAph\fP is zero, but there will always
1496 be an appendix-entry in the 'List of contents'.
1498 .B Cl
1499 Contents level [0:7], contents saved if heading level <= Cl, default 2.
1501 .B Cp
1502 Eject page between LIST OF XXXX if Cp == 0, default 0.
1504 .B D
1505 Debugflag, values >0 produces varying degree of debug. A value of 1
1506 gives information about the progress of formatting, default 0.
1508 .B De
1509 Eject after floating display is output [0:1], default 0.
1511 .B Df
1512 Floating keep output [0:5], default 5.
1514 .B Ds
1515 space before and after display if == 1 [0:1], default 1.
1517 .B Ej
1518 Eject page, default 0.
1520 .B Eq
1521 Equation lable adjust 0=left, 1=right. Default 0.
1523 .B Fs
1524 Footnote spacing, default 1.
1526 .B "H1-H7"
1527 Heading counters
1529 .B Hb
1530 Heading break level [0:7], default 2.
1532 .B Hc
1533 Heading centering level, [0:7]. Default 0.
1535 .B Hi
1536 Heading temporary indent [0:2], default 1.
1538 0\ ->\ 0 indent, left margin
1540 1\ ->\ indent to right , like .P 1
1542 2\ ->\ indent to line up with text part of preceding heading
1544 .B Hps
1545 Numbervariable with the heading pre-space level. If the heading-level
1546 is less than or equal to \fBHps\fP, then two lines will precede the
1547 section heading instead of one. Default is first level only.
1548 The real amount of lines is controlled by the variables \fBHps1\fP and
1549 \fBHps2\fP.
1551 .B Hps1
1552 This is the number of lines preceding \fB.H\fP when the heading-level
1553 is greater than \fBHps\fP. Value is in units, normally 0.5v.
1555 .B Hps2
1556 This is the number of lines preceding \fB.H\fP when the heading-level
1557 is less than or equal to \fBHps\fP. Value is in units, normally 1v.
1559 .B Hs
1560 Heading space level [0:7], default 2.
1562 .B Ht
1563 Heading numbering type, default 0.
1564 0 -> multiple (1.1.1 ...)
1566 1 -> single
1568 .B Hu
1569 Unnumbered heading level, default 2.
1571 .B Hy
1572 Hyphenation in body, default 1.
1574 0\ ->\ no hyphenation
1576 1\ ->\ hyphenation 14 on
1578 .B Letwam
1579 Max lines in return-address, used in \fB.WA\fP/\fB.WE\fP. Default 14.
1581 .B "Lf, Lt, Lx, Le"
1582 Enables (1) or disables (0) the printing of List of figures,
1583 List of tables, List of exhibits and List of equations.
1584 Default: Lf=1, Lt=1, Lx=1, Le=0.
1586 .B Li
1587 List indent, used by .AL, default 6.
1589 .B Ls
1590 List space, if current listlevel > Ls then no spacing will occur around lists.
1591 Default 99.
1593 .B Lsp
1595 The size of an empty line. Normally 0.5v, but it is 1v 
1596 if \fBn\fP is set (\fB.nroff\fP).
1598 .B N
1599 Numbering style [0:5], default 0.
1601 0\ ==\ (default) normal header for all pages.
1603 1\ ==\ header replaces footer on first page, header is empty.
1605 2\ ==\ page header is removed on the first page.
1607 3\ ==\ "section-page" numbering enabled.
1609 4\ ==\ page header is removed on the first page.
1611 5\ ==\ "section-page" and "section-figure" numbering enabled.
1612 Se also the number-register Sectf and Sectp.
1614 .B Np
1615 Numbered paragraphs, default 0.
1617 0\ ==\ not numbered
1619 1\ ==\ numbered in first level headings.
1621 .B Of
1622 Format of figure,table,exhibit,equation titles, default 0.
1624 0\ =\ ". "
1626 1\ =\ " - "
1628 .B P
1629 Current page-number, normally the same as % unless "section-page" numbering
1630 is enabled.
1632 .B Pi
1633 paragraph indent, default 5.
1635 .B Pgps
1636 Controls whether header and footer pointsize should follow the current
1637 setting or just change when the header and footer is defined.
1638 .in +.5i
1639 .ti -.5i
1640 .T2 Value
1641 Description
1642 .T2 0
1643 Pointsize will only change to the current setting when \fB.PH\fP, \fB.PF\fP,
1644 \&\fB.OH\fP, \fP.EH\fP, \fB.OF\fP or \fB.OE\fP is executed.
1645 .T2 1
1646 Pointsize will change after every \fB.S\fP. This is the default.
1649 .B Ps
1650 paragraph spacing, default 1.
1652 .B Pt
1653 Paragraph type, default 0.
1655 0\ ==\ left-justified
1657 1\ ==\ indented .P
1659 2\ ==\ indented .P except after .H, .DE or .LE.
1661 .B Sectf
1662 Flag controlling "section-figures". A non-zero value enables this.
1663 Se also register N.
1665 .B Sectp
1666 Flag controlling "section-page-numbers". A non-zero value enables this.
1667 Se also register N.
1669 .B Si
1670 Display indent, default 5.
1672 .B Verbin
1673 Indent for \fB.VERBON\fP, default 5n.
1675 .B .mgm
1676 Always 1.
1678 .SH INTERNALS
1679 The letter macros is using different submacros depending on
1680 the letter type. The name of the submacro has the letter type
1681 as suffix. It is therefore possible to define other letter types, either
1682 in the national macro-file, or as local additions.
1683 \&\fB.LT\fP will set the number variables \fBPt\fP and \fBPi\fP to 5 and 0.
1684 The following strings and macros must be defined for a new letter type:
1686 \fBlet@init_\fP\fItype\fP
1687 This macro is called directly by \fB.LT\fP. It is supposed to initialize
1688 variables and other stuff.
1690 \fBlet@head_\fP\fItype\fP
1691 This macro prints the letter head, and is called instead of the
1692 normal page header. It is supposed to remove the alias \fBlet@header\fP,
1693 otherwise it will be called for all pages.
1695 \fBlet@sg_\fP\fItype\ name\ title\ n\ flag\ [arg1\ [arg2\ [...]]]\fP
1696 \&\fB.SG\fP is calling this macro only for letters, memorandums has
1697 its own processing. \fIname\fP and \fItitle\fP is specified
1698 thru \fB.WA\fP/\fB.WB\fP. \fIn\fP is the counter, 1-max, and
1699 \fIflag\fP is true for the last name. Any other argument to \fB.SG\fP
1700 is appended.
1702 \fBlet@fc_\fP\fItype\ closing\fP
1703 This macro is called by \fB.FC\fP, and has the
1704 formal closing as argument.
1706 \&\fB.LO\fP is implemented as a general option-macro. \fB.LO\fP demands
1707 that a string named \fBLet\fP\fItype\fP is defined, where \fItype\fP
1708 is the letter type.
1709 \&\fB.LO\fP will then assign the argument to the string
1710 variable \fBlet*lo-\fP\fItype\fP.
1712 .\".SH BUGS
1713 .SH AUTHOR
1714 Jörgen Hägg, Lund, Sweden <jh@axis.se>.
1715 .SH FILES
1717 .B @MACRODIR@/tmac.@TMAC_M_PREFIX@m
1719 .B @TMAC_MDIR@/*.cov
1721 .B @TMAC_MDIR@/*.MT
1723 .B @TMAC_MDIR@/locale
1724 .SH "SEE ALSO"
1725 .BR groff (@MAN1EXT@),
1726 .BR @g@troff (@MAN1EXT@),
1727 .BR @g@tbl (@MAN1EXT@),
1728 .BR @g@pic (@MAN1EXT@),
1729 .BR @g@eqn (@MAN1EXT@)
1731 .BR mm (@MAN7EXT@)
1732 .BR m@TMAC_M_PREFIX@mse (@MAN7EXT@)