.; .; R N O P S C . R N O .; .; Runoff parameter setting commands. .; .; HRT 21-Jan-79 .; .CH; Parameter Setting Commands .in RNOCHAINI .; .ix Parameter Setting .ix Commands, Parameter Setting .; .pp Parameter Setting commands are a class of RUNOFF commands which directly affect certain command parameters and command modes. Right Margin, Left Margin, and Tabstops are but a few of this class of command. The novice user to RUNOFF need not become too familiar with this section until a firm understanding of each of these parameters is attained. .s A Novice subset of the Parameter Setting commands would be: .ls .NF .leb;Left Margin (pg 8-4). .leb;Right Margin (pg 8-9). .leb;Spacing (pg 8-11). .leb;Tab Stops (pg 8-12). .els .f A more complete description of these and other commands may be found either on the page specified or within this section. .pg ! ! .lm CMDTAB.nf __________ | | | | | .AP | | | |________| .fi.lm LEFTMG .hl 1;AUTOPARAGRAPH command The AUTOPARAGRAPH command enables the AUTOPARAGRAPH mode. .s.lm +7.nf _______________________________________________ | | | | .AP |[ n, v or v/8 "lines", t "spaces" ]| | | | |_________|___________________________________| .fi.lm LEFTMG.s The AUTOPARAGRAPH command causes any blank line or line starting with a space or tab to be considered as the start of a new paragraph. .s 2;.lm LEFTMG Defaults: .s;.lm +7 This command does not cause a break. The default mode is NOAUTOPARAGRAPH. The parameters are the same as those used for the .PARAGRAPH command. The initial values of the above three parameters are: .break.nf n -- (5) indent five spaces. (can also be negative) v -- (1) one blank line. t -- (2) two spaces. .break.fill .s 2;.lm LEFTMG Command Synonyms: .s;.lm +7 .AP,.AUTOPARAGRAPH .s 2;.lm LEFTMG Notes: .s;.lm +7 The AUTOPARAGRAPH command allows normally typed text to be justified without special commands. It does not cause a paragraph if blank lines are followed by a command. .s;.lm +7 .ix AP .ix AUTOPARAGRAPH .pg ! ! .lm CMDTAB.NF __________ | | | | | .CHA | | | |________| .FILL.lm LEFTMG.s .ix Change Metacharacter .hl 1;Change Metacharacter Command Allows the changing of the RUNOFF special characters. .s.lm +7.nf _______________________________________________ | | | | .CHA | mnemonic meta_new | | | | |_________|___________________________________| .FI.lm LEFTMG.s The CHANGE command changes the metacharacter specified by the mnemonic to a new value. .s 2 The mnemoics are the following: .s 2.lit UC Upper case (%^) LC Lower case (%\) QU Quote character (%>) UL Underline (%&) SP Quoted space (%#) SS Superscript (%@) SB Subscript (%~) NH No hyphenation (=) AC All caps (%<) IC In-line comments (%!) CS Font change (%%) OB Overbar (%$) .eli .pg ! ! .lm CMDTAB.NF __________ | | | | | .CHA | | | |________| .FILL.lm LEFTMG.s Defaults: .s.lm +7 The default metacharacters are %>,%!,%<,%&,%@,%~,%^,%\,%#,%=,%%,%$. .s 2.lm LEFTMG Command Synonyms: .s.lm +7 .CHANGE,.CHA .s 2.lm LEFTMG Notes: .s.lm +7 This command is usefull when generating a display that requires the use of characters normally reserved by RUNOFF. .s 2.lm LEFTMG Examples: .s.lm +7 To change the super and subscipt special characters from %@ and %~ to %{ and %} enter the RUNOFF commands - .b .CHA SS %{ .br .CHA SB %} .pg ! ! .lm CMDTAB.nf __________ | | | | | .LM | | | |________| .fi.lm LEFTMG .hl 1;LEFT MARGIN command The LEFT MARGIN command sets the left margin for the text. .s.lm +7.nf _______________________________________________ | | | | .LM | [+|- n ] | | | | |_________|___________________________________| .fi.lm LEFTMG;.s The LEFT MARGIN command sets the left margin to "n" or + or - n relative to the current setting for the left margin, not to be confused with the permanent left margin. .s 2;.lm LEFTMG Defaults: .s;.lm +7 The default setting is 10 for /PI:10 and 12 for /PI:12, 10/12 pitch. .s 2;.lm LEFTMG Command Synonyms: .s;.lm +7 .LEFT MARGIN,.LM .s 2;.lm LEFTMG Notes: .s;.lm +7 The "n" must be less than the right margin, but not less than 0. If n is signed, +|-, then the value of "n" is either added to or subtracted from the current value of the left margin. This allows margins to be set relative to some intial margin settings rather than always specifying absolute column positions. .s 2;.lm LEFTMG Examples: .s;.lm +7 .s .ix LM .ix LEFT MARGIN .pg ! ! .lm CMDTAB.nf __________ | | | | | .NAP | | | |________| .fi.lm LEFTMG .hl 1;NO AUTOPARAGRAPH command The NOAUTOPARAGRAPH command inhibits the AUTOPARAGRAPH mode. .s.lm +7.nf _______________________________________________ | | | | .NAP | | | | | |_________|___________________________________| .fi.lm LEFTMG.s The NOAUTOPARAGRAPH command turns off the AUTOPARAGRAPH mode. .s 2;.lm LEFTMG Defaults: .s;.lm +7 This command does not cause a break. .s 2;.lm LEFTMG Command Synonyms: .s;.lm +7 .NAP,.NOAUTOPARAGRAPH .s 2;.lm LEFTMG Notes: .s;.lm +7 This command is used in conjunction with the AUTOPARAGRAPH command only. .s 2;.lm LEFTMG Examples: .s;.lm +7 .ix NAP .ix NOAUTOPARAGRAPH .in NNPL.RNO .pg ! ! .lm CMDTAB.nf __________ | | | | | .NPL | | | |________| .fi.lm LEFTMG .hl 1;NUMBER PAGE LOW command The NUMBER PAGE LOW command causes the page numbers to be printed at the bottom center of the page. .s.lm +7.nf _______________________________________________ | | | | .NPL | | | | | |_________|___________________________________| .fi.lm LEFTMG.s The page numbers for the succeeding pages are printed at the bottom center of the page. .s 2;.lm LEFTMG Defaults: This command does not cause a break. .s 2;.lm LEFTMG Command Synonyms: .NPL .s 2;.lm LEFTMG Notes: .s;.lm +7 If NPL is engaged there will be 2 blank lines and one line for the page number reserved at the bottom of each page, even if NO NUMBERING is declared. You must use the .NNPL command if you do not wish these three lines to be reserved at page bottoms. The number will be centered between the permanent margins. .b In the default settings below, you would have 51 lines of text, 2 blank lines, and then the page number. .ix Defaults Default page margins etc. are as follows - .nf.lm+7 .TM 6 .PS 54 .PLM 10 or 12 .PRM 75 or 90 (/PI:n dependent) .NOHEADER .NPL .NUMBER .LM-7.F.B .lm LEFTMG .ix NPL .pg ! ! .lm CMDTAB.nf __________ | | | | | .PLM | | | |________| .fi.lm LEFTMG .hl 1;PERMANENT LEFT MARGIN command .ix PLM .ix MARGINS The PERMANENT LEFT MARGIN command sets the new permanent left margin. .s.lm +7.nf _______________________________________________ | | | | .PLM | n | | | | |_________|___________________________________| .fi.lm LEFTMG.s The new permanent left margin is set to "n." .s 2;.lm LEFTMG Defaults: .s;.lm +7 This command does not cause a break. Set to 12. If /PI:10 is used then set to 10 at start of run. .s 2;.lm LEFTMG Command Synonyms: .s;.lm +7 .PLM .s 2;.lm LEFTMG Notes: .s;.lm +7 Permanent margins should generally be set at the beginning of a document and not be altered therafter. Use .LM to change margins within the text. .b The .PLM command sets the left margin (.LM) to "n" also. .b The value of PLM is used for centering page numbers and justifying page headings, footers etc., items that should not float around depending on the setting of LM. .ix Defaults Default page margins etc. are as follows - .nf.lm+7 .TM 6 .PS 54 .PLM 10 or 12 .PRM 75 or 90 (/PI:n dependent) .NOHEADER .NPL .NUMBER .LM-7.F.B .s 2;.lm LEFTMG .pg ! ! .lm CMDTAB.nf __________ | | | | | .PRM | | | |________| .fi.lm LEFTMG .hl 1;PERMANENT RIGHT MARGIN command .ix PRM .ix MARGINS The PERMANENT RIGHT MARGIN command sets the new permanent right margin. .s.lm +7.nf _______________________________________________ | | | | .PRM | n | | | | |_________|___________________________________| .fi.lm LEFTMG.s The new permanent right margin is set to "n." .s 2;.lm LEFTMG Defaults: .s;.lm +7 This command does not cause a break. Set to 90. If /PI:10 is used then set to 75 at start of run. .s 2;.lm LEFTMG Command Synonyms: .PRM .s 2;.lm LEFTMG Notes: .s;.lm +7 Permanent margins should generally be set at the beginning of a document and not be altered therafter. Use .RM to change margins within the text. .b The .PRM command sets the right margin (.RM) to "n" also. .b The value of PRM ,along with PLM, is used for centering page numbers and justifying page headings, footers etc., items that should not float around depending on the setting of LM and RM. .ix Defaults Default page margins etc. are as follows - .nf.lm+7 .TM 6 .PS 54 .PLM 10 or 12 .PRM 75 or 90 (/PI:n dependent) .NOHEADER .NPL .NUMBER .LM-7.F.B .s 2;.lm LEFTMG .pg ! ! .lm CMDTAB.nf __________ | | | | | .PS | | | |________| .fi.lm LEFTMG .hl 1;PAGE SIZE command The PAGE SIZE command sets up the number of "lines", or length of a page, that text will actually be written on a page. .s.lm +7.nf _______________________________________________ | | | | .PS | [ n "lines" ] | | | | |_________|___________________________________| .fi.lm LEFTMG.s The PAGE SIZE command sets the size of the output page to be "n" lines long. .s 2;.lm LEFTMG Defaults: .s;.lm +7 This command does not cause a break. The default page length is 54 lines. .s 2;.lm LEFTMG Command Synonyms: .s;.lm +7 .PS,.PAPER SIZE .s 2;.lm LEFTMG Notes: .s.lm+7 The page size "n" includes any space that will be taken up for headings (4 lines) and lower page numbering (3 lines). .b Footnotes will not be permitted to overrun the page size. .b .ix Defaults Default page margins etc. are as follows - .nf.lm+7 .TM 6 .PS 54 .PLM 10 or 12 .PRM 75 or 90 (/PI:n dependent) .NOHEADER .NPL .NUMBER .LM-7.F.B .pg ! ! .lm CMDTAB.nf __________ | | | | | .RM | | | |________| .fi.lm LEFTMG .hl 1;RIGHT MARGIN command The RIGHT MARGIN command sets the right margin for the text. .s.lm +7.nf _______________________________________________ | | | | .RM | [+|- n ] | | | | |_________|___________________________________| .fi.lm LEFTMG;.s The RIGHT MARGIN command sets the right margin to "n" or + or - n relative to the current setting for the right margin, not to be confused with the permanent right margin. .s 2;.lm LEFTMG Defaults: .s;.lm +7 The default setting is 75 for /PI:10 and 12 for /PI:12, 10/12 pitch. .s 2;.lm LEFTMG Command Synonyms: .s;.lm +7 .LEFT MARGIN,.LM .s 2;.lm LEFTMG Notes: .s;.lm +7 The "n" must be greater than the left margin and less than 133. If n is signed, +|-, then the value of "n" is either added to or subtracted from the current value of the right margin. This allows margins to be set relative to some intial margin settings rather than always specifying absolute column positions. .s 2;.lm LEFTMG Examples: .s;.lm +7 .s .ix RM .ix RIGHT MARGIN .pg ! ! .lm CMDTAB.nf __________ | | | | | .SD | | | |________| .fi.lm LEFTMG .hl 1;STANDARD command The STANDARD command resets all parameter settings to their defaults. .s.lm +7.nf _______________________________________________ | | | | .SD | [ n ] | | | | |_________|___________________________________| .fi.lm LEFTMG.s The STANDARD command is used to restore all initial settings of changeable parameters. If "n" is specified, a page will be set up relative to "n" ("n" is the margin width). .S 2;.lm LEFTMG Defaults: .s;.lm +7 This command does not cause a break. .s 2;.lm LEFTMG Command Synonyms: .s;.lm +7 .SD,.STANDARD .s 2;.lm LEFTMG Notes: .s;.lm +7 This command is useful if settings are changed and it becomes necessary to re-initialize the standard block format. .s 2;.lm LEFTMG Examples: .s;.lm +7 .ix SD .ix STANDARD .in SETSS.RNO .in TM.RNO .pg ! ! .lm CMDTAB.NF __________ | | | | | .SP | | | |________| .fi.lm LEFTMG .hl 1;SPACING command The SPACING command sets the spacing between lines. .s;.lm +7.nf _______________________________________________ | | | | .SP | [ n or n/8 "lines"] | | | | |_________|___________________________________| .fi.lm LEFTMG.s The Spacing command sets line spacing to "n". .s 2;.lm LEFTMG Defaults: .s;.lm +7 This command does not cause a break. The default setting for "n" is 1, single spaced. .s 2;.lm LEFTMG Command Synonyms: .s;.lm +7 .SP,.SPACING .s 2;.lm LEFTMG Notes: .s;.lm +7 The "n" can range from 1 to 5. .SP 1 is like single spacing on a typewriter. .SP 2 is like double spacing on a typewriter. That is, .SP 2 puts one blank line between each line of text. "n" can also be in terms of partial lines so you can have one and one-half spacing or even one and one-eighth spacing etc. Spacing is set to 1/8 while in equation mode. .s 2;.lm LEFTMG Examples: .s;.lm +7 To set for one and one-half spacing use the command - .b .SP 1+1/2 .br or .br .SP 3/2 .ix SP .ix SPACING .pg ! ! .lm CMDTAB.nf __________ | | | | | .TS | | | |________| .fi.lm LEFTMG .hl 1;TABSTOP command The TABSTOP command is used to define tab stops. .s.lm +7.nf _______________________________________________ | | | | .TS | [ n,n,... ] | | | | |_________|___________________________________| .fi.lm LEFTMG;.s This command is used to set tabstops for the output file. .s 2;.lm LEFTMG Defaults: .s;.lm +7 This command does not cause a break. The default tabs are set at eight-column intervals to match the DIGITAL hardware standard. These tabs are at columns 9, 17, 25, 33, 41, 49, 57, and 65. .s 2;.lm LEFTMG Command Synonyms: .s;.lm +7 .TS;.TAB STOPS .s 2;.lm LEFTMG Notes: .s;.lm +7 The "n" must be greater than 0 and listed in ascending order. .b "n" may also be signed with a "+". If the plus sign is used then the first tab will be relative to the left margin (LM) and subsequent tabs with the plus sign will be relative to the ^&previous\& tab stop. .b Tabs can only be used in lines that are unjustified and unfilled. If tabs already exist, the issuing of another "TAB STOPS" command clears all previous tabs before setting new tabstops. Remember, "FILL/JUSTIFY" mode must be disengaged in order for tab stops to work. .s 2;.lm LEFTMG Examples: .s;.lm +7 .ix TS .ix TAB STOPS