.left margin .ifnot hlp .subtitle .HL 1 Section Headers .endif hlp .if hlp.i-1;3 Sections .br .endif hlp A section header consists of a string of numbers (n1.n2.n3....) followed by a title. If you use either the _.CHAPTER or _.APPENDIX command then it consists of a string of numbers (n0.n1.n2....) where n0 is the current chapter or appendix number. The number of numbers (minus n0) is called the level of the header. Section headers always consist of at least 2 numbers so that in a non chapter orinted document headers at level 1 are printed as n.0. It is possible to print section numbers as a single number or letter or with no number depending on _.STYLE HEADERS. The following commands control the header levels. .if hlp .if rsx.i5;ADDITIONAL HELP AVAILABLE: example LEVEL default STYLE INDENT .endif rsx .i-1;4 example .endif hlp .s.c;example .s;Here is an example of the first header level: .i5;1.0 The first header level! .s;Here is an example of a header at level 4: .br.i5; 1.2.3.4 Example of a header .s;The following is a header at level 6: .br.i5; 3.1.1.1.1.1 Example of a header .s;The following is a header at level 3 in chapter number 7: .i5;7.3.2.1 .left margin +5 .if hlp.i-6;4 LEVEL .br .endif hlp .s .s.tp 12.I-5; _.HEADER LEVEL [+-n] text .i-5; _.HL [+-n] text .s.index HEADER LEVEL starts a section at the level specified and takes the following text as the header or title of the section. n can range from 1 to 6. The sections are incremented by 1 automatically, and the number is output in the form i.j.k.l.m. If this is a chapter oriented document, the i is the chapter number. Otherwise, it is the number of the _.HL 1 level. This command acts as a: .nofill .skip .indent 5 _.BREAK _.TEST PAGE 7 _.BLANK 2 .skip .fill followed by the section number, two spaces, and the section name. if the level number is preceeded by +#or#- the current level number is the previous one +#or#- the value specified. .p;If the title is omitted, only the number is printed, and the next line of text follows it separated by 2 spaces. For this case no distinction is made between different level numbers. .p; If the title is too long to fit on 1 line it is filled, justified, and continued on the next line indented to line up with the first part of the title. Autohyphenation is not performed on header titles. See also the command _.ENABLE LEVELS. .if hlp .i-6;4 default .endif hlp .s.c;DEFAULT .s.lm +10 .i-10;LEVEL 1 capitalizes the section title and then skips a line. .i-10;LEVEL 2 prints the section title (no caps) and then skips a line. .i-10;LEVELS 3,4,5 The title and the text following it are separated by a dash. .LM -10 .s;These defaults may be changed by the _.STYLE HEADERS command. .if hlp.i-6;4 STYLE .br .endif hlp .S.TP13.I-5; _.STYLE HEADERS [n1],[n2],...[n9],[n10] .I-5; _.STHL [n1],...[n10] .S.X STYLE> HEADERS controls the formats of the header levels. The initial default is in (). .LM+5 .i-5;n1 = The lowest level at which text starts on same line as title. (3) .i-5;n2 = The lowest level with title capitalized. (1) .i-5;n3 = The highest level with first letter of title in CAPS. (6) .i-5;n4 = Lowest level with no level number. (7) .i-5;n5 = Lowest level with centered title and number. If the title and text are on the same line no centering occurrs. (7) .i-5;n6 = The number of blank lines before the header. (2) .i-5;n7 = The number of blank lines after the title. (1) .i-5;n8 = The implicit test page value (7) .i-5;n9 = Number spaces between section number and title. (2) .bb .i-5;n10= Largest level printed as n.m.... (6) .i5;(n10 not available in DSR) .eb .lm-5 .if hlp.i-6;4 INDENT .endif hlp .s.tp5.i-5; _.INDENT LEVELS n1,n2 .s.x INDENT LEVELS this causes the header levels to be indented by n1 from the left margin and indented n2 from the right margin. A positive value of n1 causes indentation to the right of the left margin. A positive value of n2 causes indentation to the left of the right margin. .br;(Not available in DSR)