home *** CD-ROM | disk | FTP | other *** search
- .a js=y nm=1 pn=1 ad=n hy=n lp=12 bo=51 te=12 to=90
- .st3,14,1
- &dAppendix%C:%%Galahad%Printing%Formatter .jc .b3
- &d[%Appendix%C%] .hc
- .t36 C - .zl
-
-
-
- &DINTRODUCTION .jr .b
- .st3,11,1 .x-5 .b2
-
- .p This Appendix is the complete reference for &iall of the Galahad commands to
- control the printed text, i.e, process words. These are called the Text
- Command which are divided into two parts, called Command Symbols, and Command
- Words.
- .b
-
- .p Before we discuss the Text Command we will first amplify on the Printing
- Commands discusses in Chapters One and Five. .b4
-
-
-
-
-
- .st3,14,1 .b
- &DGALAHAD%PRINTING%COMMANDS .jr
- .st3,11,1 .x-5 .b2
-
- .p Galahad has two commands to print text: PRINT and LIST. Both of these
- commands allow the printed text to be sent to a &iprinter, the &idisplay%screen
- or a &idisk%file. The LIST command simply lists the text as it appears. That
- is, LIST does not cause Galahad to process the dot command. This printing
- command prints the text exactly as it appears while editing, thereby printing
- the dot commands themselves.
- .b
-
- .p The PRINT command is the normal means of printing Galahad text. This
- command causes Galahad to format the text as specified by the Dot and other
- formatting commands. The two printing commands are discussed next. .b2
- .std3,13,1
- .p LIST D F L .b .st3,11,1
- .p The command LIST causes the current text to be printed (or displayed on
- the screen). LIST has three arguments, all of which are optional. .b
-
- .p The first argument D, specifies the device upon which the text is to be
- printed. The screen device is CON: and the hard copy printer is either PRN: or
- LST:, both act the same. The device AUX: is the modem port. Alternatively, a
- filename may be specified. In that case the text will be stored in the
- specified file. If the device is not specified the screen is assumed. .b
-
- .p The second argument F, selects the line number in the text where
- printing will start. If F is omitted then printing starts at line 1. The
- third argument specifies the last line number to be printed. When LISTing is
- done to any device except CON: the printer OPTIONS are used. That is, a left
- margin is printed, and a top and bottom margin is provided, these parameters
- are specified with the OPTIONS command. .b
- .n
- .p When LISTing is done on the screen (CON:), Galahad only allows one screen
- full of output to be displayed, and then the printing stops. The display of
- the output may be continued by pressing any key. While in this paging mode the
- display is stopped each time the screen is filled. Should continous display
- be desired, press the CTRL-O key prior to using the LIST commmand. The CTRL-O
- key is a toggle that turns on and off the paging mode of display, thus the
- paging mode can be re-entered by again pressing CTRL-O. When the paging mode
- is off, the display may be stopped at any time by pressing the CTRL-S key. The
- display is restarted by pressing any key. .b3 .i25
-
- .u &oExamples: .b
- .u15 LIST .t25 All text is printed on the screen. .b
- .u15 LIST PRN: .t25
- All text is printed on the MS-DOS PRN: device. .b
- .u15 LIST 5 .t25 Displays the text at line 5 on the screen. .b
- .u15 LIST AUX: 10 .t25 Print the text at line 10 on the MS-DOS modem port.
- .b
- .u15 LIST LST:,,50 .t25 Print the text starting at line 1 through line 50 on
- the MS-DOS LST: device (LST: is the same as PRN:). .b
- .u15 LIST ,,30 .t25 Display the text starting at line 1 through line 30 on
- the screen. .b
- .u15 LIST 30 400 .t25 Display the text from lines 30 through line 400 on the
- screen. .b3 .i0
- .sto3,11,1
- .n NOTE: A "," Is needed only to separate arguments which are not specified.
- LIST CON:,3,4 is equivalent to LIST CON: 3 4 but LIST CON: 4 is not the same as
- LIST CON:,,4. .b2
- The LISTing process can be aborted at any time by pressing the CTRL-C key. .b3
-
- .std3,13,1
- .p PRINT D PS PE N .b .st3,11,1
- .p The command PRINT causes the current text to be printed (or displayed on
- the screen) according to the commands embedded in the text. PRINT has three
- arguments, all of which are optional. .b
-
- .p The first argument D, specifies the device upon which the text is to be
- printed. This argument is identical to that of the LIST command. The possible
- devices are CON:, PRN:, LST:, AUX:. Alternatively, a filename may be
- specified. In that case the text will be stored in the specified file. If a
- device is not specified the screen is assumed. .b
-
- .p The second argument PS, selects where in the text printing will start. If
- PS is greater than 1 printing is suppressed until all pages up to PS have been
- processed. Printing then begins on page PS. The pages do not have to be
- numbered to use this feature. This option avoids printing unwanted pages in
- case of a re-print. If PS is not specified, page 1 is assumed. If the third
- argument PE is specifed printing will stop after printing page number PE. If
- PE is not specified the entire document is printed. .b
-
- .p The fourth argument is used only with the =.F command. It specifies how
- many files are to be printed. It is useful when less than a full set of files
- is to be printed. Printing will halt after N number of files have been
- processed, or there are no more files to process. .b .i29 .b
-
- .n10 .u &oExamples: .b
- .u19 PRINT .t29 All text is printed on the screen. .b
- .u19 PRINT PRN: .t29 All text is printed on the PRN: (printer) device. .b
- .u19 PRINT 5 .t29 Print the text starting at page 5 to the end, on the
- screen. .b
- .u19 PRINT PRN: 10 20 .t29 Print the text
- starting at page 10 on the printer, and stops after page 20. .b
- .u19 PRINT LST:,,,5 .t29 Print the text which is held in 5 files, starting at
- the first page, on the LST: device (this is only required when =.F is
- specified at the end of each file). .b
- .u19 PRINT ,,,3 .t29 Print the text which is held in 3 files, starting at the
- first page, on the screen. .b
- .u19 PRINT PRN: 3,,4 .t29 Print the text held in 4 files on the PRN:
- device, starting at page 3. .b2 .i0
- .sto3,11,1
- NOTE: A "," Is needed only to separate arguments which are not specified.
- PRINT PRN:,3,4 is equivalent to PRINT PRN: 3 4, but PRINT LST: 4 is not the
- same as PRINT LST:,,4. .b2
- .st3,11,1
- .p When PRINTing is done on the screen, Galahad only allows one screen full
- of output to be displayed, and then the printing stops. The display of the
- output may be continued by pressing any key. While in this paging mode the
- display is stopped each time the screen is filled. Should continous display
- be desired, press the CTRL-O key prior to using the PRINT commmand. The CTRL-O
- key is a toggle that turns on and off the paging mode of display, thus the
- paging mode can be re-entered by again pressing CTRL-O. When the paging mode
- is off, the display can be stopped at any time by pressing the CTRL-S key. The
- display is re-started by pressing any key. .b
- .p When the print command is to be executed on a hard copy device, before
- the command is given, align the top of the page with the top of the print head.
- Printing will proceed as soon as the PRINT command is given. In case printing
- from other than the first page has been specified, it will take a while to get
- to the desired page. When the first page to be printed has been reached,
- printing will begin immediately. .b
- .n .p The PRINTing process can be aborted at anytime by pressing the CTRL-C
- key. .b6
-
- .st3,14,1
- &DGALAHAD%TEXT%COMMANDS .jr .b3
- .st3,11,1 .x-5
- .p The Galahad Text Commands consist of symbols entered into the text to
- control the printing format. There are two classes of commands, called Command
- Symbols and Command Words. The command words are identified as a command by a
- leading ".", such as =.B, the command symbols are simply symbols placed in the
- text. These commands are described next. .b3
-
- .std3,12,1
- .n5 Command Symbols .b2
- .st3,11,1
- .p The Command Symbols are concatenated with the words of the text to achieve
- desired print format. For example, =&B is a command symbol which when placed
- in front of a word causes it to be a subscript: H=&B2 prints as H&B2 .b2
- .i8
-
- .u =_ .t8 (=_) Forces the next word to be _underlined&s. .b2
- .u =@ .t8 Forces the previous charac\ter to be overstruck
- with the next charac\ter. .b Both overstrike (=@) and _underline (=_)
- can be used on the same line, and the same charac\ters only when =.A IP==Y
- and Galahad is configured for the proper printer. .b2
- .u =% .t8 Used to produce a single space in the output. It is used to
- prevent the justification process from adding extra spaces. When the text is
- processed the =% is printed as a space. It is also used to cause
- underline, italics and double-strike to go across multiple words. .b2
- .u =\ .t8 Used to produce, or correct, hyphenation in the printed output
- text. If the hypenation rules produce improper hyphenation a "=\" may be
- inserted in the correct position of the word. In case a "=\" is inserted in a
- word and then later through text editing the word is no longer at the right
- margin the "=\" will do no harm. That is, in a word that does not require
- hyphenation a "=\" is ignored. In case a word is not to be hyphenated a
- leading "=\" signifies no hyphenation. .b2
- .u == .t8 Forces the following charac\ter to be printed. This allows the
- command charac\ters being described here to be printed as charac\ters in the
- text. .b3
- .u =& .t8 Forces the next charac\ter to be interpreted as a
- command. The command may be input in upper or lower case. .b2
- .u =&P .t8 Forces the rest of the word to be a &psuper&nscript. .b2
- .u =&B .t8 Forces the rest of the word to be a &bsub&nscript. .b2
- .u =&N .t8 Stops &bsub&n/&psuper&n-scripting
- before the end of a word. .b2
- .u =&D .t8 Prints the next word by &DBoldfacing it (Double Striking). .b2
- .u =&I .t8 Prints the next word in &IItalics. .b2
- .u =&O .t8 Prints the next word in &OThe%Other format. This =& symbol effect
- may be defined by the user of Galahad. (See Appendix D). .b2
- .u =&S .t8 Stops the _under&sscoring and &iitalics at any point in a word. .b2
- .u =&T .t8 Stops the &dbold%fac&ting and &oother at any point in a word. .b2
- .u =&U .t8 Start underlining the following word. The same as =_. .b3
- .i0
-
- .std3,12,1
- .n4 Command Words .b2
- .st3,11,1
- .p Command Words may appear on a line by themselves or interspersed between
- words. .b3
-
- .std3,12,1
- The Dot A Command
- .st3,11,1
- .b2 .i13
- .n4 .u10 =.A <command string> .b
- =.A is the symbol that indicates that a string
- of control commands follow. These control commands set the margins, printed
- line length, spacing between lines, etc. A <command string> is a sequence of
- commands separated by commas (or spaces) and ended with a semicolon or end of
- line. Each command is two charac\ters followed by "==" followed by a value.
- The value may be a number or else "Y", "N" or "D", meaning YES, NO or DEFAULT
- respectively. A "D" is used to return a command to its default value. An
- example of a command is: .b2
- %%=.A SP==2,LM==8,LL==76; .b2
- where: SP==2 means set the spacing between lines to 2, i.e. double spacing,
- LM==8 means set the left margin to 8 spaces in from the edge of the paper,
- LL==76 means set the printed line length to 76 charac\ters. .b2
- Below is a list for all of the commands, the type of value to be entered, the
- value used for the command if the command is not present in the text (i.e. the
- default value), and the meaning of the command. .b2
- .u3 AD - Y or N - Y .b AD (Automatic Dot) is set to Y to provide
- =.P and =.B automat\ically. When AD==Y the text is entered as one would on a
- typewriter using indenting on the left margin for a paragraph, and using blank
- lines to separate paragraphs. The rules for the use of AD==Y are this: 1) All
- spaces are preserved starting at the left margin to the first word on each
- line. Spaces in the rest of the line are not preserved unless PS==Y is used.
- 2) A =.B is supplied automatically when a line is not completely filled out.
- That is, a =.B is provided whenever the first word on the next line could have
- fit at the end of the current line. When using text written in Galahad Version
- 1.0+, set AD==N and Galahad II will process text as Galahad I did. .b2
- .n3 .u3 AH - Number - 3 .b AH (After Heading) is the number of blank lines
- after the heading, if present. If no heading is present a blank line is
- printed in its place. If AH==0 no heading will be printed even is specified
- by a =.H command. .b2
- .n3 .u3 AL - Y or N - N .b AL (Automatic Link) is set to Y when multiple text
- files are to be PRINTed consecutively. In case AL==Y and text is being
- printed, when the end of the text has been printed, the last charac\ter of
- the last file name LOADed is incremented by one. Then that file name is
- searched for in the disk directory. If it is found that file is automatically
- LOADed and PRINTing continues. This process continues until the created file
- name is not found, then printing is terminated. In case the last charac\ter of
- the file name is an alphabetic charac\ter, the next letter of the alphabet is
- used as the last letter of the file name. For example: the file printed after
- MYFILE is MYFILF. .b2
- .n3 .u3 AN - number - 3 .b AN (after page Number) is the number of blank
- lines after the page number. If no page number is requested a blank line is
- printed in its place. .b2
- .n3 .u3 BE - Number - 0 .b BE (Bottom Even) is the ABSOLUTE printed page
- column that the page number is to be placed in the footer. If both BE
- and BO are a number other than 0, BE specifies in which column the even page
- numbers are to appear. (See Page Numbering below). .b2
- .n3 .u3 BH - Number - 3 .b BH (Before Heading) is the number of blank lines
- printed before the heading line. .b2
- .n3 .u3 BN - Number - 2 .b BN (Before page Number) is the number of blank
- lines printed before the page number line. .b2
- .n3 .u3 BO - Number - 50 .b BO (Bottom Odd) is the ABSOLUTE printed page
- column that the page number is to be placed in the footer. If both BE
- and BO are a number other than 0, BO specifies in which column the odd page
- numbers are to appear. (See Page Numbering below). .b2
- .n3 .u3 C2 - Number - 0 .b C2 (Column 2) enables two column printing, and is
- the desired left margin width when printing the second column. It is similar
- to the LP command which sets the left margin for printing in normal single
- column mode. Typically, C2==50. A 50 character margin would place the second
- column near the center of the paper. Two column mode is disabled when C2==0,
- and is active when C2 is greater than 0. On a Laser printer two column output
- will be produced. On non-laser printers each column will be printed on
- separate sheets of paper. When printed to the screen all columns are printed
- at the value of LM, but when the second (or third column) is printed the
- command line indicates which column is being displayed. .b2
- .n3 .u3 C3 - Number - 0 .b C3 (Column 3) enables three column printing, and is
- the desired left margin width when printing the third column. Three column
- mode can only take place if two column mode has been enabled. Three column
- mode is disabled when C3==0. .b2
- .n3 .u3 CL - Y or N - Y .b CL (Conditional Line) is set to Y when the text
- and command words following =.Cn to the end of n of lines are to be PRINTed.
- .b2
- .n3 .u3 CT - Y or N - Y .b CT (Conditional Text) is set to Y when the text
- between =.[ and =.] is to be PRINTed. .b2
- .n3 .u3 DB - Y or N - N .b DB (DeBug text) when set to Y prints the text
- line numbers on the status line as the text is printed. This allows you to
- easily find an error in the text. (See GoToLine command). .b2
- .n3 .u3 HL - Number - 0 .b HL (Header Length) is set to the desired length of
- the PRINTed header and footer line. Normally the header/footer line length is
- the same as the text length (LL). Since this is the case if HL==0 the LL is
- the printed line length for the text, the header and the footer. When two and
- three column text is printed it is usually necessary to have a different line
- length for the header and footer. HL sets this length. .b2
- .n3 .u3 HY - Y or N - Y .b HY (Hyphenation) is set to Y to produce hyphenated
- words at the right margin of the text when required. .b2
- .n3 .u3 IP - Y or N - Y .b IP (Intelligent Printer) is set to Y when the
- printer for which Galahad has been configured is to be used as
- the printing device, &iotherwise%set%IP==N. This is useful with printing to
- a file which is to be printed by some unknown printer at a later time. .b2
- .n3 .u3 JS - Y or N - N .b JS (JuStify) is set to Y if the text is to be
- righthand justified. If N is specified the PRINTed lines are filled up to the
- requested line length but not justifed to the right. .b2
- .n3 .u3 LL - Number - 78 .b LL (Line Length) is set to the desired length of
- the PRINTed text line. .b2
- .n3 .u3 LM - Number - 0 .b LM (Left Margin) is set to the desired number of
- spaces in the text left margin (that is, the width of the left margin) when
- displayed on the screen. .b2
- .n3 .u3 LP - Number - 15 .b LP (Line length for Printer) is set to the
- desired left margin width when printed on any device except the screen. This
- allows separate control of the left margin when displaying on the screen and
- when printing on the hard copy device. .b2
- .n3 .u3 MC - Number - 60 .b ML (Master Character) is only concerned with Laser
- Printers. It has no effect for normal printers. MC is a special laser setting
- to allow the expert Galahad user to change the meaning of the number of
- character positions (columns) across a page. It is 10 times the number of
- points assumed for each column position. Since 12 characters per inch is
- the usual "pitch" for printers and typewriters, MC==60. That is, 6 points per
- character. .b2
- .n3 .u3 ML - Number - 12 .b ML (Master Line) is only concerned with Laser
- Printers. It has no effect for normal printers. ML is a special laser setting
- to allow the expert Galahad user to change the meaning of the number of lines
- per page. It is the number of points assumed for a printed line. The value of
- 12 times 66 lines per page is the length of an 11 inch sheet of paper. .b2
- .n3 .u3 NM - 0,1,2 - 0 .b NM (NuMbering type) is the type of page number to be
- printed. 0 indicates no page numbers, 1 indicates Arabic numbers, and 2
- indicates lowercase Roman numbers up to x (after x the numbering reverts to
- Arabic 0). See discussion of page numbers below. .b2
- .n3 .u3 PL - Number - 66 .b PL (Page Length) is set to the maximun number of
- lines that could be printed on the page if every line was used. Only in
- &overy%rare circumstances should PL be anything but the length of the
- &ophysical page. .b2
- .n3 .u3 PN - Number - 0 .b PN (Page Number) is set to the next number to be
- printed when the NM command is set to 1 or 2. .b2
- .n3 .u3 PS - Y or N - N .b PS (Preserve Space) is set to Y to cause all
- spacing on a line to be preserved. This is most useful for making column
- formatted tables. It is an alternative to using the =.V commands. When PS==Y
- and dot commands appear on a line there can be conflicts as to the proper
- spacing. Thus a general rule is that when a dot command is processed while
- PS==Y, PS is automatically set to N from the remainder of the line in which the
- dot command appears, then is reset to Y at the start of the next line. .b2
- .n3 .u3 SP - 1,2,3 - 1 .b SP (SPacing) is set to 1,2 or 3 to indicate single,
- double or triple spacing respectively. .b2
- .n3 .u3 SS - Y or N - Y .b SS (Subscript Space) is set to Y to cause
- subscripts and superscripts to take space in the print line. When SS==N
- subscripts and superscripts are over each other when printed. .b2
-
- .n3 .u3 TE - Number - 0 .b TE (Top Even) is the ABSOLUTE printed page
- column that the page number is to be placed in the header. If both TE
- and TO are a number other than 0, TE specifies in which column the even page
- numbers are to appear. (See Page Numbering below). .b2
- .n3 .u3 TO - Number - 50 .b TO (Top Odd) is the ABSOLUTE printed page
- column that the page number is to be placed in the header. If both TO
- and TE are a number other than 0, TO specifies in which column the odd page
- numbers are to appear. (See Page Numbering below). .b2
- .n3 .u3 TR - Y or N - N .b TR (Tab Relative) is only concerned with Laser
- Printers. It has no effect for normal printers. When TR set to Y causes the
- column positions across the page to be relative to the size of the Laser
- printer font. Normally the number of columns across the page is considered to
- be for a 12 pitch (12 characters per inch printer - controlled by MC). But
- since the Laser printers fonts have a selectable character width, Galahad
- adjusts the number of characters that can actually fit on a line across the
- page. When TR==Y the number of columns across the page varies with the fonts.
- It is best to leave TR==N until you become a Laser Galahad expert. .b3 .i
-
- .n .std3,12,1
- Page Numbering. .b2
- .st3,12,1
- .p Page numbers may be in either or both the header or the footer (See =.H and
- =.Z). The rule of processing is that the header (or footer) is processed as
- any other text line each time it is to be printed, and then the page
- numbers are placed in the line at the ABSOLUTE page columns. That is,
- page number locations do &inot observe margins and indentation. .b
-
- .p Since you may want to put page numbers outside of the margins, it is
- necessary that the page numbers be located at absolute printed column
- positions. That is, when a page number is specified, its position is
- independent of the printer (LP) or screen margins (LM). The default value of
- BO is 50. Thus unless changed the page number is located in the footer
- starting in the ABSOLUTE page column 50 (the center of a 12 pitch page). If
- both BE and BO are not 0 then the page numbers will alternate between the even
- and odd pages at the columns specified by BO and BE. This would be used when
- the printed text is to be duplicated on back-to-back pages. .b
- .p When shown on the screen a page number that is outside the margins will
- show on the screen at the right or left margin. .b2
- .sto3,11,1
- NOTE: BO==40 and BE==0 is the same as BO==0 and BE==40; either puts the page
- number at column 40 on all pages independent of the page number. .b3
- .std3,12,1
- The Remaining Dot Commands .b2
- .st3,11,1
- .i13
- .n .u10 =.Bn .t13 Print the current line with no more filling, go to next
- printing line at the current specified spacing. Do this n times. In
- case n is 0 the =.B0 has no effect when AD==N, and causes the line to
- continue to be filled when AD==Y. =.B has no effect at the top of a
- page. Default is 1. (See Appendix I for the use of =.B0, and also see =.K
- below).
- .b2
- .n .u10 =.Cn .t13 Begin conditional clause. The text and command words
- following =.Cn to the end of n lines are PRINTed only if CC==Y. When CC==N
- neither the text is printed nor the command words executed. Default is 1. .b2
-
- .n .u10 =.D .t13 Produce todays date. Whenever =.D appears in the text the
- current date is printed in its place. When writing a letter one would
- normally put =.T50 =.D in the text to print the date near the right
- margin. .b2
- .n .u10 =.En .t13 Execute subtext n. The text defined by =.:n (See =.: below)
- is substituted for =.En. That is, whatever text is defined by =.:n is
- processed just as if it had been placed at the location of =.En. The
- advantage is that the same text may be printed-out many times in the same
- document without the need to copy it into the text location where it is to be
- printed. (See Appendix I). .b2
- .n .u10 =.FNAME .t13 Load and execute file 'NAME'. When =.FNAME is processed
- the text from file 'NAME' is loading into the current text buffer and printing
- of the document continues. This loading of new text has no effect on the
- current output line. Therefore, if a new line is to be started, a =.B command
- must be included. Also, none of the =.A parameters are changed. The total
- effect of =.F is as if one very long file was loaded and printed. .b2
- .n .u10 =.Gn .t13 Go to the top of a new page n times; default is 1. .b2
- .n .u10 =.Ho .t13 The line of text starting at the left margin up to the =.Ho
- is considered to be a heading which is to be displayed at the top of each page.
- The option o is L to left justify, R to right justify, C to center. All
- formatting commands are processed but those that have the effect of a =.B will
- have indesirable effects, and thus should be avoided. The header may have a
- page number if desired. (See =.A NM, TE, TO and HL). .b2
- .n .u10 =.In .t13 Set the indentation to n spaces from the left margin. All
- succeeding lines will be indented n spaces. Indentation is
- ended by =.I0. Default is 0. .b2
- .n .u10 =.Jo .t13 Similar to the =.H command above, but applies only to a
- single line of the text. Used to center or right justify a line. A break is
- produced. .b2
- .n .u10 =.Kn .t13 Break, print a block of n blank lines to be used as a place
- for a figure. If there are not n lines left on the page, a new page is begun
- and then n lines are skipped. The number of lines skipped is independent of
- the specified line spacing. That is, =.K3 skips three lines even if SP==2.
- This differs from =.B. =.Kn will skip lines at the top of a page, but
- =.B will not. Default is 1.
- .b2
- .n .u10 =.Nn .t13 Indicates n lines are needed on the remainder of the current
- page; if at least n lines exist then this command is ignored; if n lines do not
- exist, a new page is begun before the following text is printed. Default is 1.
- .b2
- .n .n .u10 =.Pn .t13 Break, start a new paragraph with initial indentation n
- spaces relative to current indentation value. Default is 5. .b2
- .n .u10 =.Qn .t13 At the end of this page, skip n pages. The effect of Q is
- additive. If two =.Q's occur on a page two pages will be skipped. Default is
- 1. .b2
- .n .u10 =.R .t13 This is a Laser Printer command. It has no effect on other
- printers. =.R controls the drawing of lines and boxes. There are three
- different forms. To draw a horizontal line: =.RHn,m -- a line is drawn from
- column n to column m. To draw a vertical line two statements are required.
- The line is started with =.RBVm: -- a vertical line is Begun at column m. To
- end the vertical line later in the text use the statement =.REVm: -- the value
- of m must be the same for both the start and end commands. To draw a box two
- statements are required. The box is started with =.RBBn,m: -- a box with
- horizontal dimensions from column n to m is Begun. To end the box later in
- the text use the statement =.REBn,m: -- the value of n and m must be the same
- for both the start and end commands. (See Chapter Seven). .b2
- .n .u10 =.Sxyf,s,l .t13 This is a Laser Printer command. It has no effect on
- other printers. =.S selects the style of the printing. This is a very brief
- description of =.S. See Chapter Seven for examples. When printing a page,
- there are three different parts that can have different fonts and sizes. These
- are the Text, the Header, and the Footer. The value of x selects the part to
- have its font style and size selected. x can be T for text, H for Header, and
- F for Footer. y is an optional setting to make the font selected be in D for
- Bold, I for Italics, or O for Bold Italics. If y is missing then the font is
- normal. f is the font number 1 through 6. The correspondence between font
- numbers and the font name is controlled by the =.INI file. See Appendix D. s
- is the size (height) of the font in &ipoints. There are 72 points per inch. l
- is the leading. That is the number of points between the bottom of one line of
- text and the start of the next, in points. .b2
- .n .u10 =.Tn .t13 There are two forms of the =.T command. When it is used as
- =.Tn it tabs to column n of text position, counting from the first column in
- which charac\ters are printed. The second usage is for multiple columns tabs.
- The command =.Tn1,n2,n3,n4 causes four tab positions to be setup at columns n1,
- n2, n3 and n4. This setup has no effect on printing on the line in which it is
- defined. After the setup, =.T (without a number) tabs to column n1, the next
- use of =.T on the same line tabs to n2, and the next to n3, etc. Each new line
- restarts the next tab to be used to n1. There can be at most 10 tabs defined.
- Default is 1. .b2
- .n .u10 =.Un .t13 Change the indentation for the next line only, to n spaces
- less than the present indentation; default is left hand margin which is also
- the maximum. .b2
- .n .u10 =.Vn .t13 Verbatim mode. =.V1 causes all of the text which follows to
- be printed exactly as it appears. Both command words and command symbols are
- ignored. This is useful if information from some other source, e.g.,
- MULTIPLAN, is to be included in the text. The =.V1 mode is ended by a line
- starting with =.V0 in column 1. The remainder of the line is processed in a
- regular manner (that is with word and symbol commands). =.V2 is the same as
- =.V1 except that command symbols &iare processed, but command words are
- ignored. =.V3 causes all of the text which follows (up to the =.V0) to be sent
- to the printer with no processing of any kind. This is most useful for
- including graphics in Laser printer text. Default is 1.
- .b2
- .n .u10 =.Wn .t13 If n==0 then stop printing and wait for a single charac\ter to
- be input before continuing printing. If n==1 then stop printing and wait for a
- single charac\ter at the top of every new page. Default is 0. .b2
- .n .u10 =.Xn .t13 This is a Laser Printer command. It has no effect on other
- printers. =.X moves the print position up or down the page. n is the amount
- in points. If n is positive the print position is moved down by n points. If
- n is negative the print position is moved up by n points. (See Chapter Seven).
- .b2
- .n .u10 =.Yn,m .t13 Used to number equations and make right justified columns.
- Using the form: =.Yn the rightmost n words prior to the =.Y command are right
- justified to the right margin. The default is 1. .b
- Example of =.Y1: .t40 A==LOG(B)/LOG(C) [2.1] .Y .b
- Using the form: =.Yn,m the rightmost n words prior to the =.Y command are right
- justified to column m. When n is 1 it may be omitted. In that case =.Y is
- written =.Y,m. (See Chapter Seven for examples). .b2
- .n .u10 =.Zo .t13 The line of text starting at the left margin up to the =.Zo
- is considered to be a footer which is to be displayed at the bottom of each
- page. The option o is L to left justify, R to right justify, C to center.
- All formatting commands are processed but those that have the effect of a =.B
- will have indesirable effects, and thus should be avoided. The footer may have
- a page number if desired. (See =.A NM, BE and BO, and also HL). .b2
- .n .u10 =.[ .t13 Start conditional text (=.] end conditional text). When
- CT==Y the text and command words between =.[ and =.] are PRINTed and executed.
- When CT==N all text and commands are ignored. .b2
- .u10 =.(n .t13 Save the current page number in variable n. Used primarily to
- form a table of contents. Each heading in the text to be entered in to table
- of contents is preceded by =.(1 for the first, =.(2 for the second, etc. The
- table of contents page is the last page printed. It contains the headings and a
- =.)n for each heading in the table. NOTE: A maximum of 100 numbers can be
- stored. .b2
-
-
- .n .u10 =.)n .t13 Recall a page number. Where this command appears the page
- number stored in variable n is substituted for the command. .b2
- .u10 =.:n .t13 Create subtext numbered n. The text which follows is treated
- as substitution text to be printed in the location of the subtext execution
- command "=.E". The subtext is ended by either the declaration of another
- subtext or else the end of all of the text. Therefore, all subtext definitions
- must go at the end of all other text. (See Appendix I) .b3 .i0
-
- .st3,14,1 .b
- &DSPECIAL%COMMANDS .jr
- .st3,11,1 .x-5 .b2
-
- Following are two Galahad Commands which make printing easier. Theses
- command must be entered in the Command Mode. .b2
-
- .p IMMEDIATE <command string> .b
- .p There are times when the =.A command values are to be overridden
- temporarily when viewing the PRINTed text on a terminal, or printing it on a
- printer. The IMMEDIATE command allows the user to cause those commands given
- in the <command string> to override the same commands following a =.A anywhere
- in the text. The Immediate command can be used multiple times. Each time it
- is used it does not affect previous Immediate commands (unless you specifically
- change one). (See the above list of commands under =.A).
- .b2
-
- &oExample: .b
- .t10 Immediate hy==y ll==68 .b2
-
- .p CLEAR .b
- .p The CLEAR command causes all previous IMMEDIATE commands to be cancelled.
- It has arguments.
- .g