.; RUNOFF Chapter 5 .; .; H.R. Tumblin 7-Jan-78 .; .CH;Source File Format .in RNOCHAINI .ix Source File Format .pp The source file contains the textual material which will appear on the final copy, plus information to specify formatting. Most importantly, upper and lower case information also may be supplied so that material can be prepared on the terminal or other such device which can normally input only upper case letters. All command information consists of regular ##[_]##Greater than##Quote next character .PP To allow the appearance of the special characters (ampersand(%&), number sign(%#), circumflex(%^), backslash(%\), greater than(%>), less than(%<), exclamation point(%!), (%{) or equals sign(%=)) in the output, the greater than character(>) is used as the quote character. That is, the character immediately following an underscore will be transmitted to the output file with no formatting effect. Thus the following nine cases occur: .ls .la;>%& .la;>%# .la;>%^ .la;>%\ .la;>>###[>_] .la;>%< .la;>%= .la;>%@###[>%{] .la;>%~###[>%}] .la;>%{ .la;>%! .els .ix Quote Next Character .; .hl 2 Upper case shift or mode lock. %^####Circumflex####Upper case shift or mode lock. .pp As described in section 5.1, the circumflex character(%^) is used to convert the letter following to upper case. It is also used to lock the case mode in upper case, and in the underlining mode to "underline all text". .ix Upper Case Shift .ix Mode Lock .; .tp 6 .hl 2 Lower case shift or mode unlock. %\####Backslash####Lower case shift or mode unlock .pp As described in section 5.1, the backslash character(%\) is used to output the letter following in lower case. It is also used to lock the case mode in lower case, and to disable underlining. .ix Lower Case Shift .ix Mode Unlock .; .hl 2 Flags Capitalize. %<####Less than character####Underline entire word. .pp If the command "FLAGS-CAPITALIZE" has been engaged, then all words preceded with a less than character(%<) will be capitalized. If it is to be used in printed text, then it also must be preceded by the quote character. .ix Flags Capitalize .; .hl 2 Flags Hyphenate. %=####Equals sign####Hyphenation disable. .pp If the command "FLAGS-HYPHENATE" has been engaged, the equals character(=) is used to disable hyphenation for the word it precedes. If it is to appear in the printed text, then it must be preceded by the quote character. .ix Flags Hyphenate. .; .hl 2 Superscripting %@#[%{]#at sign########Superscripting character .pp The at sign causes the next character to be placed a half a line above the line being typed for a superscript. This character works only if the DI or ES switch is enabled. Otherwise, the character is ignored. .ix Superscript. .; .hl 2 Subscripting %~#[%}]###Tilda##########Subscripting character .pp The %~ character causes the next character to be placed a half a line below the line being typed for a subscript. This character works only if the DI or ES switch is enabled. Otherwise, the character is ignored. .ix Subscript .; .hl 2 Overstriking %{######################Overstriking character .pp The %{ character causes the next printing character to overstrike the preceding character. To cause the next printing character to overprint the preceding character, insert an "%{" between them. The slashed-zero appears in the input text as a 0%{/ or /%{0. Note that the backspace character (octal 10) CANNOT be used in the input file; RNO will convert any backspace character in the input file into a "?" in the output file. Note this character only works for the Diablo, if the /DI switch is not specified the two characters follow each other, for example, a 0%{/ becomes a 0/. .ix Overstriking .hl 2 In line comments %!######################In line comment character .pp It is sometimes desireable to put comments in the text that do not appear in the output documents. Any text enclosed within exclamation points (%!) will be treated as a comment and not printed in the output. Such a comment may appear in the middle of a line. .ix In line comments .; .; End of chapter 5