Initial import from FreeBSD RELENG_4:
[dragonfly.git] / contrib / groff / tmac / groff_ms.man
1 '\" t
2 .ig
3 Copyright (C) 1989-1995, 2001, 2002 Free Software Foundation, Inc.
4
5 Permission is granted to make and distribute verbatim copies of
6 this manual provided the copyright notice and this permission notice
7 are preserved on all copies.
8
9 Permission is granted to copy and distribute modified versions of this
10 manual under the conditions for verbatim copying, provided that the
11 entire resulting derived work is distributed under the terms of a
12 permission notice identical to this one.
13
14 Permission is granted to copy and distribute translations of this
15 manual into another language, under the above conditions for modified
16 versions, except that this permission notice may be included in
17 translations approved by the Free Software Foundation instead of in
18 the original English.
19 ..
20 .TH GROFF_MS @MAN7EXT@ "@MDATE@" "Groff Version @VERSION@"
21 .SH NAME
22 groff_ms \- groff ms macros
23 .SH SYNOPSIS
24 .B groff
25 .B \-ms
26 [
27 .IR options .\|.\|.\&
28 ]
29 [
30 .IR files .\|.\|.\&
31 ]
32 .br
33 .B groff
34 .B \-m\ ms
35 [
36 .IR options .\|.\|.\&
37 ]
38 [
39 .IR files .\|.\|.\&
40 ]
41 .\" -----
42 .SH DESCRIPTION
43 This manual page describes the GNU version of the
44 .I ms
45 macros,
46 part of the
47 .I groff
48 typesetting system.
49 The
50 .I ms
51 macros are mostly compatible with the
52 documented behavior of the 4.3
53 .SM BSD
54 Unix
55 .I ms
56 macros (see
57 .I Differences from troff ms
58 below for details).
59 The
60 .I ms
61 macros are suitable for reports, letters, books, and
62 technical documentation.
63 .\" -----
64 .SH USAGE
65 The
66 .I ms
67 macro package expects files to have
68 a certain amount of structure.
69 The simplest documents can begin with a paragraph macro
70 and consist of text separated by paragraph macros
71 or even blank lines.
72 Longer documents have a structure as follows:
73 .TP
74 .B "Document type"
75 If you use the
76 .B RP
77 (report) macro at the beginning of the document,
78 .I groff
79 prints the cover page information on its own page;
80 otherwise it prints the information on the
81 first page with your document text immediately following.
82 Other document formats found in AT&T
83 .I troff
84 are specific to AT&T
85 or Berkeley, and are not supported in
86 .IR "groff ms" .
87 .TP
88 .B "Format and layout"
89 By setting number registers,
90 you can change your document's type (font and size),
91 margins, spacing, headers and footers, and footnotes.
92 See 
93 .I "Document control registers"
94 below for more details.
95 .TP
96 .B "Cover page"
97 A cover page consists of a title,
98 and optionally the author's name and institution,
99 an abstract, and the date.
100 See
101 .I "Cover page macros"
102 below for more details.
103 .TP
104 .B "Body"
105 Following the cover page is your document.
106 It consists of paragraphs, headings, and lists.
107 .TP
108 .B "Table of contents"
109 Longer documents usually include a table of contents,
110 which you can add by placing the
111 .B TC
112 macro at the end of your document.
113 .\" -----
114 .SS "Document control registers"
115 The following table lists the document control
116 number registers.
117 For the sake of consistency,
118 set registers related to margins at the beginning of your document,
119 or just after the
120 .B RP
121 macro.
122 .LP
123 .ne 9
124 .B Margin settings
125 .RS
126 .na
127 .TS
128 cb   s cb s s cb s cb s
129 afCW s l  s s l  s l  s.
130 Reg.    Definition      Effective       Default
131 _
132 PO      T{
133 Page offset (left margin)
134 T}      T{
135 next page
136 T}      1i
137 LL      T{
138 Line length
139 T}      next para.      6i
140 LT      T{
141 Header/footer length
142 T}      next para.      6i
143 HM      T{
144 Top (header) margin
145 T}      next page       1i
146 FM      T{
147 Bottom (footer) margin
148 T}      next page       1i
149 _
150 .TE
151 .RE
152 .LP
153 .ne 7
154 .B Text settings
155 .RS
156 .TS
157 cb   s cb s s cb s cb s
158 afCW s l  s s l  s l  s.
159 Reg.    Definition      Effective       Default
160 _
161 PS      T{
162 Point size
163 T}      next para.      10p
164 VS      T{
165 Line spacing (leading)
166 T}      next para.      12p
167 _
168 .TE
169 .RE
170 .LP
171 .ne 7
172 .B Paragraph settings
173 .RS
174 .TS
175 cb cb s cb cb
176 afCW l s l l .
177 Reg.    Definition      Effective       Default
178 _
179 PI      T{
180 Initial indent
181 T}      next para.      5n
182 PD      T{
183 Space between paragraphs
184 T}      next para.      0.3v
185 QI      T{
186 Quoted paragraph indent
187 T}      next para.      5n
188 _
189 .TE
190 .RE
191 .LP
192 .ne 7
193 .B Footnote settings
194 .RS
195 .TS
196 cb cb cb cb
197 afCW l l l .
198 Reg.    Definition      Effective       Default
199 _
200 FL      Footnote length next footnote   LL*5/6
201 FI      Footnote indent next footnote   2n
202 FF      Footnote format next footnote   0
203 _
204 .TE
205 .RE
206 .LP
207 .ne 6
208 .B Other settings
209 .RS
210 .TS
211 cb   s cb s s cb s cb s
212 afCW s l  s s l  s l  s.
213 Reg.    Definition      Effective       Default
214 _
215 MINGW   T{
216 Minimum width between columns
217 T}      next page       2n
218 _
219 .TE
220 .ad
221 .RE
222 .\" -----
223 .SS "Cover page macros"
224 Use the following macros to create a cover page for your document
225 in the order shown.
226 .TP
227 .B \&.RP [no]
228 Specifies the report format for your document.
229 The report format creates a separate cover page.
230 With no
231 .B RP
232 macro,
233 .I groff
234 prints a subset of the
235 cover page on page\~1 of your document.
236 .IP
237 If you use the optional
238 .B no
239 argument,
240 .I groff
241 prints a title page but
242 does not repeat any of the title page information
243 (title, author, abstract, etc.\&)
244 on page\~1 of the document.
245 .TP
246 .B \&.P1 
247 (P-one) Prints the header on page\~1.
248 The default is to suppress the header.
249 .TP
250 .BI "\&.DA [" xxx ]
251 (optional) Print the current date,
252 or the arguments to the macro if any,
253 on the title page (if specified)
254 and in the footers.
255 This is the default for
256 .IR nroff .
257 .TP
258 .BI "\&.ND [" xxx ]
259 (optional) Print the current date,
260 or the arguments to the macro if any,
261 on the title page (if specified)
262 but not in the footers.
263 This is the default for
264 .IR troff .
265 .TP
266 .B \&.TL
267 Specifies the document title.
268 .I Groff
269 collects text following the
270 .B TL
271 macro into the title, until reaching the author name or abstract.
272 .TP
273 .B \&.AU
274 Specifies the author's name.
275 You can specify multiple authors by using an
276 .B AU
277 macro for each author.
278 .TP
279 .B \&.AI
280 Specifies the author's institution.
281 You can specify multiple institutions.
282 .TP
283 .B \&.AB [no]
284 Begins the abstract.
285 The default is to print the word
286 .BR ABSTRACT ,
287 centered and in italics, above the text of the abstract.
288 The option
289 .B no
290 suppresses this heading.
291 .TP
292 .B \&.AE
293 End the abstract.
294 .\" -----
295 .SS Paragraphs
296 Use the
297 .B PP
298 macro to create indented paragraphs,
299 and the
300 .B LP
301 macro to create paragraphs with no initial indent.
302 .PP
303 The
304 .B QP
305 macro indents all text at both left and right margins.
306 The effect is identical to the HTML
307 .B <BLOCKQUOTE>
308 element.
309 The next paragraph or heading
310 returns margins to normal.
311 .PP
312 The
313 .B XP
314 macro produces an exdented paragraph.
315 The first line of the paragraph begins at
316 the left margin,
317 and subsequent lines are indented
318 (the opposite of
319 .BR PP ).
320 .SS Headings
321 Use headings to create a hierarchical structure
322 for your document.
323 The
324 .I ms
325 macros print headings in
326 .B bold
327 using the same font family and point size as the body text.
328 .PP
329 The following heading macros are available:
330 .TP
331 .BI \&.NH \0xx
332 Numbered heading.
333 The argument
334 .I xx
335 is either a numeric argument to indicate the
336 level of the heading, or
337 .I S\ xx\ xx\ \c
338 ".\|.\|."
339 to set the section number explicitly.
340 If you specify heading levels out of sequence,
341 such as invoking
342 .B ".NH\ 3"
343 after
344 .BR ".NH\ 1" ,
345 .I groff
346 prints a warning on standard error.
347 .TP
348 .B \&.SH
349 Unnumbered subheading.
350 .\" -----
351 .SS Highlighting
352 The
353 .I ms
354 macros provide a variety of methods to highlight
355 or emphasize text:
356 .TP
357 .BI "\&.B [" txt " [" post " [" pre ]]]
358 Sets its first argument in
359 .BR "bold type" .
360 If you specify a second argument,
361 .I groff
362 prints it in the previous font after
363 the bold text, with no intervening space
364 (this allows you to set punctuation after
365 the highlighted text without highlighting
366 the punctuation).
367 Similarly, it prints the third argument (if any)
368 in the previous font
369 .B before
370 the first argument.
371 For example,
372 .RS
373 .IP
374 \&.B foo ) (
375 .RE
376 .IP
377 prints
378 .RB ( foo ).
379 .IP
380 If you give this macro no arguments,
381 .I groff
382 prints all text following in bold until
383 the next highlighting, paragraph, or heading macro.
384 .TP
385 .BI "\&.R [" txt " [" post " [" pre ]]]
386 Sets its first argument in
387 roman (or regular) type.
388 It operates similarly to the
389 .B B
390 macro otherwise.
391 .TP
392 .BI "\&.I [" txt " [" post " [" pre ]]]
393 Sets its first argument in
394 .IR "italic type" .
395 It operates similarly to the
396 .B B
397 macro otherwise.
398 .TP
399 .BI "\&.CW [" txt " [" post " [" pre ]]]
400 Sets its first argument in a constant width face.
401 It operates similarly to the
402 .B B
403 macro otherwise.
404 .TP
405 .BI "\&.BI [" txt " [" post " [" pre ]]]
406 Sets its first argument in bold italic type.
407 It operates similarly to the
408 .B B
409 macro otherwise.
410 .TP
411 .BI "\&.BX [" txt ]
412 Prints its argument and draws a box around it.
413 If you want to box a string that contains spaces,
414 use a digit-width space (\[rs]0).
415 .TP
416 .BI "\&.UL [" txt " [" post ]]
417 Prints its first argument with an underline.
418 If you specify a second argument,
419 .I groff
420 prints it in the previous font after
421 the underlined text, with no intervening space.
422 .TP
423 .B \&.LG
424 Prints all text following in larger type
425 (2\~points larger than the current point size) until
426 the next font size, highlighting, paragraph, or heading macro.
427 You can specify this macro multiple times
428 to enlarge the point size as needed.
429 .TP
430 .B \&.SM
431 Prints all text following in
432 smaller type
433 (2\~points smaller than the current point size) until
434 the next type size, highlighting, paragraph, or heading macro.
435 You can specify this macro multiple times
436 to reduce the point size as needed.
437 .TP
438 .B \&.NL
439 Prints all text following in
440 the normal point size
441 (that is, the value of the
442 .B PS
443 register).
444 .TP
445 .BI \[rs]*{ text \[rs]*}
446 Print the enclosed
447 .I text
448 as a superscript.
449 .\" -----
450 .SS Indents
451 You may need to indent sections of text.
452 A typical use for indents is to create nested lists and sublists.
453 .PP
454 Use the
455 .B RS
456 and
457 .B RE
458 macros to start and end a section of indented text, respectively.
459 The
460 .B PI
461 register controls the amount of indent.
462 .PP
463 You can nest indented sections as deeply as needed by
464 using multiple, nested pairs of
465 .B RS
466 and
467 .BR RE .
468 .\" -----
469 .SS Lists
470 The
471 .B IP
472 macro handles duties for all lists.
473 Its syntax is as follows:
474 .TP
475 .BI ".IP [" marker " [" width ]]
476 .IP
477 The
478 .I marker
479 is usually a bullet character
480 .B \[rs](bu
481 for unordered lists,
482 a number (or auto-incrementing number register) for numbered lists,
483 or a word or phrase for indented (glossary-style) lists.
484 .IP
485 The
486 .I width
487 specifies the indent for the body of each list item.
488 Once specified, the indent remains the same for all
489 list items in the document until specified again.
490 .\" -----
491 .br
492 .ne 15
493 .SS "Tab stops"
494 Use the
495 .B ta
496 request to set tab stops as needed.
497 Use the
498 .B TA
499 macro to reset tabs to the default (every 5n).
500 You can redefine the
501 .B TA
502 macro to create a different set of default tab stops.
503 .\" -----
504 .SS "Displays and keeps"
505 Use displays to show text-based examples or figures
506 (such as code listings).
507 Displays turn off filling, so lines of code can be
508 displayed as-is without inserting
509 .B br
510 requests in between each line.
511 Displays can be 
512 .I kept
513 on a single page, or allowed to break across pages.
514 The following table shows the display types available.
515 .RS
516 .ne 11
517 .na
518 .TS
519 cb   s s    s cbt s s
520 cb   s cb   s ^   s s
521 lfCW s lfCW s l   s s.
522 Display macro   Type of display
523 With keep       No keep
524 _
525 \&.DS L \&.LD   Left-justified.
526 \&.DS I [\fIindent\fP]  \&.ID   T{
527 Indented (default indent in the \fBDI\fP register).
528 T}
529 \&.DS B \&.BD   T{
530 Block-centered (left-justified, longest line centered).
531 T}
532 \&.DS C \&.CD   Centered.
533 \&.DS R \&.RD   Right-justified.
534 _
535 .TE
536 .RE
537 .ad
538 .LP
539 Use the
540 .B DE
541 macro to end any display type.
542 .PP
543 To
544 .I keep
545 text together on a page,
546 such as
547 a paragraph that refers to a table (or list, or other item)
548 immediately following, use the
549 .B KS
550 and
551 .B KE
552 macros.
553 The
554 .B KS
555 macro begins a block of text to be kept on a single page,
556 and the
557 .B KE
558 macro ends the block.
559 .PP
560 You can specify a
561 .I "floating keep"
562 using the
563 .B KF
564 and
565 .B KE
566 macros.
567 If the keep cannot fit on the current page,
568 .I groff
569 holds the contents of the keep and allows text following
570 the keep (in the source file) to fill in the remainder of
571 the current page.
572 When the page breaks,
573 whether by an explicit
574 .B bp
575 request or by reaching the end of the page,
576 .I groff
577 prints the floating keep at the top of the new page.
578 This is useful for printing large graphics or tables
579 that do not need to appear exactly where specified.
580 .\" -----
581 .SS "Tables, figures, equations, and references"
582 The
583 .I -ms
584 macros support the standard
585 .I groff
586 preprocessors:
587 .IR tbl ,
588 .IR pic ,
589 .IR eqn ,
590 and
591 .IR refer .
592 Mark text meant for preprocessors by enclosing it
593 in pairs of tags as follows:
594 .TP
595 .BR "\&.TS [H]" " and " \&.TE
596 Denotes a table, to be processed by the
597 .I tbl
598 preprocessor.
599 The optional
600 .BR H "\~argument"
601 instructs
602 .I groff
603 to create a running header with the information
604 up to the
605 .B TH
606 macro.
607 .I Groff
608 prints the header at the beginning of the table;
609 if the table runs onto another page,
610 .I groff
611 prints the header on the next page as well.
612 .TP
613 .BR \&.PS " and " \&.PE
614 Denotes a graphic, to be processed by the
615 .I pic
616 preprocessor.
617 You can create a
618 .I pic
619 file by hand, using the
620 AT&T
621 .I pic
622 manual available on the Web as a reference,
623 or by using a graphics program such as
624 .IR xfig .
625 .TP
626 .BR "\&.EQ [\fI\,align\/\fP]" " and " \&.EN
627 Denotes an equation, to be processed by the
628 .I eqn
629 preprocessor.
630 The optional
631 .I align
632 argument can be
633 .BR C ,
634 .BR L ,
635 or\~\c
636 .B I
637 to center (the default), left-justify, or indent
638 the equation.
639 .TP
640 .BR \&.[ " and " \&.]
641 Denotes a reference, to be processed by the
642 .I refer
643 preprocessor.
644 The GNU
645 .IR @g@refer (@MAN1EXT@)
646 manual page provides a comprehensive reference
647 to the preprocessor and the format of the
648 bibliographic database.
649 .\" -----
650 .SS Footnotes
651 The
652 .I ms
653 macros provide a flexible footnote system.
654 You can specify a numbered footnote by using the
655 .B \[rs]**
656 escape, followed by the text of the footnote
657 enclosed by
658 .B FS
659 and
660 .B FE
661 macros.
662 .PP
663 You can specify symbolic footnotes
664 by placing the mark character (such as
665 .B \[rs](dg
666 for the dagger character) in the body text,
667 followed by the text of the footnote
668 enclosed by
669 .B FS\ \[rs](dg
670 and
671 .B FE
672 macros.
673 .PP
674 You can control how
675 .I groff
676 prints footnote numbers by changing the value of the
677 .B FF
678 register as follows:
679 .RS
680 .ne 7
681 .TP
682 0
683 Prints the footnote number as a superscript; indents the footnote (default).
684 .TP
685 1
686 Prints the number followed by a period (like\~1.\&)
687 and indents the footnote.
688 .TP
689 2
690 Like\~1, without an indent.
691 .TP
692 3
693 Like\~1, but prints the footnote number as a hanging paragraph.
694 .LP
695 .RE
696 You can use footnotes safely within keeps and displays,
697 but avoid using numbered footnotes within floating keeps.
698 You can set a second
699 .B \[rs]**
700 between a
701 .B \[rs]**
702 and its corresponding
703 .BR .FS ;
704 as long as each
705 .B .FS
706 occurs
707 .I after
708 the corresponding
709 .B \[rs]**
710 and the occurrences of
711 .B .FS
712 are in the same order as the corresponding occurrences of
713 .BR \[rs]** .
714 .\" -----
715 .SS "Headers and footers"
716 There are two ways to define headers and footers:
717 .IP \(bu 3n
718 Use the strings
719 .BR LH ,
720 .BR CH ,
721 and
722 .B RH
723 to set the left, center, and right headers; use
724 .BR LF ,
725 .BR CF ,
726 and
727 .B RF
728 to set the left, center, and right footers.
729 This works best for documents that do not distinguish
730 between odd and even pages.
731 .IP \(bu
732 Use the
733 .B OH
734 and
735 .B EH
736 macros to define headers for the odd and even pages; and
737 .B OF
738 and
739 .B EF
740 macros to define footers for the odd and even pages.
741 This is more flexible than defining the individual strings.
742 The syntax for these macros is as follows:
743 .RS
744 .IP
745 .BI "\&.OH '" left ' center ' right '
746 .RE
747 .IP
748 You can replace the quote (') marks with any character not
749 appearing in the header or footer text.
750 .\" -----
751 .SS Margins
752 You control margins using a set of number registers.
753 The following table lists the register names and defaults:
754 .RS
755 .ne 8
756 .na
757 .TS
758 cb   s cb s s cb s cb s
759 afCW s l  s s l  s l  s.
760 Reg.    Definition      Effective       Default
761 _
762 PO      T{
763 Page offset (left margin)
764 T}      next page       1i
765 LL      T{
766 Line length
767 T}      next para.      6i
768 LT      T{
769 Header/footer length
770 T}      next para.      6i
771 HM      T{
772 Top (header) margin
773 T}      next page       1i
774 FM      T{
775 Bottom (footer) margin
776 T}      next page       1i
777 _
778 .TE
779 .RE
780 .ad
781 .PP
782 Note that there is no right margin setting.
783 The combination of page offset and line length
784 provide the information necessary to
785 derive the right margin.
786 .\" -----
787 .SS "Multiple columns"
788 The
789 .I ms
790 macros can set text in as many columns as will reasonably
791 fit on the page.
792 The following macros are available.
793 All of them force a page break if a multi-column mode is already set.
794 However, if the current mode is single-column, starting a multi-column
795 mode does
796 .I not
797 force a page break.
798 .TP
799 .B \&.1C
800 Single-column mode.
801 .TP
802 .B \&.2C
803 Two-column mode.
804 .TP
805 .BI "\&.MC [" width " [" gutter ]]
806 Multi-column mode.
807 If you specify no arguments, it is equivalent to the
808 .B 2C
809 macro.
810 Otherwise,
811 .I width
812 is the width of each column and
813 .I gutter
814 is the space between columns.
815 The
816 .B MINGW
817 number register is the default gutter width.
818 .\" -----
819 .SS "Creating a table of contents"
820 Wrap text that you want to appear in the
821 table of contents in
822 .B XS
823 and
824 .B XE
825 macros.
826 Use the
827 .B TC
828 macro to print the table of contents at the end of the document,
829 resetting the page number to\~\c
830 .B i
831 (Roman numeral\~1).
832 .PP
833 You can manually create a table of contents
834 by specifying a page number as the first argument to
835 .BR XS .
836 Add subsequent entries using the
837 .B XA
838 macro.
839 For example:
840 .RS
841 .PP
842 .ne 8
843 .nf
844 \&.XS 1
845 Introduction
846 \&.XA 2
847 A Brief History of the Universe
848 \&.XA 729
849 Details of Galactic Formation
850 \&.\|.\|.
851 \&.XE
852 .fi
853 .RE  
854 .LP  
855 Use the
856 .B PX  
857 macro to print a manually-generated table of contents
858 without resetting the page number.
859 .PP
860 If you give the argument
861 .B no
862 to either
863 .B PX
864 or   
865 .BR TC ,
866 .I groff
867 suppresses printing the title
868 specified by the
869 .B \[rs]*[TOC]  
870 string.
871 .\" -----
872 .SH "DIFFERENCES FROM troff ms"
873 The
874 .I "groff ms"
875 macros are a complete re-implementation,
876 using no original AT&T code.
877 Since they take advantage of the extended features in
878 .IR groff ,
879 they cannot be used with AT&T
880 .IR troff .
881 Other differences include:
882 .IP \(bu 3n
883 The internals of
884 .I "groff ms"
885 differ from the internals of Unix
886 .IR ms . 
887 Documents that depend upon implementation details of Unix
888 .I ms
889 may not format properly with
890 .IR "groff ms" .
891 .IP \(bu
892 The error-handling policy of
893 .I "groff ms"
894 is to detect and report errors,
895 rather than silently to ignore them.
896 .IP \(bu
897 Bell Labs localisms are not implemented.
898 .IP \(bu
899 Berkeley localisms, in particular the
900 .B TM
901 and
902 .B CT
903 macros,
904 are not implemented.
905 .IP \(bu
906 .I "Groff ms"
907 does not work in compatibility mode (e.g.\& with the
908 .B \-C
909 option).
910 .IP \(bu
911 There is no support for typewriter-like devices.
912 .IP \(bu
913 .I "Groff ms"
914 does not provide cut marks.
915 .IP \(bu
916 Multiple line spacing is not supported
917 (use a larger vertical spacing instead).
918 .IP \(bu
919 Some Unix
920 .I ms
921 documentation says that the
922 .B CW
923 and
924 .B GW
925 number registers can be used to control the column width and
926 gutter width respectively.
927 These number registers are not used in groff ms.
928 .IP \(bu
929 Macros that cause a reset
930 (paragraphs, headings, etc.)
931 may change the indent.
932 Macros that change the indent do not increment or decrement
933 the indent, but rather set it absolutely.
934 This can cause problems for documents that define
935 additional macros of their own.
936 The solution is to use not the
937 .B in
938 request but instead the
939 .B RS
940 and
941 .B RE
942 macros.
943 .IP \(bu
944 The number register
945 .B GS
946 is set to\~1 by the
947 .I "groff ms"
948 macros,
949 but is not used by the Unix
950 .I ms
951 macros.
952 Documents that need to determine whether
953 they are being formatted with Unix
954 .I ms
955 or
956 .I "groff ms"
957 should use this number register.
958 .br
959 .ne 22
960 .SS Strings
961 You can redefine the following strings to adapt the
962 .I "groff ms"
963 macros to languages other than English:
964 .TS
965 center;
966 cb cb
967 afCW l .
968 String  Default Value
969 _
970 REFERENCES      References
971 ABSTRACT        ABSTRACT
972 TOC     Table of Contents
973 MONTH1  January
974 MONTH2  February
975 MONTH3  March
976 MONTH4  April
977 MONTH5  May
978 MONTH6  June
979 MONTH7  July
980 MONTH8  August
981 MONTH9  September
982 MONTH10 October
983 MONTH11 November
984 MONTH12 December
985 _
986 .TE
987 .PP
988 The
989 .B \[rs]*-
990 string produces an em dash \[em] like this.
991 .\" -----
992 .SS Text Settings
993 The
994 .B FAM
995 string sets the default font family.
996 If this string is undefined at initialization,
997 it is set to Times.
998 .LP
999 The point size, vertical spacing, and inter-paragraph spacing for footnotes
1000 are controlled by the number registers
1001 .BR FPS ,
1002 .BR FVS ,
1003 and
1004 .BR FPD ;
1005 at initialization these are set to
1006 .BR \[rs]n(PS-2 ,
1007 .BR \[rs]n[FPS]+2 ,
1008 and
1009 .B \[rs]n(PD/2
1010 respectively.
1011 If any of these registers are defined before initialization,
1012 the initialization macro does not change them.
1013 .LP
1014 The hyphenation flags (as set by the
1015 .B hy
1016 request) are set from the
1017 .B HY
1018 register;
1019 the default is\~14.
1020 .PP
1021 Improved accent marks
1022 (as originally defined in Berkeley's
1023 .I ms
1024 version)
1025 are available by specifying the
1026 .B AM
1027 macro at the beginning of your document.
1028 You can place an accent over most characters
1029 by specifying the string defining the accent
1030 directly after the character.
1031 For example,
1032 .B n\[rs]*~ 
1033 produces an n with a tilde over it.
1034 .\" -----
1035 .SH "NAMING CONVENTIONS"
1036 .LP
1037 The following conventions are used for names of macros, strings and
1038 number registers.
1039 External names available to documents that use the
1040 .I "groff ms"
1041 macros contain only uppercase letters and digits.
1042 .LP
1043 Internally the macros are divided into modules;
1044 naming conventions are as follows:
1045 .IP \(bu 3n
1046 Names used only within one module are of the form
1047 .IB \%module * name\fR.
1048 .IP \(bu
1049 Names used outside the module in which they are defined are of the form
1050 .IB \%module @ name\fR.
1051 .IP \(bu
1052 Names associated with a particular environment are of the form
1053 .IB \%environment : name;
1054 these are used only within the
1055 .B par
1056 module.
1057 .IP \(bu
1058 .I name
1059 does not have a module prefix.
1060 .IP \(bu
1061 Constructed names used to implement arrays are of the form
1062 .IB \%array ! index\fR.
1063 .PP
1064 Thus the groff ms macros reserve the following names:
1065 .IP \(bu 3n
1066 Names containing the characters
1067 .BR * ,
1068 .BR @ ,
1069 and\~\c
1070 .BR : .
1071 .IP \(bu
1072 Names containing only uppercase letters and digits.
1073 .SH FILES
1074 .B @MACRODIR@/ms.tmac
1075 (a wrapper file for
1076 .BR s.tmac )
1077 .br
1078 .B @MACRODIR@/s.tmac
1079 .SH "SEE ALSO"
1080 .BR groff (@MAN1EXT@),
1081 .BR @g@troff (@MAN1EXT@),
1082 .BR @g@tbl (@MAN1EXT@),
1083 .BR @g@pic (@MAN1EXT@),
1084 .BR @g@eqn (@MAN1EXT@),
1085 .BR @g@refer (@MAN1EXT@),
1086 .I Groff: The GNU Implementation of troff
1087 by Trent Fisher and Werner Lemberg.
1088 .SH AUTHOR
1089 Original manual page by James Clark
1090 .IR "et al" ;
1091 rewritten by Larry Kollar
1092 (\fIlkollar@despammed.com\fR).
1093 .\" Local Variables:
1094 .\" mode: nroff
1095 .\" End: