groff: update vendor branch to v1.20.1
[dragonfly.git] / contrib / groff / contrib / mm / groff_mm.man
CommitLineData
4d3e9548
JL
1'\" t
2.ig
3Copyright (C) 1989, 2000, 2001, 2002, 2003, 2006, 2007, 2009
4 Free Software Foundation, Inc.
5
6Permission is granted to make and distribute verbatim copies of
7this manual provided the copyright notice and this permission notice
8are preserved on all copies.
9
10Permission is granted to copy and distribute modified versions of this
11manual under the conditions for verbatim copying, provided that the
12entire resulting derived work is distributed under the terms of a
13permission notice identical to this one.
14
15Permission is granted to copy and distribute translations of this
16manual into another language, under the above conditions for modified
17versions, except that this permission notice may be included in
18translations approved by the Free Software Foundation instead of in
19the original English.
92d0a6a6
JR
20..
21.
22.TH GROFF_MM @MAN7EXT@ "@MDATE@" "Groff Version @VERSION@"
4d3e9548
JL
23.
24.
92d0a6a6 25.SH NAME
4d3e9548 26.
92d0a6a6 27groff_mm \- groff mm macros
4d3e9548
JL
28.
29.
92d0a6a6 30.SH SYNOPSIS
4d3e9548 31.
92d0a6a6
JR
32.B groff
33.B \-m@TMAC_M_PREFIX@m
34[
4d3e9548 35.IR options .\|.\|.\&
92d0a6a6
JR
36]
37[
4d3e9548 38.IR files .\|.\|.\&
92d0a6a6 39]
4d3e9548
JL
40.
41.
92d0a6a6 42.SH DESCRIPTION
4d3e9548 43.
92d0a6a6
JR
44The groff mm macros are intended to be compatible with the DWB mm macros
45with the following limitations:
4d3e9548 46.
92d0a6a6
JR
47.TP
48.B \(bu
4d3e9548
JL
49No Bell Labs localisms are implemented.
50.
92d0a6a6
JR
51.TP
52.B \(bu
4d3e9548
JL
53The macros OK and PM are not implemented.
54.
92d0a6a6
JR
55.TP
56.B \(bu
4d3e9548
JL
57groff mm does not support cut marks.
58.
92d0a6a6 59.LP
4d3e9548
JL
60.B m@TMAC_M_PREFIX@m
61is intended to support easy localization.
62Use
63.B m@TMAC_M_PREFIX@mse
64as an example how to adapt the output format to a national standard.
65Localized strings are collected in the file
66.RI `@MACRODIR@/ xx .tmac',
67where
68.I xx
69denotes the two-letter code for the
70.IR language ,
71as defined in the ISO 639 standard.
72For Swedish,
73this is `sv.tmac' \[en]
74not `se',
75which is the ISO 3166 two-letter code for the
76.I country
77(as used for the output format localization).
78.
92d0a6a6
JR
79.\"########################################################################
80.LP
4d3e9548
JL
81A file called
82.B locale
83or
84.IB country _locale
85is read after the initialization of the global variables.
86It is therefore possible to localize the macros with a different company
87name and so on.
88.
89.LP
90In this manual,
91square brackets are used to show optional arguments.
92.
93.
94.SS "Number registers and strings"
95.
92d0a6a6 96Many macros can be controlled by number registers and strings.
4d3e9548
JL
97A number register is assigned with the
98.B nr
99command:
100.
101.RS
102.LP
103.BI .nr\ "XXX \fR[\fP\fB\[+-]\fP\fR]\fPn \fR[\fPi\fR]\fP
104.RE
105.
106.LP
107.I XXX
108is the name of the register,
109.I n\c
110\~is the value to be assigned, and
111.I i\c
112\~is the increment value for auto-increment.
113.I n\c
114\~can have a plus or minus sign as a prefix if an increment
92d0a6a6 115or decrement of the current value is wanted.
4d3e9548
JL
116(Auto-increment or auto-decrement occurs if the number register is
117used with a plus or minus sign,
118.BI \[rs]n+[ XXX ]
119or
120.BI \[rs]n-[ XXX ]\fR.)\fP
121.
122.LP
123Strings are defined with
124.BR ds .
125.
126.RS
127.LP
92d0a6a6 128\fB\&.ds\fP \fIYYY string\fP
4d3e9548
JL
129.RE
130.
131.LP
132The string is assigned everything to the end of the line,
133even blanks.
134Initial blanks in
135.I string
136should be prefixed with a double-quote.
137(Strings are used in the text as
138.BI \[rs]*[ YYY ]\fR.)\fP
139.
140.
141.SS "Special formatting of number registers"
142.
92d0a6a6
JR
143A number register is printed with normal digits if no format has been
144given.
4d3e9548
JL
145Set the format with
146.BR af :
147.
148.RS
92d0a6a6 149.LP
4d3e9548
JL
150.BI .af\ "R c"
151.RE
152.
153.LP
154.I R\c
155\~is the name of the register,
156.I c\c
157\~is the format.
158.
159.RS
160.LP
161.TS
162tab(@);
163lb lb
164l l.
165Form@Sequence
1661@0, 1, 2, 3, .\|.\|.
167001@000, 001, 002, 003, .\|.\|.
168i@0, i, ii, iii, iv, .\|.\|.
169I@0, I, II, III, IV, .\|.\|.
170a@0, a, b, c, .\|.\|., z, aa, ab, .\|.\|.
171A@0, A, B, C, .\|.\|., Z, AA, AB, .\|.\|.
172.TE
173.RE
174.
175.
176.SS Fonts
177.
178In
179.BR m@TMAC_M_PREFIX@m ,
180the fonts (or rather, font styles)
181.B R\c
182\~(normal),
183.B I\c
184\~(italic), and
185.B B\c
186\~(bold) are hardwired to font positions
187.BR 1 ,
188.BR 2 ,
189and\~\c
190.BR 3 ,
191respectively.
192Internally, font positions are used for backwards compatibility.
193From a practical point of view it doesn't make a big difference \[en]
194a different font family can still be selected with a call to the
195.B .fam
196request or using
197.BR groff 's
198.B \-f
199command line option.
200On the other hand, if you want to replace just, say, font
201.BR B ,
202you have to replace the font at position\~2 (with a call to
203`.fp\~2\~.\|.\|.').
204.
205.
206.SS Macros
207.
92d0a6a6 208.TP
4d3e9548
JL
209.BI )E\ "level text"
210Add heading text
211.I text
212to the table of contents with
213.IR level ,
214which is either\~0 or in the range 1 to\~7.
215See also
216.BR .H .
217This macro is used for customized tables of contents.
218.
219.TP
220.BR 1C\ [ 1 ]
221Begin one-column processing.
222A\~\c
223.B 1
224as an argument disables the page break.
225Use wide footnotes,
226small footnotes may be overprinted.
227.
92d0a6a6
JR
228.TP
229.B 2C
4d3e9548 230Begin two-column processing.
92d0a6a6 231Splits the page in two columns.
4d3e9548
JL
232It is a special case of
233.BR MC .
234See also
235.BR 1C .
236.
92d0a6a6
JR
237.TP
238.B AE
4d3e9548
JL
239Abstract end,
240see
241.BR AS .
242.
243.TP
244.BI AF\ \fR[\fP name-of-firm \fR]\fP
245Author's firm, should be called before
246.BR AU ,
247see also
248.BR COVER .
249.
250.TP
251.BI AL\ \fR[\fPtype\ \fR[\fPtext-indent\ \fR[\fP1\fR]]]\fP
252Start auto-increment list.
253Items are numbered beginning with one.
254The
255.I type
256argument controls the format of numbers.
257.
258.RS
259.IP
260.TS
261tab(@);
262lb lb
263l l.
264Arg@Description
2651@Arabic (the default)
266A@Upper-case letters (A-Z)
267a@Lower-case letters (a-z)
268I@Upper-case roman
269i@Lower-case roman
270.TE
271.RE
272.
273.IP
274.I text-indent
275sets the indentation and overrides
276.BR Li .
277A third argument prohibits printing of a blank line before each item.
278.
279.TP
280.BI APP\ "name text"
281Begin an appendix with name
282.IR name .
92d0a6a6 283Automatic naming occurs if
4d3e9548
JL
284.I name
285is
286.BR \[dq]\[dq] .
287The appendices start with\~\c
288.B A
289if automatic naming is used.
290A new page is ejected,
291and a header is also produced if the number variable
292.B Aph
293is non-zero.
92d0a6a6 294This is the default.
4d3e9548
JL
295The appendix always appears in the `List of contents' with correct
296page numbers.
297The name `APPENDIX' can be changed by setting the string
298.B App
299to the desired text.
300The string
301.B Apptxt
302contains the current appendix text.
303.
304.TP
305.BI APPSK\ "name pages text"
306Same as
307.BR .APP ,
308but the page number is incremented with
309.IR pages .
92d0a6a6 310This is used when diagrams or other non-formatted documents are
4d3e9548
JL
311included as appendices.
312.
92d0a6a6 313.TP
4d3e9548 314.BI AS\ "\fR[\fParg \fR[\fPindent\fR]]\fP"
92d0a6a6 315Abstract start.
4d3e9548
JL
316Indentation is specified in `ens',
317but scaling is allowed.
318Argument
319.I arg
320controls where the abstract is printed.
321.
322.RS
323.TS
324tab(@);
325lb lb
326l lx.
327\fBArg@Placement\fP
3280@T{
329Abstract is printed on page\~1 and on the cover sheet if used in the
330released-paper style (\fBMT 4\fP),
331otherwise it is printed on page\~1 without a cover sheet.
332T}
3331@Abstract is only printed on the cover sheet (\fBMT 4\fP only).
3342@T{
335Abstract is printed only on the cover sheet (other than \fBMT 4\fP only).
336The cover sheet is printed without a need for \fBCS\fP.
337T}
338.TE
339.RE
340.
341.IP
342An abstract is not printed at all in external letters (\fBMT 5\fP).
343The
344.I indent
345parameter controls the indentation of both margins,
346otherwise normal text indentation is used.
347.
348.TP
349.BI AST\ \fR[\fPtitle\fR]\fP
92d0a6a6 350Abstract title.
4d3e9548 351Default is `ABSTRACT'.
92d0a6a6 352Sets the text above the abstract text.
4d3e9548 353.
92d0a6a6 354.TP
4d3e9548
JL
355.BI AT\ "title1 \fR[\fPtitle2 \fR[.\|.\|.]]\fP"
356Author's title.
357.B AT
358must appear just after each
359.BR AU .
360The title shows up after the name in the signature block.
361.
92d0a6a6 362.TP
4d3e9548
JL
363.BI AU\ "\fR[\fPname \fR[\fPinitials \fR[\fPloc \fR[\fPdept \fR[\fPext \fR[\fProom \fR[\fParg \fR[\fParg \fR[\fParg\fR]]]]]]]]]\fP"
364Author information.
365Specifies the author of the memo or paper,
366and is printed on the cover sheet and on other similar places.
367.B AU
368must not appear before
369.BR TL .
92d0a6a6
JR
370The author information
371can contain initials, location, department, telephone extension,
372room number or name and up to three extra arguments.
4d3e9548 373.
92d0a6a6 374.TP
4d3e9548
JL
375.BI AV\ \fR[\fPname\ \fR[\fP1\fR]]\fP
376Approval signature.
377Generates an approval line with place for signature and date.
378The string `APPROVED:' can be changed with variable
379.BR Letapp ;
380it is replaced with an empty lin if there is a second argument.
381The string `Date' can be changed with variable
382.BR Letdate .
383.
92d0a6a6 384.TP
4d3e9548
JL
385.BI AVL\ \fR[\fPname\fR]\fP
386Letter signature.
387Generates a line with place for signature.
388.
92d0a6a6 389.TP
4d3e9548 390.BI B\ "\fR[\fPbold-text \fR[\fPprev-font-text \fR[\fPbold \fR[.\|.\|.]]]]\fP"
92d0a6a6
JR
391Begin boldface.
392No limit on the number of arguments.
4d3e9548
JL
393All arguments are concatenated to one word;
394the first, third and so on is printed in boldface.
395.
92d0a6a6
JR
396.TP
397.B B1
398Begin box (as the ms macro).
399Draws a box around the text.
4d3e9548
JL
400The text is indented one character,
401and the right margin is one character shorter.
402.
92d0a6a6
JR
403.TP
404.B B2
405End box.
4d3e9548
JL
406Finishes the box started with
407.BR B1 .
408.
92d0a6a6
JR
409.TP
410.B BE
4d3e9548
JL
411End bottom block,
412see
413.BR BS .
414.
92d0a6a6 415.TP
4d3e9548 416.BI BI\ "\fR[\fPbold-text \fR[\fPitalic-text \fR[\fPbold-text \fR[.\|.\|.]]]]\fP"
92d0a6a6 417Bold-italic.
4d3e9548
JL
418No limit on the number of arguments,
419see\~\c
420.BR B .
421.
422.TP
423.BI BL\ \fR[\fPtext-indent\ \fR[\fP1\fR]]\fP
424Start bullet list.
425Initializes a list with a bullet and a space in the beginning of each
426list item (see
427.BR LI ).
428.I text-indent
429overrides the default indentation of the list items set by number register
430.BR Pi .
431A third argument prohibits printing of a blank line before each item.
432.
433.TP
434.BI BR\ "\fR[\fPbold-text \fR[\fProman-text \fR[\fPbold-text \fR[.\|.\|.]]]]\fP"
92d0a6a6
JR
435Bold-roman.
436No limit on the number of arguments.
4d3e9548 437.
92d0a6a6
JR
438.TP
439.B BS
440Bottom block start.
4d3e9548
JL
441Begins the definition of a text block which is printed at the bottom
442of each page.
443The block ends with
444.BR BE .
445.
446.TP
447.BI BVL\ "text-indent \fR[\fPmark-indent\ " \fR[\fP1\fR]]\fP
448Start of broken variable-item list.
449Broken variable-item list has no fixed mark,
450it assumes that every
451.B LI
452has a mark instead.
453The text always begins at the next line after the mark.
454.I text-indent
455sets the indentation to the text, and
456.I mark-indent
457the distance from the current indentation to the mark.
458A third argument prohibits printing of a blank line before each item.
459.
460.TP
461.BI COVER\ \fR[\fParg\fR]\fP
462Begin a coversheet definition.
463It is important that
464.B .COVER
465appears before any normal text.
466This macro uses
467.I arg
468to build the filename
469`@TMAC_MDIR@/\fIarg\fP.cov'.
470Therefore it is possible to create unlimited types of cover sheets.
471`ms.cov' is supposed to look like the ms cover sheet.
472.B .COVER
473requires a
474.B .COVEND
475at the end of the cover definition.
476Always use this order of the cover macros:
477.
478.RS
479.IP
92d0a6a6
JR
480.nf
481\&.COVER
482\&.TL
483\&.AF
484\&.AU
485\&.AT
486\&.AS
487\&.AE
488\&.COVEND
489.fi
4d3e9548
JL
490.RE
491.
492.IP
493However, only
494.B .TL
495and
496.B .AU
497are required.
498.
92d0a6a6
JR
499.TP
500.B COVEND
4d3e9548 501Finish the cover description and print the cover page.
92d0a6a6 502It is defined in the cover file.
4d3e9548 503.
92d0a6a6
JR
504.TP
505.B DE
506Display end.
4d3e9548
JL
507Ends a block of text or display that begins
508with
509.B DS
510or
511.BR DF .
512.
92d0a6a6 513.TP
4d3e9548 514.BI DF\ "\fR[\fPformat \fR[\fPfill \fR[\fPrindent\fR]]]\fP"
92d0a6a6 515Begin floating display (no nesting allowed).
4d3e9548
JL
516A floating display is saved in a queue and is printed in the order entered.
517.IR Format ,
518.IR fill ,
519and
520.I rindent
521are the same as in
522.BR DS .
523Floating displays are controlled by the two number registers
524.B De
525and
526.BR Df .
527.
528.IP
529.B De register
530.
531.RS
532.IP
533.TS
534tab(@);
535l lx.
5360@T{
92d0a6a6 537Nothing special, this is the default.
4d3e9548
JL
538T}
5391@T{
540A page eject occurs after each printed display,
541giving only one display per page and no text following it.
542T}
543.TE
544.RE
545.
546.IP
547.B Df register
548.
549.RS
550.IP
551.TS
552tab(@);
553l lx.
5540@T{
92d0a6a6
JR
555Displays are printed at the end of each section (when section-page
556numbering is active) or at the end of the document.
4d3e9548
JL
557T}
5581@T{
559A new display is printed on the current page if there is enough space,
560otherwise it is printed at the end of the document.
561T}
5622@T{
563One display is printed at the top of each page or column
92d0a6a6 564(in multi-column mode).
4d3e9548
JL
565T}
5663@T{
567Print one display if there is enough space for it,
568otherwise it is printed at the top of the next page or column.
569T}
5704@T{
571Print as many displays as possible in a new page or column.
572A page break occurs between each display if
573.B De
574is not zero.
575T}
5765@T{
92d0a6a6
JR
577Fill the current page with displays and the rest beginning at a new page
578or column.
579(This is the default.)
4d3e9548 580A page break occurs between each display
92d0a6a6 581if \fBDe\fP is not zero.
4d3e9548
JL
582T}
583.TE
584.RE
585.RE
586.
92d0a6a6 587.TP
4d3e9548 588.BI DL\ \fR[\fPtext-indent\ "\fR[\fP\fB1\fP \fR[\fP\fB1\fP\fR]]]\fP"
92d0a6a6 589Dash list start.
4d3e9548
JL
590Begins a list where each item is printed after a dash.
591.I text-indent
592changes the default indentation of the list items set by
593number register
594.BR Pi .
595A second argument prevents an empty line between each list item.
596See
597.BR LI .
598A third argument prohibits printing of a blank line before each item.
599.
600.TP
601.BI DS\ "\fR[\fPformat \fR[\fPfill \fR[\fPrindent\fR]]]\fP"
92d0a6a6 602Static display start.
4d3e9548
JL
603Begins collection of text until
604.BR DE .
605The text is printed together on the same page,
606unless it is longer than the height of the page.
607.B DS
608can be nested arbitrarily.
609.
610.IP
611.B format
612.
613.RS
614.IP
615.TS
616tab(@);
617l lx.
618\[dq]\[dq]@No indentation.
619none@No indentation.
620L@No indentation.
621I@T{
622Indent text with the value of number register
623.BR Si .
624T}
625C@Center each line.
626CB@Center the whole display as a block.
627R@Right-adjust the lines.
628RB@Right-adjust the whole display as a block.
629.TE
630.RE
631.
632.IP
633The values `L', `I', `C', and `CB' can also be specified as
634`0', `1', `2', and `3', respectively,
635for compatibility reasons.
636.
637.IP
638.B fill
639.
640.RS
641.IP
642.TS
643tab(@);
644l l.
645\[dq]\[dq]@Line-filling turned off.
646none@Line-filling turned off.
647N@Line-filling turned off.
648F@Line-filling turned on.
649.TE
650.RE
651.
652.IP
653`N' and `F' can also be specified as `0' and `1', respectively.
654.
655.IP
656By default, an empty line is printed before and after the display.
657Setting number register
658.B Ds
659to\~0 prevents this.
660.I rindent
661shortens the line length by that amount.
662.
92d0a6a6 663.TP
4d3e9548 664.BI EC\ "\fR[\fPtitle \fR[\fPoverride \fR[\fPflag \fR[\fPrefname\fR]]]]\fP"
92d0a6a6
JR
665Equation title.
666Sets a title for an equation.
4d3e9548
JL
667The
668.I override
669argument changes the numbering.
670.
671.IP
672.B flag
673.
674.RS
675.IP
676.TS
677tab(@);
678l lx.
679none@T{
680.I override
681is a prefix to the number.
682T}
6830@T{
684.I override
685is a prefix to the number.
686T}
6871@T{
688.I override
689is a suffix to the number.
690T}
6912@T{
692.I override
693replaces the number.
694T}
695.TE
696.RE
697.
698.IP
699.B EC
700uses the number register
701.B Ec
702as a counter.
703It is possible to use
704.B .af
705to change the format of the number.
706If number register
707.B Of
708is\~1,
709the format of title uses a dash instead of a dot after the number.
710.
711.IP
712The string
713.B Le
714controls the title of the List of Equations;
715default is `LIST OF EQUATIONS'.
716The List of Equations is only printed if number register
717.B Le
718is\~1.
719The default is\~0.
720The string
721.B Liec
722contains the word `Equation',
723which is printed before the number.
724If
725.I refname
726is used,
727then the equation number is saved with
728.BR .SETR ,
729and can be retrieved with `\fB.GETST\fP \fIrefname\fP'.
730.
731.IP
732Special handling of the title occurs if
733.B EC
734is used inside
735.BR DS / DE ;
736it is not affected by the format of
737.BR DS .
738.
92d0a6a6 739.TP
4d3e9548
JL
740.BI EF\ \fR[\fParg\fR]\fP
741Even-page footer,
742printed just above the normal page footer on even pages.
743See
744.BR PF .
745.
746.IP
747This macro defines string
748.BR EOPef .
749.
92d0a6a6 750.TP
4d3e9548
JL
751.BI EH\ \fR[\fParg\fR]\fP
752Even-page header,
753printed just below the normal page header on even pages.
754See
755.BR PH .
756.
757.IP
758This macro defines string
759.BR TPeh .
760.
92d0a6a6
JR
761.TP
762.B EN
4d3e9548
JL
763Equation end, see
764.BR EQ .
765.
92d0a6a6
JR
766.TP
767.B EOP
4d3e9548
JL
768End-of-page user-defined macro.
769This macro is called instead of the normal printing of the footer.
770The macro is executed in a separate environment,
771without any trap active.
772See
773.BR TP .
774.
775.IP
776.B strings available to EOP
777.RS
778.TS
779tab(@);
780l l.
781EOPf@argument of \fBPF\fP
782EOPef@argument of \fBEF\fP
783EOPof@argument of \fBOF\fP
784.TE
785.RE
786.
787.TP
788.BI EPIC\ "\fR[\fP\fB\-L\fP\fR]\fP width height \fR[\fPname\fR]\fP"
789Draw a box with the given
790.I width
791and
792.IR height .
793It also prints the text
794.I name
795or a default string if
796.I name
797is not specified.
798This is used to include external pictures;
799just give the size of the picture.
800.B \-L
801left-adjusts the picture;
802the default is to center.
803See
804.BR PIC .
805.
806.TP
807.BI EQ\ \fR[\fPlabel\fR]\fP
92d0a6a6 808Equation start.
4d3e9548
JL
809.BR EQ / EN
810are the delimiters for equations written for
811.BR @g@eqn (@MAN1EXT@).
812.BR EQ / EN
813must be inside of a
814.BR DS / DE
815pair,
816except if
817.B EQ
818is used to set options for
819.B @g@eqn
820only.
821The
822.I label
823argument appears at the right margin of the equation,
824centered vertically within the
825.BR DS / DE
826block,
827unless number register
828.B Eq
829is\~1.
830Then the label appears at the left margin.
831.IP
832If there are multiple
833.BR EQ / EN
834blocks within a single
835.BR DS / DE
836pair,
837only the last equation label (if any) is printed.
838.
92d0a6a6 839.TP
4d3e9548
JL
840.BI EX\ "\fR[\fPtitle \fR[\fPoverride \fR[\fPflag \fR[\fPrefname\fR]]]]\fP"
841Exhibit title.
842The arguments are the same as for
843.BR EC .
844.B EX
845uses the number register
846.B Ex
847as a counter.
848The string
849.B Lx
850controls the title of the List of Exhibits;
851default is `LIST OF EXHIBITS'.
852The List of Exhibits is only printed if number register
853.B Lx
854is\~1,
855which is the default.
856The string
857.B Liex
858contains the word `Exhibit',
859which is printed before the number.
860If
861.I refname
862is used, the exhibit number is saved with
863.BR .SETR ,
864and can be retrieved with `\fB.GETST\fP \fIrefname\fP'.
865.
866.IP
867Special handling of the title occurs if
868.B EX
869is used inside
870.BR DS / DE ;
871it is not affected by the format of
872.BR DS .
873.
874.TP
875.BI FC\ \fR[\fPclosing\fR]\fP
876Print `Yours\~very\~truly,' as a formal closing of a letter or memorandum.
877The argument replaces the default string.
878The default is stored in string variable
879.BR Letfc .
880.
92d0a6a6 881.TP
4d3e9548 882.BI FD\ \fR[\fParg\ \fR[\fP1\fR]]\fP
92d0a6a6 883Footnote default format.
4d3e9548
JL
884Controls the hyphenation (hyphen),
885right margin justification (adjust),
886and indentation of footnote text (indent).
887It can also change the label justification (ljust).
888.
889.RS
890.IP
891.TS
892tab(@);
893lb lb lb lb lb
894l l l l l.
895arg@hyphen@adjust@indent@ljust
8960@no@yes@yes@left
8971@yes@yes@yes@left
8982@no@no@yes@left
8993@yes@no@yes@left
9004@no@yes@no@left
9015@yes@yes@no@left
9026@no@no@no@left
9037@yes@no@no@left
9048@no@yes@yes@right
9059@yes@yes@yes@right
90610@no@no@yes@right
90711@yes@no@yes@right
908.TE
909.RE
910.
911.IP
912An argument greater than or equal to 11 is considered as value\~0.
913Default for
914.B m@TMAC_M_PREFIX@m
915is 10.
916.
92d0a6a6
JR
917.TP
918.B FE
919Footnote end.
4d3e9548 920.
92d0a6a6 921.TP
4d3e9548
JL
922.BI FG\ "\fR[\fPtitle \fR[\fPoverride \fR[\fPflag \fR[\fPrefname\fR]]]]\fP"
923Figure title.
924The arguments are the same as for
925.BR EC .
926.B FG
927uses the number register
928.B Fg
929as a counter.
930The string
931.B Lf
932controls the title of the List of Figures;
933default is `LIST OF FIGURES'.
934The List of Figures is only printed if number register
935.B Lf
936is\~1, which is the default.
937The string
938.B Lifg
939contains the word `Figure',
940which is printed before the number.
941If
942.I refname
943is used, then the figure number is saved with
944.BR .SETR ,
945and can be retrieved with `\fB.GETST\fP \fIrefname\fP'.
946.
947.IP
948Special handling of the title occurs if
949.B FG
950is used inside
951.BR DS / DE ,
952it is not affected by the format of
953.BR DS .
954.
92d0a6a6 955.TP
4d3e9548 956.BI FS\ \fR[\fPlabel\fR]\fP
92d0a6a6 957Footnote start.
4d3e9548
JL
958The footnote is ended by
959.BR FE .
960By default, footnotes are automatically numbered;
961the number is available in string\~\c
962.BR F .
963Just add
964.B \[rs]*F
965in the text.
966By adding
967.IR label ,
968it is possible to have other number or names on the footnotes.
969Footnotes in displays are now possible.
970An empty line separates footnotes;
971the height of the line is controlled by number register
972.BR Fs ,
973default value is\~1.
974.
975.TP
976.BI GETHN\ "refname \fR[\fPvarname\fR]\fP"
977Include the header number where the corresponding `\fBSETR\fP \fIrefname\fP'
92d0a6a6 978was placed.
4d3e9548
JL
979This is displayed as `X.X.X.' in pass\~1.
980See
981.BR INITR .
982If
983.I varname
984is used,
985.B GETHN
986sets the string variable
987.I varname
988to the header number.
989.
92d0a6a6 990.TP
4d3e9548
JL
991.BI GETPN\ "refname \fR[\fPvarname\fR]\fP"
992Include the page number where the corresponding `\fBSETR\fP \fIrefname\fP'
92d0a6a6 993was placed.
4d3e9548
JL
994This is displayed as `9999' in pass\~1.
995See
996.BR INITR .
997If
998.I varname
999is used,
1000.B GETPN
1001sets the stringvariable
1002.I varname
1003to the page number.
1004.
1005.TP
1006.BI GETR\ refname
1007Combine
1008.B GETHN
1009and
1010.B GETPN
1011with the text `chapter' and `,\~page'.
1012The string
1013.B Qrf
1014contains the text for the reference:
1015.
1016.RS
1017.IP
1018\&.ds Qrf See chapter \[rs]\[rs]*[Qrfh], page \[rs]\[rs]*[Qrfp].
1019.RE
1020.
1021.IP
1022.B Qrf
1023may be changed to support other languages.
1024Strings
1025.B Qrfh
1026and
1027.B Qrfp
1028are set by
1029.B GETR
1030and contain the page and header number, respectively.
1031.
1032.TP
1033.BI GETST\ "refname \fR[\fPvarname\fR]\fP"
1034Include the string saved with the second argument to
1035.BR .SETR .
1036This is a dummy string in pass\~1.
1037If
1038.I varname
1039is used,
1040.B GETST
1041sets it to the saved string.
1042See
1043.BR INITR .
1044.
1045.TP
1046.BI H\ "level \fR[\fPheading-text \fR[\fPheading-suffix\fR]]\fP"
92d0a6a6 1047Numbered section heading.
4d3e9548
JL
1048Section headers can have a level between 1 and 14;
1049level\~1 is the top level.
1050The text is given in
1051.IR heading-text ,
1052and must be surrounded by double quotes if it contains spaces.
1053.I heading-suffix
1054is added to the header in the text but not in the table of contents.
1055This is normally used for footnote marks and similar things.
1056Don't use
1057.B \[rs]*F
1058in
1059.IR heading-suffix ,
1060it doesn't work.
1061A manual label must be used, see
1062.BR FS .
92d0a6a6 1063.sp
4d3e9548
JL
1064A call to the paragraph macro\~\c
1065.B P
1066directly after\~\c
1067.B H
1068is ignored.
1069.B H\c
1070\~takes care of spacing and indentation.
1071.
1072.IP
1073.B Page ejection before heading
1074.
1075.RS
1076.IP
1077Number register
1078.B Ej
1079controls page ejection before the heading.
1080By default, a level-one heading gets two blank lines before it;
1081higher levels only get one.
1082A new page is ejected before each first-level heading if number register
1083.B Ej
1084is\~1.
1085All levels below or equal the value of
1086.B Ej
1087get a new page.
1088Default value for
1089.B Ej
1090is\~0.
1091.RE
1092.
1093.IP
1094.B Heading break level
1095.
1096.RS
1097.IP
92d0a6a6 1098A line break occurs after the heading if the heading level is less
4d3e9548
JL
1099or equal to number register
1100.BR Hb .
1101Default value is\~2.
1102.RE
1103.
1104.IP
1105.B Heading space level
1106.
1107.RS
1108.IP
92d0a6a6 1109A blank line is inserted after the heading if the heading level is less
4d3e9548
JL
1110or equal to number register
1111.BR Hs .
1112Default value is\~2.
1113.
1114.IP
1115Text follows the heading on the same line if the level is greater
1116than both
1117.B Hb
1118and
1119.BR Hs .
1120.RE
1121.
1122.IP
1123.B Post-heading indent
1124.
1125.RS
1126.IP
92d0a6a6 1127Indentation of the text after the heading is controlled by number
4d3e9548
JL
1128register
1129.BR Hi .
1130Default value is\~0.
1131.
1132.IP
1133.B Hi
1134.TS
1135tab(@);
1136l lx.
11370@The text is left-justified.
11381@T{
1139Indentation of the text follows the value of number
1140register
1141.B Pt ,
1142see
1143.BR P .
1144T}
11452@T{
1146The text is lined up with the first word of the heading.
1147T}
1148.TE
1149.
1150.IP
1151.B Centered section headings
1152.
1153.RS
1154.IP
1155All headings whose level is equal or below number register
1156.B Hc
1157and also less than or equal to
1158.B Hb
1159or
1160.B Hs
1161are centerered.
1162.RE
1163.
1164.IP
1165.B Font control of the heading
1166.
1167.RS
1168.IP
1169The font of each heading level is controlled by string
1170.BR HF .
1171It contains a font number or font name for each level.
1172Default value is
1173.
1174.RS
1175.IP
1176.B 2 2 2 2 2 2 2 2 2 2 2 2 2 2
1177.RE
1178.
1179.IP
1180(all headings in italic).
1181This could also be written as
1182.
1183.RS
1184.IP
1185.B I I I I I I I I I I I I I I
1186.RE
1187.
1188.IP
1189Note that some other implementations use
1190.B 3\~3\~2\~2\~2\~2\~2
1191as the default value.
1192All omitted values are presumed to have value\~1.
1193.RE
1194.
1195.IP
1196.B Point size control
1197.
1198.RS
1199.IP
1200String
1201.B HP
1202controls the point size of each heading,
1203in the same way as
1204.B HF
1205controls the font.
1206A value of\~0 selects the default point size.
1207Default value is
1208.
1209.RS
1210.IP
1211.B 0 0 0 0 0 0 0 0 0 0 0 0 0 0
1212.RE
1213.
1214.IP
1215Beware that only the point size changes, not the vertical size.
1216The latter can be controlled by the user-specified macros
1217.B HX
1218and/or
1219.BR HZ .
1220.RE
1221.
1222.IP
1223.B Heading counters
1224.
1225.RS
1226.IP
1227Fourteen number registers named
1228.B H1
1229up to
1230.B H14
1231contain the counter for each heading level.
1232The values are printed using arabic numerals;
1233this can be changed with the macro
1234.B HM
1235(see below).
92d0a6a6 1236All marks are concatenated before printing.
4d3e9548
JL
1237To avoid this,
1238set number register
1239.B Ht
1240to\~1.
1241This only prints the current heading counter at each heading.
1242.RE
1243.
1244.IP
1245.B Automatic table of contents
1246.
1247.RS
1248.IP
1249All headings whose level is equal or below number register
1250.B Cl
1251are saved to be printed in the table of contents.
1252Default value is\~2.
1253.RE
1254.
1255.IP
1256.B Special control of the heading, user-defined macros
1257.
1258.RS
1259.IP
1260The following macros can be defined by the user to get a finer control
1261of vertical spacing, fonts, or other features.
1262Argument
1263.I level
1264is the level-argument to\~\c
1265.BR H ,
1266but\~0 for unnumbered headings (see
1267.BR HU ).
1268Argument
1269.I rlevel
1270is the real level;
1271it is set to number register
1272.B Hu
1273for unnumbered headings.
1274Argument
1275.I heading-text
1276is the text argument to
1277.B H
1278and
1279.BR HU .
1280.
1281.RS
1282.TP
1283.BI HX\ "level rlevel heading-text"
1284This macro is called just before the printing of the heading.
1285The following registers are available for
1286.BR HX .
1287Note that
1288.B HX
1289may alter
1290.BR }0 ,
1291.BR }2 ,
1292and
1293.BR ;3 .
1294.
1295.RS
1296.TP
1297.BR }0\ (string)
1298Contains the heading mark plus two spaces if
1299.I rlevel
1300is non-zero,
92d0a6a6 1301otherwise empty.
4d3e9548
JL
1302.
1303.TP
1304.BR ;0\ (register)
92d0a6a6 1305Contains the position of the text after the heading.
4d3e9548
JL
13060\~means that the text should follow the heading on the same line,
13071\~means that a line break should occur before the text,
1308and 2\~means that a blank line should separate the heading and the text.
1309.
1310.TP
1311.BR }2\ (string)
1312Contains two spaces if register
1313.B ;0
1314is\~0.
1315It is used to separate the heading from the text.
1316The string is empty if
1317.B ;0
1318is non-zero.
1319.
1320.TP
1321.BR ;3\ (register)
92d0a6a6
JR
1322Contains the needed space in units after the heading.
1323Default is 2v.
4d3e9548
JL
1324Can be used to change things like numbering
1325.RB ( }0 ),
1326vertical spacing
1327.RB ( }2 ),
92d0a6a6 1328and the needed space after the heading.
4d3e9548
JL
1329.RE
1330.
1331.TP
1332.BI HY\ "dlevel rlevel heading-text"
1333This macro is called after size and font calculations and
92d0a6a6 1334might be used to change indentation.
4d3e9548 1335.
92d0a6a6 1336.TP
4d3e9548
JL
1337.BI HZ\ "dlevel rlevel heading-text"
1338This macro is called after the printing of the heading,
1339just before
1340.B H
1341or
1342.B HU
1343exits.
1344Can be used to change the page header according to the section heading.
1345.RE
1346.RE
1347.
1348.TP
1349.BI HC\ \fR[\fPhyphenation-character\fR]\fP
92d0a6a6 1350Set hyphenation character.
4d3e9548 1351Default value is `\[rs]%'.
92d0a6a6
JR
1352Resets to the default if called without argument.
1353Hyphenation can be turned off by setting number
4d3e9548
JL
1354register
1355.B Hy
1356to\~0 at the beginning of the file.
1357.
92d0a6a6 1358.TP
4d3e9548 1359.BI HM\ "\fR[\fParg1 \fR[\fParg2 \fR[.\|.\|.\& [\fParg14\fR]]]]\fP"
92d0a6a6
JR
1360Heading mark style.
1361Controls the type of marking for printing of the heading counters.
4d3e9548
JL
1362Default is\~1 for all levels.
1363.
1364.IP
1365.B Argument
1366.
1367.TS
1368tab(@);
1369l l.
13701@Arabic numerals.
13710001@Arabic numerals with leading zeroes, one or more.
1372A@upper-case alphabetic
1373a@lower-case alphabetic
1374I@upper-case roman numerals
1375i@lower-case roman numerals
1376\[dq]\[dq]@Arabic numerals.
1377.TE
1378.
1379.TP
1380.BI HU\ heading-text
92d0a6a6 1381Unnumbered section header.
4d3e9548
JL
1382.B HU
1383behaves like
1384.B H
1385at the level in number register
1386.BR Hu .
1387See\~\c
1388.BR H .
1389.
92d0a6a6 1390.TP
4d3e9548
JL
1391.BI HX\ "dlevel rlevel heading-text"
1392User-defined heading exit.
92d0a6a6 1393Called just before printing the header.
4d3e9548
JL
1394See\~\c
1395.BR H .
1396.
92d0a6a6 1397.TP
4d3e9548
JL
1398.BI HY\ "dlevel rlevel heading-text"
1399User-defined heading exit.
92d0a6a6 1400Called just before printing the header.
4d3e9548
JL
1401See\~\c
1402.BR H .
1403.
92d0a6a6 1404.TP
4d3e9548
JL
1405.BI HZ\ "dlevel rlevel heading-text"
1406User-defined heading exit.
92d0a6a6 1407Called just after printing the header.
4d3e9548
JL
1408See\~\c
1409.BR H .
1410.
92d0a6a6 1411.TP
4d3e9548 1412.BI I\ "\fR[\fPitalic-text \fR[\fPprev-font-text \fR[\fPitalic-text \fR[.\|.\|.]]]]\fP"
92d0a6a6
JR
1413Italic.
1414Changes the font to italic if called without arguments.
4d3e9548
JL
1415With one argument it sets the word in italic.
1416With two arguments it concatenates them and sets the first
92d0a6a6 1417word in italic and the second in the previous font.
4d3e9548
JL
1418There is no limit on the number of argument;
1419all are concatenated.
1420.
92d0a6a6 1421.TP
4d3e9548
JL
1422.BI IA\ "\fR[\fPaddressee-name \fR[\fPtitle\fR]]\fP"
1423Begin specification of the addressee and addressee's address in
92d0a6a6 1424letter style.
4d3e9548
JL
1425Several names can be specified with empty
1426.BR IA / IE -pairs,
1427but only one address.
1428See
1429.BR LT .
1430.
92d0a6a6 1431.TP
4d3e9548 1432.BI IB\ "\fR[\fPitalic-text \fR[\fPbold-text \fR[\fPitalic-text \fR[.\|.\|.]]]]\fP"
92d0a6a6 1433Italic-bold.
4d3e9548
JL
1434Even arguments are printed in italic, odd in boldface.
1435See\~\c
1436.BR I .
1437.
92d0a6a6
JR
1438.TP
1439.B IE
4d3e9548
JL
1440End the address specification after
1441.BR IA .
1442.
1443.TP
1444.BI INITI\ "type filename \fR[\fPmacro\fR]\fP"
1445Initialize the new index system and set the filename to collect
1446index lines in with
1447.BR IND .
1448Argument
1449.I type
1450selects the type of index:
1451page number, header marks or both.
1452The default is page numbers.
1453.
1454.IP
92d0a6a6 1455It is also possible to create a macro that is responsible
4d3e9548
JL
1456for formatting each row;
1457just add the name of the macro as a third argument.
1458The macro is then called with the index as argument(s).
1459.
1460.IP
1461.B type
1462.
1463.IP
1464.TS
1465tab(@);
1466l lx.
1467N@Page numbers
1468H@Header marks
1469B@T{
1470Both page numbers and header marks,
1471separated with a tab character.
1472T}
1473.TE
1474.
1475.TP
1476.BI INITR\ filename
1477Initialize the refence macros.
1478References are written to stderr and are supposed to
1479be written to `\fIfilename\fR.qrf'.
1480Requires two passes with groff;
1481this is handled by a separate program called
1482.BR mmroff (@MAN1EXT@).
1483This program exists because
1484.BR groff (@MAN1EXT@)
1485by default deactivates the unsafe operations that are required by
1486.BR INITR .
1487The first pass looks for references,
1488and the second one includes them.
1489.B INITR
1490can be used several times,
1491but it is only the first occurrence of
1492.B INITR
1493that is active.
1494.
1495.IP
1496See also
1497.BR SETR ,
1498.BR GETPN ,
1499and
1500.BR GETHN .
1501.
92d0a6a6 1502.TP
4d3e9548
JL
1503.BI IND\ "arg1 \fR[\fParg2 \fR[.\|.\|.]]\fP"
1504Write a line in the index file selected by
1505.B INITI
92d0a6a6 1506with all arguments and the page number or header mark separated by tabs.
4d3e9548
JL
1507.
1508.RS
1509.IP
1510.B Examples
1511.
1512.IP
1513arg1\[rs]tpage number
92d0a6a6 1514.br
4d3e9548 1515arg1\[rs]targ2\[rs]tpage number
92d0a6a6 1516.br
4d3e9548 1517arg1\[rs]theader mark
92d0a6a6 1518.br
4d3e9548
JL
1519arg1\[rs]tpage number\[rs]theader mark
1520.RE
1521.
1522.TP
1523.B INDP
1524Print the index by running the command specified
1525by string variable
1526.BR Indcmd ,
1527which has `sort\ \-t\[rs]t' as the default value.
1528.B INDP
1529reads the output from the command to form the index,
1530by default in two columns (this can be changed by defining
1531.BR TYIND ).
1532The index is printed with string variable
1533.B Index
1534as header,
1535default is `INDEX'.
1536One-column processing is reactivated after the list.
1537.B INDP
1538calls the user-defined macros
1539.BR TXIND ,
1540.BR TYIND ,
1541and
1542.B TZIND
1543if defined.
1544.B TXIND
1545is called before printing the string `INDEX',
1546.B TYIND
1547is called instead of printing `INDEX', and
1548.B TZIND
1549is called after the printing and should take care of restoring to normal
92d0a6a6 1550operation again.
4d3e9548 1551.
92d0a6a6 1552.TP
4d3e9548
JL
1553.B ISODATE \fR[\fP0\fR]\fP
1554Change the predefined date string in
1555.B DT
1556to ISO-format, this is, `YYYY-MM-DD'.
1557This can also be done by adding
1558.B \-rIso=1
1559on the command line.
1560Reverts to old date format if argument is\~\c
1561.BR 0 .
1562.
92d0a6a6 1563.TP
4d3e9548 1564.BI IR\ "\fR[\fPitalic-text \fR[\fProman-text \fR[\fPitalic-text \fR[.\|.\|.]]]]\fP"
92d0a6a6 1565Italic-roman.
4d3e9548
JL
1566Even arguments are printed in italic, odd in roman.
1567See\~\c
1568.BR I .
1569.
92d0a6a6 1570.TP
4d3e9548
JL
1571.BI LB\ "text-indent mark-indent pad type \fR[\fPmark \fR[\fPLI-space \fR[\fPLB-space\fR]]]\fP"
1572List-begin macro.
92d0a6a6 1573This is the common macro used for all lists.
4d3e9548
JL
1574.I text-indent
1575is the number of spaces to indent the text from the current indentation.
1576.
1577.IP
1578.I pad
1579and
1580.I mark-indent
1581control where to put the mark.
1582The mark is placed within the mark area,
1583and
1584.I mark-indent
92d0a6a6 1585sets the number of spaces before this area.
4d3e9548 1586By default it is\~0.
92d0a6a6
JR
1587The mark area ends where the text begins.
1588The start of the text
4d3e9548
JL
1589is still controlled by
1590.IR text-indent .
1591.
1592.IP
1593The mark is left-justified whitin the mark area if
1594.I pad
1595is\~0.
1596If
1597.I pad
1598is greater than\~0,
1599.I mark-indent
1600is ignored,
1601and the mark is placed
1602.I pad
1603spaces before the text.
1604This right-justifies the mark.
1605.
1606.IP
1607If
1608.I type
1609is\~0 the list either has a hanging indentation or,
1610if argument
1611.I mark
1612is given,
1613the string
1614.I mark
1615as a mark.
1616.
1617.IP
1618If
1619.I type
1620is greater than\~0 automatic numbering occurs,
1621using arabic numbers if
1622.I mark
1623is empty.
1624.I mark
1625can then be any of `1', `A', `a', `I', or `i'.
1626.
1627.IP
1628.I type
1629selects one of six possible ways to display the mark.
1630.
1631.IP
1632.B type
1633.
1634.RS
1635.IP
92d0a6a6 1636.br
4d3e9548
JL
1637.TS
1638tab(@);
1639l l.
16401@x.
16412@x)
16423@(x)
16434@[x]
16445@<x>
16456@{x}
1646.TE
1647.RE
1648.
1649.IP
1650Every item in the list gets
1651.I LI-space
1652number of blank lines before them.
1653Default is\~1.
1654.
1655.IP
1656.B LB
1657itself prints
1658.I LB-space
1659blank lines.
1660Default is\~0.
1661.
92d0a6a6 1662.TP
4d3e9548 1663.BI LC\ \fR[\fPlist-level\fR]\fP
92d0a6a6 1664List-status clear.
4d3e9548
JL
1665Terminates all current active lists down to
1666.IR list-level ,
1667or\~0 if no argmuent is given.
1668This is used by\~\c
1669.B H
1670to clear any active list.
1671.
92d0a6a6 1672.TP
4d3e9548 1673.B LE \fR[\fP1\fR]\fP
92d0a6a6 1674List end.
4d3e9548
JL
1675Terminates the current list.
1676.B LE
1677outputs a blank line if an argument is given.
1678.
1679.TP
1680.BI LI\ \fR[\fPmark\ \fR[\fP1\fR|\fP2\fR]]\fP
1681List item preceding every item in a list.
1682Without argument,
1683.B LI
1684prints the mark determined by the current list type.
92d0a6a6 1685By giving
4d3e9548
JL
1686.B LI
1687one argument, it uses that as the mark instead.
1688Two arguments to
1689.B LI
1690makes
1691.I mark
1692a prefix to the current mark.
1693There is no separating space between the prefix
1694and the mark if the second argument is `2' instead of `1'.
92d0a6a6 1695This behaviour can also be achieved by setting number register
4d3e9548
JL
1696.B Limsp
1697to zero.
1698A zero length
1699.I mark
1700makes a hanging indentation instead.
1701.
1702.IP
1703A blank line is printed before the list item by default.
1704This behaviour can be controlled by number register
1705.BR Ls .
1706Pre-spacing occurs for each list level less than or equal to
1707.BR Ls .
1708Default value is 99.
1709There is no nesting limit.
1710.
1711.IP
1712The indentation can be changed through number register
1713.BR Li .
1714Default is\~6.
1715.
1716.IP
1717All lists begin with a list initialization macro,
1718.BR LB .
1719There are, however, seven predefined list types to make lists easier to use.
1720They all call
1721.B LB
1722with different default values.
1723.
1724.RS
1725.IP
1726.TS
1727tab(@);
1728l l.
1729\fBAL\fP@Automatically Incremented List
1730\fBML\fP@Marked List
1731\fBVL\fP@Variable-Item List
1732\fBBL\fP@Bullet List
1733\fBDL\fP@Dash List
1734\fBRL\fP@Reference List
1735\fBBVL\fP@Broken Variable List.
1736.TE
1737.RE
1738.
1739.IP
92d0a6a6 1740These lists are described at other places in this manual.
4d3e9548
JL
1741See also
1742.BR LB .
1743.
92d0a6a6 1744.TP
4d3e9548
JL
1745.BI LT\ \fR[\fIarg\fR]\fI
1746Format a letter in one of four different styles depending
92d0a6a6 1747on the argument.
4d3e9548
JL
1748See also section
1749.BR INTERNALS .
1750.
1751.RS
1752.IP
1753.TS
1754tab(@);
1755lb lb
1756l lx.
1757Arg@Style
1758BL@T{
92d0a6a6
JR
1759Blocked.
1760Date line, return address, writer's address and closing
1761begins at the center of the line.
1762All other lines begin at the left margin.
4d3e9548
JL
1763T}
1764SB@T{
92d0a6a6 1765Semi-blocked.
4d3e9548
JL
1766Same as blocked,
1767except that the first line in every paragraph is indented five spaces.
1768T}
1769FB@T{
92d0a6a6
JR
1770Full-blocked.
1771All lines begin at the left margin.
4d3e9548
JL
1772T}
1773SP@T{
92d0a6a6
JR
1774Simplified.
1775Almost the same as the full-blocked style.
4d3e9548
JL
1776Subject and the writer's identification are printed in all-capital.
1777T}
1778.TE
1779.RE
1780.
92d0a6a6 1781.TP
4d3e9548
JL
1782.BI LO\ "type \fR[\fParg\fR]\fP"
1783Specify options in letter (see
1784.BR .LT ).
92d0a6a6 1785This is a list of the standard options:
4d3e9548
JL
1786.
1787.RS
1788.IP
1789.TS
1790tab(@);
1791l lx.
1792CN@T{
92d0a6a6 1793Confidential notation.
4d3e9548
JL
1794Prints `CONFIDENTIAL' on the second line below the date line.
1795Any argument replaces `CONFIDENTIAL'.
1796See also string variable
1797.BR LetCN .
1798T}
1799RN@T{
92d0a6a6 1800Reference notation.
4d3e9548
JL
1801Prints `In reference to:' and the argument two lines below the date line.
1802See also string variable
1803.BR LetRN .
1804T}
1805AT@T{
92d0a6a6 1806Attention.
4d3e9548
JL
1807Prints `ATTENTION:' and the argument below the inside address.
1808See also string variable
1809.BR LetAT .
1810T}
1811SA@T{
92d0a6a6 1812Salutation.
4d3e9548 1813Prints `To Whom It May Concern:' or the argument if it was present.
92d0a6a6 1814The salutation is printed two lines below the inside address.
4d3e9548
JL
1815See also string variable
1816.BR LetSA .
1817T}
1818SJ@T{
92d0a6a6 1819Subject line.
4d3e9548
JL
1820Prints the argument as subject prefixed with `SUBJECT:'
1821two lines below the inside address,
1822except in letter type `SP',
1823where the subject is printed in all-capital without any prefix.
1824See also string variable
1825.BR LetSJ .
1826T}
1827.TE
1828.RE
1829.
92d0a6a6 1830.TP
4d3e9548 1831.BI MC\ "column-size \fR[\fPcolumn-separation\fR]\fP"
92d0a6a6 1832Begin multiple columns.
4d3e9548
JL
1833Return to normal with
1834.BR 1C .
1835.B MC
1836creates as many columns as the current line length permits.
1837.I column-size
1838is the width of each column,
1839and
1840.I column-separation
92d0a6a6 1841is the space between two columns.
4d3e9548
JL
1842Default separation is
1843.IR column-size /15.
1844See also
1845.BR 1C .
1846.
92d0a6a6 1847.TP
4d3e9548 1848.BI ML\ "mark \fR[\fPtext-indent\ " \fR[\fP1\fR]]\fP
92d0a6a6 1849Marked list start.
4d3e9548
JL
1850The
1851.I mark
1852argument is printed before each list item.
1853.I text-indent
1854sets the indent and overrides
1855.BR Li .
1856A third argument prohibits printing of a blank line before each item.
1857.
92d0a6a6 1858.TP
4d3e9548 1859.BI MT\ "\fR[\fParg \fR[\fPaddressee\fR]]\fP"
92d0a6a6 1860Memorandum type.
4d3e9548
JL
1861The argument
1862.I arg
1863is part of a filename in `@TMAC_MDIR@/*.MT'.
1864Memorandum types 0 to\~5 are supported,
1865including type `string' (which gets internally mapped to type\~6).
1866.I addressee
1867just sets a variable, used in the AT&T macros.
1868.
1869.IP
1870.B arg
1871.
1872.RS
1873.IP
1874.TS
1875tab(@);
1876l l.
18770@Normal memorandum, no type printed.
18781@Memorandum with `MEMORANDUM FOR FILE' printed.
18792@Memorandum with `PROGRAMMER'S NOTES' printed.
18803@Memorandum with `ENGINEER'S NOTES' printed.
18814@Released paper style.
18825@External letter style.
1883.TE
1884.RE
1885.
1886.IP
1887See also
1888.BR COVER / COVEND ,
1889a more flexible type of front page.
1890.
1891.TP
1892.BI MOVE\ "y-pos \fR[\fPx-pos \fR[\fPline-length\fR]]\fP"
1893Move to a position, setting page offset to
1894.IR x-pos .
1895If
1896.I line-length
1897is not given, the difference between current and new page offset is used.
1898Use
1899.B PGFORM
1900without arguments to return to normal.
1901.
1902.TP
1903.BI MULB\ "cw1 space1 \fR[\fPcw2 space2 \fR[\fPcw3 \fR.\|.\|.]]\fP"
92d0a6a6 1904Begin a special multi-column mode.
4d3e9548
JL
1905All columns widths must be specified.
1906The space between the columns must be specified also.
1907The last column does not need any space definition.
1908.B MULB
1909starts a diversion,
1910and
1911.B MULE
92d0a6a6 1912ends the diversion and prints the columns.
4d3e9548
JL
1913The unit for the width and space arguments is `n',
1914but
1915.B MULB
1916accepts all normal unit specifications like `c' and `i'.
1917.B MULB
1918operates in a separate environment.
1919.
92d0a6a6 1920.TP
4d3e9548 1921.B MULN
92d0a6a6 1922Begin the next column.
4d3e9548
JL
1923This is the only way to switch the column.
1924.
92d0a6a6 1925.TP
4d3e9548 1926.B MULE
92d0a6a6 1927End the multi-column mode and print the columns.
4d3e9548 1928.
92d0a6a6 1929.TP
4d3e9548 1930.BI nP\ \fR[\fPtype\fR]\fP
92d0a6a6 1931Print numbered paragraph with header level two.
4d3e9548
JL
1932See
1933.BR .P .
1934.
92d0a6a6 1935.TP
4d3e9548
JL
1936.B NCOL
1937Force printing to the next column.
1938Don't use this together with the
1939.B MUL*
1940macros, see
1941.BR 2C .
1942.
92d0a6a6 1943.TP
4d3e9548
JL
1944.BI NS\ \fR[\fParg\ \fR[\fP1\fR]]\fP
1945Print different types of notations.
1946The argument selects between the predefined type of notations.
92d0a6a6
JR
1947If the second argument is available,
1948then the argument becomes the entire notation.
4d3e9548
JL
1949If the argument doesn't select a predefined type,
1950it is printed as `Copy (\fIarg\fP) to'.
1951It is possible to add more standard notations,
1952see the string variables
1953.B Letns
1954and
1955.BR Letnsdef .
1956.
1957.RS
1958.IP
1959.TS
1960tab(@);
1961l l.
1962\fBArg@Notation\fP
1963\fInone\fP@Copy To
1964\[dq]\[dq]@Copy To
19651@Copy To (with att.\&) to
19662@Copy To (without att.\&) to
19673@Att.
19684@Atts.
19695@Enc.
19706@Encs.
19717@Under separate cover
19728@Letter to
19739@Memorandum to
197410@Copy (with atts.\&) to
197511@Copy (without atts.\&) to
197612@Abstract Only to
197713@Complete Memorandum to
197814@CC
1979.TE
1980.RE
1981.
92d0a6a6 1982.TP
4d3e9548 1983.BI ND\ new-date
92d0a6a6 1984New date.
4d3e9548
JL
1985Overrides the current date.
1986Date is not printed if
1987.I new-date
1988is an empty string.
1989.
92d0a6a6 1990.TP
4d3e9548 1991.BI OF\ \fR[\fParg\fR]\fP
92d0a6a6 1992Odd-page footer, a line printed just above the normal footer.
4d3e9548
JL
1993See
1994.B EF
1995and
1996.BR PF .
1997.
1998.IP
1999This macro defines string
2000.BR EOPof .
2001.
92d0a6a6 2002.TP
4d3e9548 2003.BI OH\ \fR[\fParg\fR]\fP
92d0a6a6 2004Odd-page header, a line printed just below the normal header.
4d3e9548
JL
2005See
2006.B EH
2007and
2008.BR PH .
2009.
2010.IP
2011This macro defines string
2012.BR TPoh .
2013.
92d0a6a6
JR
2014.TP
2015.B OP
2016Make sure that the following text is printed at the top
2017of an odd-numbered page.
4d3e9548
JL
2018Does not output an empty page if currently at the top of an odd page.
2019.
92d0a6a6 2020.TP
4d3e9548 2021.BI P\ \fR[\fPtype\fR]\fP
92d0a6a6 2022Begin new paragraph.
4d3e9548
JL
2023.B P\c
2024\~without argument produces left-justified text,
2025even the first line of the paragraph.
92d0a6a6 2026This is the same as setting
4d3e9548
JL
2027.I type
2028to\~0.
2029If the argument is\~1,
2030the first line of text following\~\c
2031.B P
2032is indented by the number of spaces in number register
2033.BR Pi ,
2034by default\~5.
2035.
2036.IP
2037Instead of giving an argument to\~\c
2038.B P
2039it is possible to set the paragraph type in number register
2040.BR Pt .
2041Using 0 and\~1 is the same as adding that value to
2042.BR P .
2043A value of\~2 indents all paragraphs,
2044except after headings, lists, and displays
2045(this value can't be used as an argument to
2046.B P
2047itself).
2048.
2049.IP
2050The space between two paragraphs is controlled by number register
2051.BR Ps ,
2052and is\~1 by default (one blank line).
2053.
2054.TP
2055.BI PGFORM\ "\fR[\fPlinelength \fR[\fPpagelength \fR[\fPpageoffset\ " \fR[\fP1\fR]]]]\fP
2056Set line length, page length, and/or page offset.
2057This macro can be used for special formatting,
2058like letter heads and other.
2059It is normally the first command in a file,
2060though it is not necessary.
2061.B PGFORM
2062can be used without arguments to reset everything after a
2063.B MOVE
2064call.
2065A line break is done unless the fourth argument is given.
2066This can be used to avoid the page number on the first page
2067while setting new width and length.
92d0a6a6 2068(It seems as if this macro sometimes doesn't work too well.
4d3e9548
JL
2069Use the command line arguments to change
2070line length, page length, and page offset instead.)
2071.
92d0a6a6
JR
2072.TP
2073.B PGNH
2074No header is printed on the next page.
4d3e9548
JL
2075Used to get rid of the header in letters or other special texts.
2076This macro must be used before any text to inhibit the page header
92d0a6a6 2077on the first page.
4d3e9548 2078.
92d0a6a6 2079.TP
4d3e9548
JL
2080.BI "PIC \fR[\fP\-L\fR] [\fP\-C\fR] [\fP\-R\fR] [\fP\-I\ " "n\fR]\fP filename \fR[\fPwidth \fR[\fPheight\fR]]\fP"
2081Include a PostScript file in the document.
2082The macro depends on
2083.BR mmroff (@MAN1EXT@)
2084and
2085.BR INITR .
2086The arguments
2087.BR \-L ,
2088.BR \-C ,
2089.BR \-R ,
2090and
2091.BI \-I\ n
2092adjust the picture or indent it.
2093The optional
2094.I width
2095and
2096.I height
92d0a6a6 2097can also be given to resize the picture.
4d3e9548 2098.
92d0a6a6
JR
2099.TP
2100.B PE
2101Picture end.
4d3e9548
JL
2102Ends a picture for
2103.BR @g@pic (@MAN1EXT).
2104.
2105.TP
2106.BI PF\ \fR[\fParg\fR]\fP
2107Page footer.
2108.B PF
2109sets the line to be printed at the bottom of each page.
2110Empty by default.
2111See
2112.B PH
2113for the argument specification.
2114.
2115.IP
2116This macro defines string
2117.BR EOPf .
2118.
92d0a6a6 2119.TP
4d3e9548
JL
2120.BI PH\ \fR[\fParg\fR]\fP
2121Page header,
2122a line printed at the top of each page.
2123The argument should be specified as
2124.
2125.RS
2126.IP
2127.RI \[dq]' left-part ' center-part ' right-part '\[dq]
2128.RE
2129.
2130.IP
2131where
2132.IR left-part ,
2133.IR center-part,
2134and
2135.I right-part
2136are printed left-justified, centered, and right justified, respectively.
2137Within the argument to
2138.BR PH ,
2139the character `%' is changed to the current page number.
2140The default argument is
2141.
2142.RS
2143.IP
2144\[dq]''- % -''\[dq]
2145.RE
2146.
2147.IP
2148which gives the page number between two dashes.
2149.
2150.IP
2151This macro defines string
2152.BR TPh .
2153.
92d0a6a6
JR
2154.TP
2155.B PS
2156Picture start (from pic).
4d3e9548
JL
2157Begins a picture for
2158.BR @g@pic (@MAN1EXT@).
2159.
92d0a6a6
JR
2160.TP
2161.B PX
4d3e9548
JL
2162Page header user-defined exit.
2163This macro is called just after the printing of the page header in
2164.I no-space
2165mode.
2166.
92d0a6a6
JR
2167.TP
2168.B R
2169Roman.
4d3e9548
JL
2170Return to roman font, see also\~\c
2171.BR I .
2172.
92d0a6a6 2173.TP
4d3e9548 2174.BI RB\ "\fR[\fProman-text \fR[\fPbold-text \fR[\fProman-text \fR[.\|.\|.]]]]\fP"
92d0a6a6 2175Roman-bold.
4d3e9548
JL
2176Even arguments are printed in roman,
2177odd in boldface.
2178See\~\c
2179.BR I .
2180.
92d0a6a6 2181.TP
4d3e9548 2182.BI RD\ "\fR[\fPprompt \fR[\fPdiversion \fR[\fPstring\fR]]]\fP"
92d0a6a6 2183Read from standard input to diversion and/or string.
4d3e9548
JL
2184The text is saved in a diversion named
2185.IR diversion .
92d0a6a6
JR
2186Recall the text by writing the name of the diversion after a dot
2187on an empty line.
4d3e9548
JL
2188A string is also defined if
2189.I string
2190is given.
2191.I Diversion
2192and/or
2193.I prompt
2194can be empty (\[dq]\[dq]).
2195.
92d0a6a6
JR
2196.TP
2197.B RF
2198Reference end.
4d3e9548
JL
2199Ends a reference definition and returns to normal processing.
2200See
2201.BR RS .
2202.
92d0a6a6 2203.TP
4d3e9548
JL
2204.BI RI\ "\fR[\fProman-text \fR[\fPitalic-text \fR[\fProman-text \fR[.\|.\|.]]]]\fP"
2205Print even arguments in roman, odd in italic.
2206See\~\c
2207.BR I .
2208.
92d0a6a6 2209.TP
4d3e9548 2210.BI RL\ \fR[\fPtext-indent \fR[\fP1\fR]]\fP
92d0a6a6 2211Reference list start.
4d3e9548
JL
2212Begins a list where each item is preceded with an automatically
2213incremented number between square brackets.
2214.I text-indent
2215changes the default indentation.
2216.
92d0a6a6 2217.TP
4d3e9548 2218.BI RP\ "\fR[\fParg1 \fR[\fParg2\fR]]\fP"
92d0a6a6 2219Produce reference page.
4d3e9548 2220This macro can be used if a reference page is wanted somewhere in the
92d0a6a6 2221document.
4d3e9548
JL
2222It is not needed if
2223.B TC
2224is used to produce a table of contents.
2225The reference page is then printed automatically.
2226.
2227.IP
2228The reference counter is not reset if
2229.I arg1
2230is\~1.
2231.
2232.IP
2233.I arg2
2234tells
2235.B RP
2236whether to eject a page or not.
2237.
2238.IP
2239.B arg2
2240.
2241.RS
2242.IP
2243.TS
2244tab(@);
2245l lx.
22460@T{
2247The reference page is printed on a separate page.
2248This is the default.
2249T}
22501@Do not eject page after the list.
22512@Do not eject page before the list.
22523@Do not eject page before and after the list.
2253.TE
2254.RE
2255.
2256.IP
2257The reference items are separated by a blank line.
2258Setting number register
2259.B Ls
2260to\~0 suppresses the line.
2261.
2262.IP
2263The string
2264.B Rp
2265contains the reference page title and is set to `REFERENCES' by default.
2266.
92d0a6a6 2267.TP
4d3e9548
JL
2268.BI RS\ \fR[\fPstring-name\fR]\fP
2269Begin an automatically numbered reference definition.
2270Put the string
2271.B \[rs]*(Rf
2272where the reference mark should be and write the reference between
2273.BR RS / RF
92d0a6a6 2274at next new line after the reference mark.
4d3e9548
JL
2275The reference number is stored in number register
2276.BR :R .
2277If
2278.I string-name
2279is given,
2280a string with that name is defined and contains the current reference mark.
2281The string can be referenced as
2282.BI \[rs]*[ string-name ]
2283later in the text.
2284.
2285.TP
2286.BI S\ "\fR[\fPsize \fR[\fPspacing\fR]]\fP"
92d0a6a6 2287Set point size and vertical spacing.
4d3e9548 2288If any argument is equal to `P',
92d0a6a6 2289the previous value is used.
4d3e9548
JL
2290A `C' means current value,
2291and `D' the default value.
2292If `+' or `\-' is used before the value,
2293the current value is incremented or decremented, respectively.
2294.
92d0a6a6 2295.TP
4d3e9548 2296.BI SA\ \fR[\fParg\fR]\fP
92d0a6a6 2297Set right-margin justification.
4d3e9548
JL
2298Justification is turned on by default.
2299No argument or value `0' turns off justification,
2300and `1' turns on justification.
2301.
2302.TP
2303.BI SETR\ "refname \fR[\fPstring\fR]\fP"
2304Remember the current header and page number as
2305.IR refname .
2306Saves
2307.I string
2308if
2309.I string
2310is defined.
2311.I string
2312is retrieved with
2313.BR .GETST .
2314See
2315.BR INITR .
2316.
2317.TP
2318.BI SG\ \fR[\fParg\ \fR[\fP1\fR]]\fP
92d0a6a6
JR
2319Signature line.
2320Prints the authors name(s) after the formal closing.
4d3e9548
JL
2321The argument is appended to the reference data,
2322printed at either the first or last author.
92d0a6a6 2323The reference data is the location,
4d3e9548
JL
2324department, and initials specified with
2325.BR .AU .
2326It is printed at the first author if the second argument is given,
92d0a6a6 2327otherwise at the last.
4d3e9548
JL
2328No reference data is printed if the author(s) is specified through
2329.BR .WA / .WE .
2330See section
2331.BR INTERNALS .
2332.
92d0a6a6 2333.TP
4d3e9548 2334.BI SK\ \fR[\fPpages\fR]\fP
92d0a6a6 2335Skip pages.
4d3e9548
JL
2336If
2337.I pages
2338is\~0 or omitted,
2339a skip to the next page occurs unless it is already at the top of a page.
2340Otherwise it skips
2341.I pages
2342pages.
2343.
92d0a6a6 2344.TP
4d3e9548 2345.BI SM\ "string1 \fR[\fPstring2 \fR[\fPstring3\fR]]\fP"
92d0a6a6 2346Make a string smaller.
4d3e9548
JL
2347If
2348.I string2
2349is given,
2350.I string1
2351is made smaller and
2352.I string2
2353stays at normal size,
2354concatenated with
2355.IR string1 .
2356With three arguments,
2357everything is concatenated,
2358but only
2359.I string2
2360is made smaller.
2361.
92d0a6a6 2362.TP
4d3e9548 2363.BI SP\ \fR[\fPlines\fR]\fP
92d0a6a6 2364Space vertically.
4d3e9548
JL
2365.I lines
2366can have any scaling factor,
2367like `3i' or `8v'.
2368Several
2369.B SP
2370calls in a line only produces the maximum number of lines, not the sum.
2371.B SP
2372is ignored also until the first text line in a page.
2373Add
2374.B \[rs]&
2375before a call to
2376.B SP
92d0a6a6 2377to avoid this.
4d3e9548 2378.
92d0a6a6
JR
2379.TP
2380.B TAB
4d3e9548
JL
2381Reset tabs to every\ 5n.
2382Normally used to reset any previous tab positions.
2383.
2384.TP
2385.BI TB\ "\fR[\fPtitle \fR[\fPoverride \fR[\fPflag \fR[\fPrefname\fR]]]]\fP"
2386Table title.
2387The arguments are the same as for
2388.BR EC .
2389.B TB
2390uses the number register
2391.B Tb
2392as a counter.
2393The string
2394.B Lt
2395controls the title of the List of Tables;
2396default value is `LIST OF TABLES'.
2397The List of Tables is only printed if number register
2398.B Lt
2399is\~1, which is the default.
2400The string
2401.B Litb
2402contains the word `TABLE',
2403which is printed before the number.
2404.
2405.IP
2406Special handling of the title occurs if
2407.B TB
2408is used inside
2409.BR DS / DE ,
2410it is not affected by the format of
2411.BR DS .
2412.
92d0a6a6 2413.TP
4d3e9548 2414.BI TC\ "\fR[\fPslevel \fR[\fPspacing \fR[\fPtlevel \fR[\fPtab \fR[\fPh1 \fR[\fPh2 \fR[\fPh3 \fR[\fPh4 \fR[\fPh5\fR]]]]]]]]]\fP"
92d0a6a6 2415Table of contents.
4d3e9548 2416This macro is normally used as the last line of the document.
92d0a6a6 2417It generates a table of contents with headings up to the level
4d3e9548
JL
2418controlled by number register
2419.BR Cl .
2420Note that
2421.B Cl
2422controls the saving of headings,
2423it has nothing to do with
2424.BR TC .
2425Headings with a level less than or equal to
2426.I slevel
2427get
2428.I spacing
2429number of lines before them.
2430Headings with a level less than or equal to
2431.I tlevel
2432have their page numbers right-justified with dots or spaces separating
92d0a6a6 2433the text and the page number.
4d3e9548
JL
2434Spaces are used if
2435.I tab
2436is greater than zero,
2437dots otherwise.
2438Other headings have the page number directly at the end
2439of the heading text
2440.RI ( ragged-right ).
2441.
2442.IP
2443The rest of the arguments is printed, centered, before the
92d0a6a6 2444table of contents.
4d3e9548
JL
2445.
2446.IP
2447The user-defined macros
2448.B TX
2449and
2450.B TY
2451are used if
2452.B TC
2453is called with at most four arguments.
2454.B TX
2455is called before the printing of the string `CONTENTS',
2456and
2457.B TY
2458is called instead of printing `CONTENTS'.
2459.
2460.IP
92d0a6a6 2461Equivalent macros can be defined for list of figures, tables, equations
4d3e9548
JL
2462and exhibits by defining
2463.BI TX xx
2464or
2465.BI TY xx\fR,\fP
2466where
2467.I xx
2468is `Fg', `TB', `EC', or `EX', respectively.
2469.
2470.IP
2471String
2472.B Ci
2473can be set to control the indentations for each heading-level.
2474It must be scaled, like
2475.
2476.RS
2477.IP
2478\&.ds Ci .25i .5i .75i 1i 1i
2479.RE
2480.
2481.IP
2482By default,
2483the indentation is controlled by the maximum length of headings in each
2484level.
2485.
2486.IP
2487The string variables
2488.BR Lifg ,
2489.BR Litb ,
2490.BR Liex ,
2491.BR Liec ,
2492and
2493.B Licon
2494contain `Figure', `TABLE', `Exhibit', `Equation',
2495and `CONTENTS', respectively.
92d0a6a6 2496These can be redefined to other languages.
4d3e9548 2497.
92d0a6a6
JR
2498.TP
2499.B TE
2500Table end.
4d3e9548
JL
2501See
2502.BR TS .
2503.
92d0a6a6 2504.TP
4d3e9548 2505.B TH \fR[\fPN\fR]\fP
92d0a6a6 2506Table header.
4d3e9548
JL
2507See
2508.BR TS .
2509.B TH
2510ends the header of the table.
2511This header is printed again if a page break occurs.
2512Argument `N' isn't implemented yet.
2513.
92d0a6a6 2514.TP
4d3e9548 2515.BI TL\ "\fR[\fPcharging-case-number \fR[\fPfiling-case-number\fR]]\fP"
92d0a6a6 2516Begin title of memorandum.
4d3e9548
JL
2517All text up to the next
2518.B AU
2519is included in the title.
2520.I charging-case-number
2521and
2522.I filing-case-number
2523are saved for use in the front page processing.
2524.
92d0a6a6 2525.TP
4d3e9548
JL
2526.BI TM\ "\fR[\fPnum1 \fR[\fPnum2 \fR[.\|.\|.]]]\fP"
2527Technical memorandum numbers used in
2528.BR .MT .
2529An unlimited number of arguments may be given.
2530.
92d0a6a6
JR
2531.TP
2532.B TP
4d3e9548 2533Top-of-page user-defined macro.
92d0a6a6 2534This macro is called instead of the normal page header.
4d3e9548
JL
2535It is possible to get complete control over the header.
2536Note that the header and the footer are printed in a separate environment.
2537Line length is preserved, though.
2538See
2539.BR EOP .
2540.
2541.IP
2542.B strings available to TP
2543.RS
2544.TS
2545tab(@);
2546l l.
2547TPh@argument of \fBPH\fP
2548TPeh@argument of \fBEH\fP
2549TPoh@argument of \fBOH\fP
2550.TE
2551.RE
2552.
92d0a6a6 2553.TP
4d3e9548 2554.B TS \fR[\fPH\fR]\fP
92d0a6a6 2555Table start.
4d3e9548
JL
2556This is the start of a table specification to
2557.BR @g@tbl (@MAN1EXT@).
2558.B TS
2559ends with
2560.BR TE .
2561Argument `H' tells
2562.B m@TMAC_M_PREFIX@m
2563that the table has a header.
2564See
2565.BR TH .
2566.
92d0a6a6
JR
2567.TP
2568.B TX
4d3e9548
JL
2569User-defined table of contents exit.
2570This macro is called just before
2571.B TC
2572prints the word `CONTENTS'.
2573See
2574.BR TC .
2575.
92d0a6a6
JR
2576.TP
2577.B TY
4d3e9548
JL
2578User-defined table of contents exit.
2579This macro is called instead of printing `CONTENTS'.
2580See
2581.BR TC .
2582.
92d0a6a6 2583.TP
4d3e9548
JL
2584.BI VERBON\ "\fR[\fPflag \fR[\fPpoint-size \fR[\fPfont\fR]]]\fP"
2585Begin verbatim output using Courier font.
92d0a6a6 2586Usually for printing programs.
4d3e9548
JL
2587All characters have equal width.
2588The point size can be changed with the second argument.
2589By specifying a third argument it is possible to use another
2590font instead of Courier.
2591.I flag
2592controls several special features.
2593Its value is the sum of all wanted features.
2594.
2595.RS
2596.IP
2597.TS
2598tab(@);
2599lb lb
2600l lx.
2601Arg@Description
26021@T{
2603Disable the escape character (\[rs]).
2604This is normally turned on during verbose output.
2605T}
26062@Add an empty line before the verbose text.
26074@Add an empty line after the verbose text.
26088@T{
92d0a6a6 2609Print the verbose text with numbered lines.
4d3e9548
JL
2610This adds four digit-sized spaces in the beginning of each line.
2611Finer control is available with the string variable
2612.BR Verbnm .
92d0a6a6 2613It contains all arguments to the
4d3e9548
JL
2614.BR troff (@MAN1EXT@)
2615command
2616.BR .nm ,
2617normally `1'.
2618T}
261916@T{
2620Indent the verbose text by `5n'.
2621This is controlled by the number-variable
2622.B Verbin
2623(in units).
2624T}
2625.TE
2626.RE
2627.
92d0a6a6
JR
2628.TP
2629.B VERBOFF
2630End verbatim output.
4d3e9548
JL
2631.
2632.TP
2633.BI VL\ "text-indent \fR[\fPmark-indent\ " \fR[\fP1\fR]]\fP
2634Variable-item list.
2635It has no fixed mark,
2636it assumes that every
2637.B LI
2638has a mark instead.
2639.I text-indent
2640sets the indent to the text,
2641and
2642.I mark-indent
2643the distance from the current indentation to the mark.
2644A third argument prohibits printing of a blank line before each item.
2645.
2646.TP
2647.BI "VM \fR[\fP\-T\fR] [\fP" "top \fR[\fPbottom\fR]]\fP"
2648Vertical margin.
2649Adds extra vertical top and margin space.
2650Option
2651.B \-T
2652sets the total space instead.
2653If no argument is given, reset the margin to zero,
2654or the default (`7v 5v') if
2655.B \-T
2656has been used.
2657It is higly recommended that macros
2658.B TP
2659and/or
2660.B EOP
2661are defined if using
2662.B \-T
2663and setting top and/or bottom margin to less than the default.
2664.
92d0a6a6 2665.TP
4d3e9548
JL
2666.BI WA\ "\fR[\fPwriter-name \fR[\fPtitle\fR]]\fP"
2667Begin specification of the writer and writer's address.
2668Several names can be specified with empty
2669.BR WA / WE
2670pairs,
2671but only one address.
2672.
92d0a6a6
JR
2673.TP
2674.B WE
4d3e9548
JL
2675End the address specification after
2676.BR .WA .
2677.
92d0a6a6 2678.TP
4d3e9548 2679.BI WC\ "\fR[\fPformat1\fR] [\fPformat2\fR] [.\|.\|.]\fP"
92d0a6a6 2680Footnote and display width control.
4d3e9548
JL
2681.
2682.RS
2683.TS
2684tab(@);
2685l lx.
2686N@T{
2687Set default mode which is equal to using the options
2688.BR \-WF ,
2689.BR \-FF ,
2690.BR \-WD ,
2691and
2692.BR FB .
2693T}
2694WF@T{
92d0a6a6 2695Wide footnotes, wide also in two-column mode.
4d3e9548
JL
2696T}
2697-WF@Normal footnote width, follow column mode.
2698FF@T{
92d0a6a6 2699All footnotes gets the same width as the first footnote encountered.
4d3e9548
JL
2700T}
2701-FF@T{
92d0a6a6 2702Normal footnotes, width follows \fBWF\fP and \fB-WF\fP.
4d3e9548
JL
2703T}
2704WD@T{
92d0a6a6 2705Wide displays, wide also in two-column mode.
4d3e9548
JL
2706T}
2707-WD@T{
92d0a6a6 2708Normal display width, follow column mode.
4d3e9548
JL
2709T}
2710FB@T{
2711Floating displays generates a line break when printed on the current
2712page.
2713T}
2714-FB@T{
92d0a6a6 2715Floating displays does not generate line break.
4d3e9548
JL
2716T}
2717.TE
2718.RE
2719.
2720.
2721.SS "Strings used in m@TMAC_M_PREFIX@m"
2722.
92d0a6a6
JR
2723.TP
2724.B App
4d3e9548
JL
2725A string containing the word `APPENDIX'.
2726.
92d0a6a6
JR
2727.TP
2728.B Apptxt
2729The current appendix text.
4d3e9548 2730.
92d0a6a6 2731.TP
4d3e9548 2732.B EM
92d0a6a6 2733Em dash string
4d3e9548 2734.
92d0a6a6
JR
2735.TP
2736.B H1txt
4d3e9548
JL
2737Updated by
2738.B .H
2739and
2740.B .HU
2741to the current heading text.
92d0a6a6 2742Also updated in table of contents & friends.
4d3e9548 2743.
92d0a6a6
JR
2744.TP
2745.B HF
4d3e9548
JL
2746Font list for headings, `2 2 2 2 2 2 2' by default.
2747Non-numeric font names may also be used.
2748.
92d0a6a6
JR
2749.TP
2750.B HP
4d3e9548
JL
2751Point size list for headings.
2752By default, this is `0 0 0 0 0 0 0' which is the same as
2753`10 10 10 10 10 10 10'.
2754.
92d0a6a6
JR
2755.TP
2756.B Index
4d3e9548
JL
2757Contains the string `INDEX'.
2758.
92d0a6a6
JR
2759.TP
2760.B Indcmd
4d3e9548
JL
2761Contains the index command.
2762Default value is `sort\ \-t\[rs]t'.
2763.
92d0a6a6
JR
2764.TP
2765.B Lifg
4d3e9548
JL
2766String containing `Figure'.
2767.
92d0a6a6
JR
2768.TP
2769.B Litb
4d3e9548
JL
2770String containing `TABLE'.
2771.
92d0a6a6
JR
2772.TP
2773.B Liex
4d3e9548
JL
2774String containing `Exhibit'.
2775.
92d0a6a6
JR
2776.TP
2777.B Liec
4d3e9548
JL
2778String containing `Equation'.
2779.
92d0a6a6
JR
2780.TP
2781.B Licon
4d3e9548
JL
2782String containing `CONTENTS'.
2783.
92d0a6a6
JR
2784.TP
2785.B Lf
4d3e9548
JL
2786Contains the string `LIST OF FIGURES'.
2787.
92d0a6a6
JR
2788.TP
2789.B Lt
4d3e9548
JL
2790Contains the string `LIST OF TABLES'.
2791.
92d0a6a6
JR
2792.TP
2793.B Lx
4d3e9548
JL
2794Contains the string `LIST OF EXHIBITS'.
2795.
92d0a6a6
JR
2796.TP
2797.B Le
4d3e9548
JL
2798Contains the string `LIST OF EQUATIONS'.
2799.
92d0a6a6
JR
2800.TP
2801.B Letfc
4d3e9548
JL
2802Contains the string `Yours very truly,',
2803used in
2804.BR .FC .
2805.
92d0a6a6
JR
2806.TP
2807.B Letapp
4d3e9548
JL
2808Contains the string `APPROVED:',
2809used in
2810.BR .AV .
2811.
92d0a6a6
JR
2812.TP
2813.B Letdate
4d3e9548
JL
2814Contains the string `Date',
2815used in
2816.BR .AV .
2817.
92d0a6a6
JR
2818.TP
2819.B LetCN
4d3e9548
JL
2820Contains the string `CONFIDENTIAL',
2821used in
2822.BR ".LO CN" .
2823.
92d0a6a6
JR
2824.TP
2825.B LetSA
4d3e9548
JL
2826Contains the string `To Whom It May Concern:',
2827used in
2828.BR ".LO SA" .
2829.
92d0a6a6
JR
2830.TP
2831.B LetAT
4d3e9548
JL
2832Contains the string `ATTENTION:',
2833used in
2834.BR ".LO AT" .
2835.
92d0a6a6
JR
2836.TP
2837.B LetSJ
4d3e9548
JL
2838Contains the string `SUBJECT:',
2839used in
2840.BR ".LO SJ" .
2841.
92d0a6a6
JR
2842.TP
2843.B LetRN
4d3e9548
JL
2844Contains the string `In reference to:',
2845used in
2846.BR ".LO RN" .
2847.
92d0a6a6
JR
2848.TP
2849.B Letns
4d3e9548
JL
2850is an array containing the different strings used in
2851.BR .NS .
2852It is really a number of string variables prefixed with
2853.BR Letns! .
2854If the argument doesn't exist,
2855it is included between
2856.B ()
2857with
2858.B Letns!copy
2859as a prefix and
2860.B Letns!to
2861as a suffix.
2862Observe the space after `Copy' and before `to'.
2863.
2864.RS
2865.IP
2866.TS
2867tab(@);
2868lb lb
2869l l.
2870Name@Value
2871Letns!0@Copy to
2872Letns!1@Copy (with att.\&) to
2873Letns!2@Copy (without att.\&) to
2874Letns!3@Att.
2875Letns!4@Atts.
2876Letns!5@Enc.
2877Letns!6@Encs.
2878Letns!7@Under separate cover
2879Letns!8@Letter to
2880Letns!9@Memorandum to
2881Letns!10@Copy (with atts.\&) to
2882Letns!11@Copy (without atts.\&) to
2883Letns!12@Abstract Only to
2884Letns!13@Complete Memorandum to
2885Letns!14@CC
2886Letns!copy@Copy \[rs]"
2887Letns!to@" to
2888.TE
2889.RE
2890.
92d0a6a6
JR
2891.TP
2892.B Letnsdef
4d3e9548
JL
2893Define the standard notation used when no argument is given to
2894.BR .NS .
2895Default is\~0.
2896.
92d0a6a6
JR
2897.TP
2898.B "MO1 - MO12"
4d3e9548
JL
2899Strings containing the month names `January' through `December'.
2900.
92d0a6a6
JR
2901.TP
2902.B Qrf
4d3e9548
JL
2903String containing `See chapter \[rs]\[rs]*[Qrfh], page \[rs]\[rs]n[Qrfp].'.
2904.
92d0a6a6
JR
2905.TP
2906.B Rp
4d3e9548
JL
2907Contains the string `REFERENCES'.
2908.
92d0a6a6
JR
2909.TP
2910.B Tcst
4d3e9548
JL
2911Contains the current status of the table of contents and list of figures,
2912etc.
2913Empty outside of
2914.BR .TC .
2915Useful in user-defined macros like
2916.BR .TP .
2917.
2918.RS
2919.IP
2920.TS
2921tab(@);
2922lb lb
2923l l.
2924Value@Meaning
2925co@Table of contents
2926fg@List of figures
2927tb@List of tables
2928ec@List of equations
2929ex@List of exhibits
2930ap@Appendix
2931.TE
2932.RE
2933.
92d0a6a6
JR
2934.TP
2935.B Tm
4d3e9548
JL
2936Contains the string `\[rs](tm', the trade mark symbol.
2937.
92d0a6a6
JR
2938.TP
2939.B Verbnm
4d3e9548
JL
2940Argument to
2941.B .nm
2942in the
2943.B .VERBON
2944command.
2945Default is\~1.
2946.
2947.
2948.SS "Number variables used in m@TMAC_M_PREFIX@m"
2949.
92d0a6a6
JR
2950.TP
2951.B Aph
4d3e9548
JL
2952Print an appendix page for every new appendix if this number variable
2953is non-zero.
2954No output occurs if
2955.B Aph
2956is zero, but there is always an appendix entry in the `List of contents'.
2957.
92d0a6a6
JR
2958.TP
2959.B Cl
4d3e9548
JL
2960Contents level (in the range 0 to 14).
2961The contents is saved if a heading level is lower than or equal to the
2962value of
2963.BR Cl .
2964Default is\~2.
2965.
92d0a6a6
JR
2966.TP
2967.B Cp
4d3e9548
JL
2968Eject page between list of table, list of figure, etc., if the value of
2969.B Cp
2970is zero.
2971Default is\~0.
2972.
92d0a6a6
JR
2973.TP
2974.B D
4d3e9548
JL
2975Debug flag.
2976Values greater than zero produce debug information of increasing verbosity.
2977A value of\~1 gives information about the progress of formatting.
2978Default is\~0.
2979.
92d0a6a6
JR
2980.TP
2981.B De
4d3e9548
JL
2982If set to\~1, eject after floating display is output.
2983Default is\~0.
2984.
92d0a6a6
JR
2985.TP
2986.B Dsp
4d3e9548
JL
2987If defined, it controls the space output before and after static displays.
2988Otherwise the value of
2989.B Lsp
2990is used.
2991.
92d0a6a6
JR
2992.TP
2993.B Df
4d3e9548
JL
2994Control floating keep output.
2995This is a number in the range 0 to 5, with a default value of\~5.
2996See
2997.BR .DF .
2998.
92d0a6a6
JR
2999.TP
3000.B Ds
4d3e9548
JL
3001If set to\~1, use the amount of space stored in register
3002.B Lsp
3003before and after display.
3004Default is\~1.
3005.
92d0a6a6
JR
3006.TP
3007.B Ej
4d3e9548
JL
3008If set to\~1, eject page before each first-level heading.
3009Default is\~0.
3010.
92d0a6a6
JR
3011.TP
3012.B Eq
4d3e9548
JL
3013Equation labels are left-adjusted if set to\~0
3014and right-adjusted if set to\~1.
3015Default is\~0.
3016.
92d0a6a6
JR
3017.TP
3018.B Fs
4d3e9548
JL
3019Footnote spacing.
3020Default is\~1.
3021.
92d0a6a6 3022.TP
4d3e9548 3023.B "H1 - H7"
92d0a6a6 3024Heading counters
4d3e9548 3025.
92d0a6a6
JR
3026.TP
3027.B H1dot
4d3e9548
JL
3028Append a dot after the level-one heading number if value is greater than
3029zero.
3030Default is\~1.
3031.
92d0a6a6
JR
3032.TP
3033.B H1h
4d3e9548
JL
3034A copy of number register
3035.BR H1 ,
3036but it is incremented just before the page break.
3037Useful in user-defined header macros.
3038.
92d0a6a6
JR
3039.TP
3040.B Hb
4d3e9548
JL
3041Heading break level.
3042A number in the range 0 to 14,
3043with a default value of\~2.
3044See\~\c
3045.BR .H .
3046.
92d0a6a6
JR
3047.TP
3048.B Hc
4d3e9548
JL
3049Heading centering level.
3050A number in the range 0 to 14,
3051with a default value value of\~0.
3052See\~\c
3053.BR .H .
3054.
92d0a6a6
JR
3055.TP
3056.B Hi
4d3e9548
JL
3057Heading temporary indent.
3058A number in the range 0 to 2,
3059with a default value of\~1.
3060.
3061.RS
3062.IP
3063.TS
3064tab(@);
3065l lx.
30660@no indentation, left margin
30671@T{
3068indent to the right, similar to
3069.RB ` ".P 1" '
3070T}
30712@T{
3072indent to line up with text part of preceding heading
3073T}
3074.TE
3075.RE
3076.
92d0a6a6
JR
3077.TP
3078.B Hps
4d3e9548
JL
3079Heading pre-space level.
3080If the heading level is less than or equal to
3081.BR Hps ,
3082two lines precede the section heading instead of one.
92d0a6a6 3083Default is first level only.
4d3e9548
JL
3084The real amount of lines is controlled by the variables
3085.B Hps1
3086and
3087.BR Hps2 .
3088.
92d0a6a6
JR
3089.TP
3090.B Hps1
4d3e9548
JL
3091Number of lines preceding
3092.B .H
3093if the heading level is greater than
3094.BR Hps .
3095Value is in units, default is 0.5.
3096.
92d0a6a6
JR
3097.TP
3098.B Hps2
4d3e9548
JL
3099Number of lines preceding
3100.B .H
3101if the heading level is less than or equal to
3102.BR Hps .
3103Value is in units, default is\~1.
3104.
92d0a6a6
JR
3105.TP
3106.B Hs
4d3e9548
JL
3107Heading space level.
3108A number in the range 0 to 14,
3109with a default value of\~2.
3110See\~\c
3111.BR .H .
3112.
92d0a6a6
JR
3113.TP
3114.B Hss
4d3e9548
JL
3115Number of lines following
3116.B .H
3117if the heading level is less than or equal to
3118.BR Hs .
3119Value is in units, default is\~1.
3120.
92d0a6a6
JR
3121.TP
3122.B Ht
4d3e9548
JL
3123Heading numbering type.
3124.
3125.RS
3126.IP
3127.TS
3128tab(@);
3129l l.
31300@multiple levels (1.1.1, 1.1.2, etc.)
31311@single level
3132.TE
3133.RE
3134.IP
3135Default is\~0.
3136.
92d0a6a6
JR
3137.TP
3138.B Hu
4d3e9548
JL
3139Unnumbered heading level.
3140Default is\~2.
3141.
92d0a6a6
JR
3142.TP
3143.B Hy
4d3e9548
JL
3144Hyphenation status of text body.
3145.
3146.RS
3147.IP
3148.TS
3149tab(@);
3150l l.
31510@no hyphenation
31521@hyphenation on, set to value\~14
3153.TE
3154.RE
3155.
3156.IP
3157Default is\~0.
3158.
92d0a6a6
JR
3159.TP
3160.B Iso
4d3e9548
JL
3161Set this variable to\~1 on the command line to get an
3162ISO-formatted date string (\fB\-rIso=1\fP).
3163Useless inside of a document.
3164.
92d0a6a6
JR
3165.TP
3166.B L
3167Page length, only for command line settings.
4d3e9548 3168.
92d0a6a6
JR
3169.TP
3170.B Letwam
4d3e9548
JL
3171Maximum lines in return-address, used in
3172.BR .WA / .WE .
3173Default is\~14.
3174.
92d0a6a6 3175.TP
4d3e9548
JL
3176.BR Lf ,\ Lt ,\ Lx ,\ Le
3177Enable (1) or disable (0) the printing of List of figures,
3178List of tables, List of exhibits and List of equations, respectively.
3179Default values are Lf=1, Lt=1, Lx=1, and Le=0.
3180.
92d0a6a6
JR
3181.TP
3182.B Li
4d3e9548
JL
3183List indentation, used by
3184.BR .AL .
3185Default is\~6.
3186.
92d0a6a6
JR
3187.TP
3188.B Limsp
4d3e9548
JL
3189A flag controlling the insertion of space between prefix and mark in
3190automatic lists
3191.RB ( .AL ).
3192.
3193.RS
3194.IP
3195.TS
3196tab(@);
3197l l.
31980@no space
31991@emit space
3200.TE
3201.RE
3202.
92d0a6a6
JR
3203.TP
3204.B Ls
4d3e9548
JL
3205List space threshold.
3206If current list level is greater than
3207.B Ls
3208no spacing occurs around lists.
3209Default is\~99.
3210.
92d0a6a6
JR
3211.TP
3212.B Lsp
4d3e9548
JL
3213The vertical space used by an empty line.
3214The default is 0.5v in troff mode and 1v in nroff mode.
3215.
92d0a6a6
JR
3216.TP
3217.B N
4d3e9548
JL
3218Page numbering style.
3219.
3220.RS
3221.IP
3222.TS
3223tab(@);
3224l lx.
32250@normal header for all pages.
32261@T{
3227header replaces footer on first page, header is empty.
3228T}
32292@page header is removed on the first page.
32303@`section-page' numbering style enabled.
32314@page header is removed on the first page.
32325@T{
3233`section-page' and `section-figure' numbering style enabled.
3234T}
3235.TE
3236.RE
3237.
3238.IP
3239Default is\~0.
3240See also the number registers
3241.B Sectf
3242and
3243.BR Sectp .
3244.
92d0a6a6
JR
3245.TP
3246.B Np
4d3e9548
JL
3247A flag to control whether paragraphs are numbered.
3248.
3249.RS
3250.IP
3251.TS
3252tab(@);
3253l l.
32540@not numbered
32551@numbered in first-level headings.
3256.TE
3257.RE
3258.
3259.IP
3260Default is\~0.
3261.
92d0a6a6
JR
3262.TP
3263.B O
3264Page offset, only for command line settings.
4d3e9548 3265.
92d0a6a6
JR
3266.TP
3267.B Of
4d3e9548
JL
3268Format of figure, table, exhibit, and equation titles.
3269.
3270.RS
3271.IP
3272.TS
3273tab(@);
3274l l.
32750@\[dq]. \[dq]
32761@\[dq] - \[dq]
3277.TE
3278.RE
3279.
3280.IP
3281Default is\~0.
3282.
92d0a6a6
JR
3283.TP
3284.B P
4d3e9548
JL
3285Current page-number, normally the same as `%' unless
3286`section-page' numbering style is enabled.
3287.
92d0a6a6
JR
3288.TP
3289.B Pi
4d3e9548
JL
3290Paragraph indentation.
3291Default is\~5.
3292.
92d0a6a6
JR
3293.TP
3294.B Pgps
4d3e9548
JL
3295A flag to control whether header and footer point size should follow
3296the current settings or just change when the header and footer are defined.
3297.
3298.RS
3299.IP
3300.TS
3301tab(@);
3302l lx.
33030@T{
3304Point size only changes to the current setting when
3305.BR .PH ,
3306.BR .PF ,
3307.BR .OH ,
3308.BR .EH ,
3309.BR .OF ,
3310or
3311.B .OE
3312is executed.
3313T}
33141@T{
3315Point size changes after every
3316.BR .S .
92d0a6a6 3317This is the default.
4d3e9548
JL
3318T}
3319.TE
3320.RE
3321.
92d0a6a6
JR
3322.TP
3323.B Ps
4d3e9548
JL
3324Paragraph spacing.
3325Default is\~1.
3326.
92d0a6a6
JR
3327.TP
3328.B Pt
4d3e9548
JL
3329Paragraph type.
3330.
3331.RS
3332.IP
3333.TS
3334tab(@);
3335l lx.
33360@left-justified
33371@indented paragraphs
33382@T{
3339indented paragraphs except after
3340.BR .H ,
3341.BR .DE ,
3342or
3343.BR .LE .
3344T}
3345.TE
3346.RE
3347.
3348.IP
3349Default is\~0.
3350.
92d0a6a6
JR
3351.TP
3352.B Sectf
4d3e9548 3353A flag controlling `section-figures' numbering style.
92d0a6a6 3354A non-zero value enables this.
4d3e9548
JL
3355See also register\~\c
3356.BR N .
3357.
92d0a6a6
JR
3358.TP
3359.B Sectp
4d3e9548 3360A flag controlling `section-page' numbering style.
92d0a6a6 3361A non-zero value enables this.
4d3e9548
JL
3362See also register\~\c
3363.BR N .
3364.
92d0a6a6
JR
3365.TP
3366.B Si
4d3e9548
JL
3367Display indentation.
3368Default is\~5.
3369.
92d0a6a6
JR
3370.TP
3371.B Verbin
4d3e9548
JL
3372Indentation for
3373.BR .VERBON .
3374Default is 5n.
3375.
92d0a6a6
JR
3376.TP
3377.B W
3378Line length, only for command line settings.
4d3e9548 3379.
92d0a6a6
JR
3380.TP
3381.B .mgm
4d3e9548
JL
3382Always\~1.
3383.
3384.
92d0a6a6 3385.SH INTERNALS
4d3e9548
JL
3386.
3387The letter macros are using different submacros depending on
92d0a6a6
JR
3388the letter type.
3389The name of the submacro has the letter type
3390as suffix.
4d3e9548
JL
3391It is therefore possible to define other letter types,
3392either in the national macro-file, or as local additions.
3393.B .LT
3394sets the number variables
3395.B Pt
3396and
3397.B Pi
3398to 0 and\~5, respectively.
3399The following strings and macros must be defined for a new letter type.
3400.
3401.TP
3402.BI let@init_ type
3403This macro is called directly by
3404.BR .LT .
3405It is supposed to initialize variables and other stuff.
3406.
3407.TP
3408.BI let@head_ type
3409This macro prints the letter head,
3410and is called instead of the normal page header.
3411It is supposed to remove the alias
3412.BR let@header ,
3413otherwise it is called for all pages.
3414.
3415.TP
3416.BI let@sg_ "type name title n flag \fR[\fParg1 \fR[\fParg2 \fR[.\|.\|.]]]\fP"
3417.B .SG
3418is calling this macro only for letters;
3419memorandums have its own processing.
3420.I name
3421and
3422.I title
3423are specified through
3424.BR .WA / .WB .
3425.I n\c
3426\~is the counter, 1-max,
3427and
3428.I flag
3429is true for the last name.
3430Any other argument to
3431.B .SG
92d0a6a6 3432is appended.
4d3e9548 3433.
92d0a6a6 3434.TP
4d3e9548
JL
3435.BI let@fc_ "type closing"
3436This macro is called by
3437.BR .FC ,
3438and has the formal closing as the argument.
3439.
92d0a6a6 3440.LP
4d3e9548
JL
3441.B .LO
3442is implemented as a general option-macro.
3443It demands that a string named
3444.BI Let type
3445is defined, where
3446.I type
92d0a6a6 3447is the letter type.
4d3e9548
JL
3448.B .LO
3449then assigns the argument to the string variable
3450.BI let*lo- type\fR.\fP
3451.
3452.
92d0a6a6 3453.\".SH BUGS
4d3e9548
JL
3454.
3455.
92d0a6a6 3456.SH AUTHOR
4d3e9548 3457.
92d0a6a6 3458Jörgen Hägg, Lund, Sweden <jh@axis.se>.
4d3e9548
JL
3459.
3460.
92d0a6a6 3461.SH FILES
4d3e9548 3462.
92d0a6a6 3463.TP
4d3e9548 3464.B @MACRODIR@/@TMAC_M_PREFIX@m.tmac
92d0a6a6
JR
3465.TP
3466.B @TMAC_MDIR@/*.cov
3467.TP
3468.B @TMAC_MDIR@/*.MT
3469.TP
3470.B @TMAC_MDIR@/locale
4d3e9548
JL
3471.
3472.
92d0a6a6 3473.SH "SEE ALSO"
4d3e9548 3474.
92d0a6a6
JR
3475.BR groff (@MAN1EXT@),
3476.BR @g@troff (@MAN1EXT@),
3477.BR @g@tbl (@MAN1EXT@),
3478.BR @g@pic (@MAN1EXT@),
3479.BR @g@eqn (@MAN1EXT@)
3480.br
3481.BR groff_mmse (@MAN7EXT@)
3482.
3483.\" Local Variables:
3484.\" mode: nroff
3485.\" coding: latin-1
3486.\" End: