home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / wp / rubicon5.zip / MANUAL.6 < prev    next >
Text File  |  1989-10-07  |  13KB  |  328 lines

  1.                 _________________________
  2.                |                         |
  3.                |  Section 6: PARAGRAPHS  |
  4.                |_________________________|
  5.  
  6.  
  7. CONTENTS
  8.  
  9. 6.1 Indentation and Paragraphs
  10. 6.2 Paragraph Modes
  11. 6.3 Horizontal Tab Mode
  12. 6.4 Vertical Tab Mode
  13.  
  14.  
  15. 6.1 INDENTATION AND PARAGRAPHS
  16.  
  17. A "paragraph" is a sequence of one or more text lines terminated by a
  18. <QP> tag, or by a blank line (which causes the Publisher to insert an
  19. implicit <QP> into the text, in the absence of a quad instruction). 
  20.  
  21. <QP>  Quad Paragraph:  End Current Line and Paragraph
  22.  
  23. <APL>  Advance Printhead by Inter-Paragraph Leading 
  24.  
  25. The variables which control the appearance of paragraphs, within the
  26. confines of the defined column, are the left-indent, right-indent, and
  27. para-indent. The para-indent, used only on the first line of a
  28. paragraph, and the left-indent, used on all other lines, are measured
  29. from the left edge of the column. The right-indent, measured from the
  30. right edge of the column, applies to all lines.
  31.  
  32. <ILd>  Set Left-Indent = d
  33.  
  34. <IRd>  Set Right-Indent = d
  35.  
  36. <IPd>  Set Para-Indent = d
  37.  
  38. <IBd>  Set Left- and Right-Indent = d
  39.  
  40. <ITL>  Set Left-Indent to current print position 
  41.  
  42. <ITR>  Set Right-Indent to current print position 
  43.  
  44. <IHd>  Set Left-Indent=d, Para-Indent=0  - with d greater than 0,
  45. creates a "hanging paragraph", i.e. a paragraph with the first line
  46. extending farther to the left than the other lines.
  47.  
  48. <IH>   Set Left-Indent=0, Para-Indent=0
  49.  
  50. <IL>   Set Left-Indent = 0
  51.  
  52. <IR>   Set Right-Indent = 0
  53.  
  54. <IP>   Set Para-Indent = 0
  55.  
  56. <IB>   Set Left- and Right-Indent = 0
  57.  
  58. 6.2 PARAGRAPH MODES
  59.  
  60. The Publisher provides two special modes of paragraphing - "bullet mode"
  61. and "list mode" - which are useful when printing a list or series of
  62. items, topics, features, or the like. 
  63.  
  64. 6.2.1 BULLET MODE
  65.  
  66. In Bullet Mode, each paragraph (which may of course be a short single-
  67. line item) begins with an introductory character called a ``bullet'',
  68. followed by a thin space. 
  69.  
  70. The text to be printed in Bullet Mode is identified by placing it
  71. between the tags 
  72.  
  73. <bullets>
  74. ....
  75. ....
  76. ....
  77. <end>
  78.  
  79. These tags should appear alone, that is, on lines containing nothing
  80. else. The character to be used as the ``bullet'' is specified by the
  81. tag: <bullet char=n> where n is the ASCII code or Pi number of the
  82. desired bullet character, which is usually a symbol, such as a circle,
  83. square or triangle, rather than a letter or number. When using Bullet
  84. Mode, it is important to remember that EVERY item which is regarded as a
  85. separate paragraph by the Publisher will receive a bullet. 
  86.  
  87. 6.2.2 LIST MODE
  88.  
  89. In List Mode, each paragraph (which may of course be a short single-line 
  90. item) begins with an introductory number followed by a period. The 
  91. numbering is in conventional Arabic digits, starting at "1".
  92.  
  93. The text to be printed in List Mode is identified by placing it between 
  94. the tags 
  95.  
  96. <list>
  97. ....
  98. ....
  99. ....
  100. <end>
  101.  
  102. These tags should appear alone, that is, on lines containing nothing
  103. else. When using List Mode, it is important to remember that EVERY item
  104. which is regarded as a separate paragraph by the Publisher will receive
  105. a number. 
  106.  
  107. 6.3 HORIZONTAL TAB MODE
  108.  
  109. Horizontal Tab Mode is primarily used to display information in tabular
  110. form, that is, in a table having rows and columns. The layout of the
  111. table is defined by a series of tab stops. Each tab field is bordered on
  112. the left and right by a tab stop. A table with "n" tab fields requires
  113. ("n"+1) tab stops, unless the "nth" tab field is left justified. The
  114. purpose of the ("n"+1)th" tab stop is to provide the missing edge for
  115. the "nth" tab field. This edge is used for centering, right
  116. justification, or full justification of the "nth" tab field. The maximum
  117. number of tab fields is 30 or, equivalently, the maximum number of tab
  118. stops is 31. 
  119.  
  120. A "table style" (or "horizontal tab style") consists of a number of tab
  121. stops. Individual tab stops are input using the following syntax: 
  122.  
  123. <tab i= stop= justify= font=>
  124.  
  125. The order of the parameters is not important. Justification and font 
  126. parameters may be omitted. The syntax and usage of the parameters 
  127. is:
  128.  
  129. i= Tab number (an integer). The ordinal number of the tab stop, counting
  130.    left to right. 
  131.  
  132. stop= Horizontal distance of the current tab stop, measured from the
  133.       left edge of the column (a positive number). The default unit of
  134.       measurement is dots (300ths of an inch) but any other Publisher
  135.       units are accepted. 
  136.  
  137. justify= Default justification for the current tab field (from the
  138.          current tab stop to the next ordinal tab stop). Parameter
  139.          values are "qj", "ql", "qr", or "qc", representing quad
  140.          justify, quad left, quad right, and quad center. See "Alignment
  141.          and Justification" for explanations of these tags. The
  142.          justification parameter is optional. If omitted, justification
  143.          is determined by the current rag setting, or by an explicit
  144.          quad tag terminating the input text for the tab field. Example:
  145.          justify=ql. 
  146.  
  147. font= Default font for the current tab field. Any font tag can be used,
  148.       specifying type family, point size, and stroke weight,
  149.       e.g.<Times12m>. (See "Font Changes".) The font parameter is
  150.       optional. If no font is specified, the contents of the tab field
  151.       will appear in the same font as the text preceeding the first tab
  152.       field of the table. 
  153.  
  154. <HS> - Enter Horizontal Tab Mode
  155.  
  156. <HT> - End text field, print in current tab field, and advance to the
  157.        next tab stop 
  158.  
  159. <HE> - Exit from Horizontal Tab Mode, and advance printhead vertically
  160.        by interline leading 
  161.  
  162. EXAMPLE:
  163.  
  164. <Line>
  165. <tab i=1 stop=0.5in justify=ql><qz>
  166. <tab i=2 stop=2.5in justify=qr><qz>
  167. <tab i=3 stop=3.5in justify=qr><qz>
  168. <tab i=4 stop=4.5in justify=qr><qz>
  169. <tab i=5 stop=5.5in><qz>
  170. <HS>Item<HT>1985<HT>1986<HT>1987<HE>
  171. <HS>Income<HT>$10,000<HT>$14,000<HT>$19,500<HE>
  172. <HS>Expenses<HT>8,000<HT>11,500<HT>16,000<HE>
  173. <HS>Total<HT>$2,000<HT>$2,500<HT>$3,500<HE>
  174. <Line>
  175.  
  176. will appear in print as follows:
  177. _______________________________________________________________________
  178.      Item                      1985      1986      1987
  179.      Income                 $10,000   $14,000   $19,500
  180.      Expenses                 8,000    11,500    16,000
  181.      Total                   $2,000    $2,500    $3,500
  182. _______________________________________________________________________
  183.  
  184.  
  185. 6.4 VERTICAL TAB MODE
  186.  
  187. Vertical tab mode is used to control the vertical alignment of paragraphs 
  188. of text located side-by-side in two or more sub-columns within the 
  189. column measure of the page layout.
  190.  
  191. Vertical tab mode is also used to set up tabular presentations in 
  192. which the individual entries are paragraphs or blocks of text, rather 
  193. than single words or numbers. Multilingual formats, consisting of 
  194. two or more sub-columns containing translations of the same text into 
  195. two or more languages, are another important application of vertical 
  196. tab mode.
  197.  
  198. Like horizontal tab mode, vertical tab mode operates within the confines 
  199. of the current column measure: that is, the total width of the sub-column 
  200. structure defined using vertical tab mode must not exceed the column 
  201. measure of the page layout.
  202.  
  203. A "Vertical Tab Style" (or "Vtab Style") is a series of vertical tab
  204. stops which create a corresponding number of sub-columns. These tab
  205. stops are defined by <tab> tags, with the following syntax:
  206.  
  207. <tab i= stop= width= justify= font=>  where
  208.  
  209. i= Tab number
  210.  
  211. stop= Horizontal distance from left edge of column to the tab stop 
  212.  
  213. width= Width of the tab field
  214.  
  215. justify= Default justification for tab field (qj, ql, qr, qc).
  216.  
  217. font= Default font for the tab field. If no font is specified, the text
  218.       in the tab field will appear in the same font as the text
  219.       preceding the start of vertical tab mode. 
  220.  
  221. EXAMPLE:
  222.  
  223. <tab i=1 stop=0.125in width=2.25in justify=ql><QZ>
  224. <tab i=2 stop=2.875in width=2.75in justify=qr><QZ>
  225.  
  226. Sets up a structure of two sub-columns, the left one 2.25" wide, the
  227. right one 2.75" wide, separated by a 1/4" gutter. The left sub-column is
  228. indented 1/8" from the left edge of the column; the left sub-column is
  229. left justified, and the right column is right justified. (Note that this
  230. structure requires a page layout with a Column Measure of at least
  231. 5.375".) 
  232.  
  233. The following Publisher tags are used to enter text into the defined 
  234. sub-column structure:
  235.  
  236. <VS> - Vertical Start: Enter vertical tab mode and establish a baseline.
  237.  
  238. <VC> - Vertical Col: Move the printhead horizontally to the next tab
  239.        stop and vertically to the baseline established by <VS>. 
  240.  
  241. <VE> - Vertical End: Exit from vertical tab mode. Move the printhead
  242.        horizontally to the left edge of the column, and vertically to a
  243.        new baseline that is lower than any baseline visited by the
  244.        printhead, since the <VS> tag. 
  245.  
  246. Within a given sub-column of vertical tab mode, the Publisher
  247. automatically measures and lays out paragraphs, and obeys most tag
  248. commands that are available in normal column mode. These include font
  249. changes, leading, indentation, justification, and more. 
  250.  
  251. Vertical Tab source text for a two-subcolumn structure is set out 
  252. in a series of paragraphs, in which the first, third, fifth (etc.) 
  253. paragraphs are intended to appear in the left-hand subcolumn, and 
  254. the second, fourth, sixth (etc.) paragraphs are intended to appear 
  255. in the right-hand subcolumn. Paragraph one will be aligned beside 
  256. paragraph two, paragraph three beside paragraph four, and so on. The 
  257. series starts with a <VS> tag to initiate vertical tab mode; the two 
  258. paragraphs in each side-by-side pair are separated from each other 
  259. by a <VC> tag, and from the next pair by <VE> and <VS> tags.
  260.  
  261. In the nursery rhyme example below, each line ends with a hard line
  262. break,i.e. a <QD> tag, since it is customary to print poetry in this
  263. form. Without these tags, the verses would appear as continuous
  264. paragraphs, with line breaks only where required by the sub-column
  265. widths, but they would still be in side-by-side alignment. The Vtab
  266. Style consists of two sub-columns of width 0.475 column-widths,
  267. separated by a gutter of .05 column-widths, i.e. one-twentieth of a
  268. column-width. The total width is exactly one column-width. (Note: The
  269. total width of a vtab style cannot be greater than one column-width,
  270. but may be less.) The dimensions of a vtab style caqn, of course, be
  271. specified in any unit of measurement accepted by the Publisher, but
  272. ther is an advantage to specifying them in column-widths (cl): if you
  273. later decide to change the page layout of the document, vtab style
  274. dimensions specified in column-widths will automatically expand or
  275. contract as necessary to match the new layout. The input text to
  276. produce the example is: 
  277.  
  278. <tab i=1 stop=0.000cl width=0.475cl justify=ql><QZ>
  279. <tab i=2 stop=0.525cl width=0.475cl justify=ql><QZ>
  280. SING A SONG OF SIXPENCE<QC>
  281. <QL>
  282. <VS>
  283. Sing a song of sixpence,<QD>
  284. A pocket full of rye;<QD>
  285. Four-and-twenty blackbirds<QD>
  286. Baked in a pie!<VC>
  287. The king was in his counting-house,<QD>
  288. Counting out his money;<QD>
  289. The queen was in her parlor,<QD>
  290. Eating bread and honey.<VE>
  291. <QL>
  292. <VS>
  293. When the pie was opened<QD>
  294. The birds began to sing<QD>
  295. Wasn't that a dainty dish<QD>
  296. To set before the king?<VC>
  297. The maid was in the garden,<QD>
  298. Hanging out the clothes;<QD>
  299. When down came a blackbird<QD>
  300. And snapped off her nose!<VE>
  301.  
  302. When printed in Vertical Tab mode, it will appear like this:
  303.  
  304.  
  305.                        SING A SONG OF SIXPENCE
  306.  
  307. Sing a song of sixpence,            The king was in his counting-house,
  308. A pocket full of rye;               Counting out his money;
  309. Four-and-twenty blackbirds          The queen was in her parlor,
  310. Baked in a pie!                     Eating bread and honey.
  311.  
  312. When the pie was opened             The maid was in the garden,
  313. The birds began to sing             Hanging out the clothes;
  314. Wasn't that a dainty dish           When down came a blackbird
  315. To set before the king?             And snapped off her nose!
  316.  
  317.  
  318. Vertical tab mode is not limited to two-subcolumn formats: it can handle
  319. as many sub-columns as the page layout has room for. In a three-
  320. subcolumn format, the input text would appear in sequences of three
  321. paragraphs, the first paragraph in each sequence being printed in the
  322. first sub-column, the second paragraph in each sequence being printed in
  323. the second sub-column, and the third paragraph in each sequence being
  324. printed in the third sub-column. <VC> tags would be placed at the ends
  325. of the first and second paragraphs in each sequence, and the third
  326. paragraph of each sequence would be separated from the first paragraph
  327. of the next sequence by <VE> and <VS> tags. 
  328.