.LM .ifnot hlp .HL 1 PARAMETER SETTING .index Parameter setting .endif hlp .left margin +5 .ts 10,30,50,70,90,110 .if hlp.i-6;3 MARGINS .if rsx.i5;ADDITIONAL HELP AVAILABLE: LEFT RIGHT TOP PAGE note .endif rsx .i-6;4 LEFT .endif hlp .s.tp5.i-5; _.LEFT MARGIN [+-n] .i-5;_.LM [+-n] .s.x LEFT MARGIN sets the left margin to n. The n must be at least 16 less than the right margin but not less than 0. The initial setting is 0. If n is not specified, the permanent margin is restored. If the margin is specified with a + or - sign then n is added to the current margin. For example: .i5;_.LEFT MARGIN +5 .br;Moves the margin 5 spaces to the right. .i5;_.LEFT MARGIN -5 .br;Moves the margin back 5 spaces to the left. .i5;_.LEFT MARGIN .br;Sets the margin to the value last specifed in a _.PAGE SIZE command. .br;You should note that tab stops are relative to the margin at 0. In other words if you set _.LEFT MARGIN 10 _.TAB STOPS 10,15,20,25 the tab stop at 10 will be ineffective because it is already at the left margin. .if hlp;.i-6;4 RIGHT .br .endif hlp .s.tp5.i-5; _.RIGHT MARGIN [+-n] .i-5; _.RM [+-n] .skip .x RIGHT MARGIN sets the right margin n. The n must be 16 greater than the left margin. The initial setting is 60. If n is not supplied, the current page width (set with the PAGE SIZE command) is used. Using a + or - sign adds n changes the current margin by +n or -n similar to the _.LEFT MARGIN command. .if hlp;.i-6;4 TOP .br .endif hlp .s.tp5.I-5; _.TOP MARGIN [+-n] .I-5; _.TM [+-n] .S.x TOP MARGIN sets the top margin or the number of blank lines at the top of the page to n. The top margin must be less than the number of total lines in the page. The default value is 0. If n is not specified the top margin is reset to the default or permanent value. See also _.PAGE SIZE command below. Using a + or - sign adds n changes the current margin by +n or -n similar to the _.LEFT MARGIN command. .br;(Not available in DSR) .if hlp;.i-6;4 PAGE .br .endif hlp .s.tp 10.i-5; _.PAPER SIZE [+-h],[+-w],[+-l],[+-t],[s] .i-5; _.PAGE SIZE [+-h],[+-w],[+-l],[+-t],[s] .i-5; _.PS [+-h],[+-w],[+-l],[+-t],[s] .s.x PAPER SIZE .x PAGE SIZE sets the size of the page to h by w for the height and width. Also sets the LEFT MARGIN to l, the TOP MARGIN to t and the spacing to s. The initial setting is 58,60,0,0,1. These settings are permanent since they are now the new default for the duration of the document. Every _.CH command will reinstate the PAGE SIZE settings. In addition the other margin commands without any margins specified will reset the requested margin to the permanent value. You may reset all of these values to the permanent value by issuing the _.PAGE SIZE command without any parameters. The permanent values are used to determine the margins of the heading on each page. The older versions of RUNOFF used only the temporary right margin to set the header margins. If the margins are set so that there are fewer than 16 lines on a page or fewer than 16 spaces per line the _.PAGE SIZE command will be rejected with an error message. This restriction also applies to the margin commands. The maximum h is 127. (DSR doesn't support permanent margins or parameters l,t,s) .if hlp.i-6;4 note .endif hlp .note If you wish this command or any other margin command to set the margins for the entire document including the first page, you must put the command before any text. It also must appear before _.BLANK, _.SKIP, _.FIGURE, _.CHAPTER, or any other command that generates text. .en .if hlp;.i-6;3 SPACING .br .endif hlp .s.tp5.i-5; _.SPACING [n] .i-5; _.SP [n] .s.x SPACING sets the number of spaces between lines. The n can range from 1 to 5. If n is omitted the permanent spacing (normally 1) is restored. The permanent spacing is set by the _.PAGE SIZE command. This command influences _.PARAGRAPH, _.SET PARAGRAPH, and _.SKIP. It has no effect on _.TEST PAGE, _.FIGURE, or _.BLANK. _.SPACING 1 is like single spacing on a typewriter and _.SPACING 2 is like double spacing. SPACING 2 puts one blank line between lines of text. .if hlp .if rsx.i5;ADDITIONAL HELP AVAILABLE: HALF NO__HALF .endif rsx .i-6;4 HALF .endif hlp .s.tp5.i-5; _.HALF SPACING [n] .s.x HALF SPACING This command is very similar to the spacing command except that it turns on half spaing. The n will be the number of half lines per line of text. Once half spacing is enabled, every command which specifies spacing now works in increments of half lines. Commands which are affected by half spacing are: .lm+5.nj.DHY _.BLANK _.FIGURE _.FIGURE#DEFERRED _.PAGE#SIZE _.TOP#MARGIN _.SPACING _.HEADER#SPACING _.LAYOUT _.STYLE#LEVELS _.STYLE#CHAPTER .nf.lm-5 _.HALF SPACING 2 - Produces single spacing _.HALF SPACING 3 - Produces 1_&1/2 spacing _.HALF SPACING 4 - Produces double spacing .j.EHY.f .br;(Not available in DSR) .if hlp.i-6;4 NO__HALF .endif hlp .s.tp5.i-5; _.NO HALF SPACING .s.x NO>HALF SPACING This turns off the half spacing option. All commands which specify a spacing will work in increments of 1 space only. Previously specified spacing will however remain the same. .NOTE _.HALF SPACING will only work properly if the printer supports subscripting. You may have to use the _.DEFINE SUBSCRIPT command. If in doubt see your system manager. .en .ifnot hlp .s.tp5.i-5; _.STANDARD n .i -5 _.SD n .skip .x STANDARD returns all parameters to their initial settings and sets n as the page width. This command has been retained for compatability with previous versions of RNO and is ^&NOT\& recommended. The _.PAGE SIZE command with no parameters will reset margins to the permanent values, while this command resets them to "installation standard". If _.STANDARD 70 is specified, margins are reset .i5; _.PAGE SIZE 58,70,0,3 _.SPACING 1 _.FILL .i5; _.SET PARAGRAPH 5,1,2 .br; The actual parameters may differ according to the "installation standard". .endif hlp .if hlp;.i-6;3 LOCK .br .endif hlp .S.TP8.i-5; _.LOCK .S.X LOCK this command locks a number of page formatting parameters. While locked these parameters can not be changed. Essentially all commands that change the page format are locked. The following commands will give error messages if issued after a _.LOCK command: .s.ts 10,30,50,70,90,110.nj.dhy _.ENABLE#NUMBERING _.DISABLE#NUMBERING _.ENABLE#NUMBERING#CHAPTER _.DISABLE#NUMBERING#CHAPTER _.HEADERS#UPPER _.HEADERS#LOWER _.HEADERS#MIXED _.HEADERS#PAGE _.HEADERS#NO#PAGE _.HEADERS#SPACING _.NO#HEADERS _.HEADERS _.INDENT#LEVELS _.PAGE#SIZE _.TOP#MARGIN _.STYLE#(all#commands) _.STANDARD _.NO#NUMBER _.NO#NUMBER#CHAPTER _.NO#TITLE _.LAYOUT _.DISPLAY#(all#commands) .s.j.ehy In addition the _.NUMBER CHAPTER will not reinstate chapter numbering, and _.NUMBER PAGE will not reinstate page numbering. If you are careful to put all page formatting commands into a separate file, this command will probably not be necessary. If however you have been foolish enough to sprinkle them throughout your text, or you need to merge several documents into a single coherent tome, this command can be a valuable short cut. .s This is intended to facilitate merging several files into 1 document. You first set up all the parameters mentioned above and then lock them. If you still have page formatting commands in the rest of the document they will not be obeyed. This will produce a uniform document with all the same format. .br;(Not available in DSR) .req "TABS"