home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / wp / rubicon5.zip / MANUAL.7 < prev    next >
Text File  |  1989-11-08  |  24KB  |  547 lines

  1.  
  2.                 __________________________
  3.                |                          |
  4.                |  Section 7: PAGE LAYOUT  |
  5.                |__________________________|
  6.  
  7.  
  8. CONTENTS
  9.  
  10. 7.1 Page Styles
  11. 7.2 Multiple Columns
  12. 7.3 Leading (Line Spacing) 
  13. 7.4 Headers and Footers
  14. 7.5 Layout Printing Sequence
  15. 7.6 The Folio (Page Number)
  16. 7.7 Vertical Justification
  17. 7.8 Widows and Orphans
  18. 7.9 Page Layout Over-Rides
  19.  
  20.  
  21. 7.1 PAGE STYLES
  22.  
  23. 7.1.1 PAPER SIZES
  24.  
  25. Many of the printers supported by the Publisher will accommodate more 
  26. than one size of paper. The Publisher can be adjusted to conform to 
  27. the size of paper in use, by means of the tag: 
  28. <PAPER long= short=> where 
  29.                     long=<D> the long dimension (length or height) of
  30.                     the paper, and 
  31.                     short= the short dimension (width) of the paper,
  32.                     specified in any units accepted by the Publisher.
  33.  
  34. 7.1.2 THE PRINTABLE ZONE
  35.  
  36. Many printers, especially laser printers, are not capable of printing 
  37. right out to the edges of the paper: there are "unprintable" areas 
  38. along the top, bottom, and sides of the paper, which the printhead 
  39. cannot reach. We will refer to these as the "Unprintable Zone", and the
  40. remaining portion of the page as the "Printable Zone". Note that
  41. the unprintable zone forms a frame around the printable zone. 
  42.  
  43. For the HP Laserjet II printer, in "portrait" (normal) mode, there 
  44. are normally unprintable strips 0.50 inches wide across the top and 
  45. bottom edges of the page, and 0.25 wide along the left and right edges 
  46. of the page.
  47.  
  48. Unfortunately, different models of printer have different unprintable 
  49. zones. If the unprintable zone dimensions for the particular printer 
  50. in use are unknown, and cannot be determined from the printer manual, 
  51. it is prudent to allow for unprintable zones of up to one-half inch 
  52. on all sides, when specifying the page layout co-ordinates.
  53.  
  54. 7.1.3 PAGE LAYOUT CO-ORDINATES
  55.  
  56. All page layout measurements used by the Publisher are measured from the
  57. TOP LEFT CORNER of the paper. This is called the ORIGIN of the page. It
  58. can be regarded as the origin point (0,0) of a Cartesian co-ordinate
  59. system, of which the x-axis, representing rows, extends down the left
  60. side of the paper, and the y-axis, representing columns, extends across
  61. the top. 
  62.  
  63. PAGE ORIENTATION
  64.  
  65. The normal orientation of printed text on a page is referred to as
  66. "Portrait" mode: the paper is oriented vertically; that is, one of the
  67. short edges is the top. Ordinary text is almost always printed in
  68. Portrait mode. 
  69.  
  70. The alternative page orientation is called "Landscape". When text is
  71. printed in Landscape mode, the paper is oriented horizontally, or
  72. "turned sideways"; that is, one of the long edges is the top, so the
  73. width of the page is greater than its length. This mode is generally
  74. used only if there is some special reason which makes it necessary, for
  75. example if information is being presented in tabular form, and the table
  76. is too wide to fit on the page in normal (Portrait) orientation. 
  77.  
  78. Landscape printing is initiated by the tag <landscape=on>, and cancelled 
  79. by the tag <landscape=off>. If this tag is used, it must be read by 
  80. the Publisher at the beginning of the file, before any printable text. 
  81. It should be followed by one or more <margin> tags, setting all 6 
  82. margins, which must also precede any printable text.
  83.  
  84. (Note: Landscape printing requires landscape fonts.  The soft fonts
  85. supplied with the shareware distribution version of the Publisher are in
  86. Portrait form only.)
  87.  
  88. The default mode of printing is Portrait; that is, if there is no 
  89. <landscape=> tag, the document will be printed in the normal Portrait 
  90. orientation.
  91.  
  92. PAGE INTERIOR
  93.  
  94. The tag: 
  95.  
  96. <margin top= left= bottom= right= > where
  97.              top= defines the top margin of the page interior
  98.              left= defines the left margin of the page interior
  99.              bottom= defines the bottom margin of the page interior
  100.              right= defines the right margin of the page interior
  101.  
  102. is used to define four margins around the edges of the page. These
  103. margins in turn define a rectangle called the "Page Interior". The
  104. Publisher prints the main text within the confines of the page interior.
  105. Auxiliary text such as headers, footers, and footnotes may be printed
  106. outside the page interior, for example, in the top or bottom margins. 
  107.  
  108. When specifying margins, it is of course necessary to ensure that the
  109. specified locations (particularly for the right and bottom margins) fall
  110. INSIDE THE PRINTABLE ZONE for the size of paper being used. Note that
  111. all margin locations are measured FROM THE ORIGIN. 
  112.  
  113. EXAMPLE: 
  114. <margin top=1.0in left=0.75in right=7.75in bottom=10.0in><qz><R>
  115. defines a page interior 7 inches wide and 9 inches long.
  116.  
  117. Margins may be specified using any of the units of measurement accepted 
  118. by the Publisher. If no units are specified, the values are assumed 
  119. to be in Dots (300ths of an inch).
  120.  
  121. HEADER AND FOOTER DROP
  122.  
  123. The combination tag:
  124.  
  125. <MARGIN header=m footer=n>
  126.  
  127. or the separate tags:
  128.  
  129. <MARGIN header=m> and <MARGIN footer=n>
  130.  
  131. are used to define the header-drop m and the footer-drop n, that is, the
  132. locations of the initial baselines of the header and footer; the
  133. distances to drop the print- head, from the top of the page, before
  134. starting to print the header and footer. 
  135.  
  136. Example: the tag <margin header=1in footer=10in> will locate the first
  137. line of the header one inch below the top of the page, and the first
  138. line of the footer ten (10.0) inches below the top of the page. 
  139.  
  140. When specifying header and footer locations, it is necessary to make
  141. sure that they fall INSIDE THE PRINTABLE ZONE. In most cases, it is also
  142. necessary to make sure that they fall OUTSIDE THE PAGE INTERIOR so that
  143. the header and footer will not impinge on the main text. Remember that
  144. the tag <margin header= footer=> specifies the BASELINE for the first
  145. line of the header and the first line of the footer. 
  146.  
  147. In general, the header-drop should be far enough below the top of the
  148. printable zone to leave room for a line of text in the (maximum) font
  149. size being used for the first line of the header, and far enough above
  150. the top of the page interior to leave a reasonable amount of space
  151. between the header and the main text. 
  152.  
  153. Similarly, the footer-drop should be far enough below the bottom of the
  154. page interior to leave room for a line of text in the (maximum) font
  155. size being used for the first line of the footer, plus a reasonable
  156. space to separate the footer from the main text, and should be far
  157. enough above the bottom of the printable zone to leave room for the
  158. entire footer, including any descenders from lower-case letters in the
  159. last line of the footer. 
  160.  
  161. If the header (or footer) consists of more than one line of text, the
  162. definition of the header (or footer) should contain an appropriate
  163. <leading...> tag, to ensure proper line spacing within the header (or
  164. footer). 
  165.  
  166. Normally, the contents of the header are printed entirely above the 
  167. page interior, in the top margin, and the contents of the footer are 
  168. printed entirely below the page interior, in the bottom margin, with 
  169. a reasonable amount of space separating them from the main text. However, 
  170. the Publisher has the ability to position items anywhere on the page 
  171. while printing a header or footer. For example, it is possible to 
  172. place a ruling line between the columns of the page interior, from 
  173. a header or footer.
  174.  
  175. 7.2 MULTIPLE COLUMNS
  176.  
  177. 7.2.1 THE COLUMN TAG
  178.  
  179. The arrangement of text in columns is governed by this very important 
  180. tag:
  181.  
  182. <column...>.
  183.  
  184. Two alternative procedures are available for specifying a multiple
  185. column layout. The column measure (width) and gutter-width may be
  186. specified, in which case the Publisher will automatically calculate the
  187. number of columns which will fit on a page. Alternatively, the count
  188. (number) of columns and the gutter-width may be specified, in which case
  189. the Publisher will automatically calculate the corresponding column
  190. measure. 
  191.  
  192. 7.2.2 COLUMN MEASURE
  193.  
  194. The first alternative is implemented by the tag:
  195.  
  196. <column measure= gutter= >   where 
  197.              measure= specifies the column measure (width), and 
  198.              gutter= specifies the column gutter (space between columns). 
  199.  
  200. The column measure and gutter may be specified with any of the units 
  201. of measurement accepted by the Publisher. The tag settings take effect 
  202. at the end of the current output line.
  203.  
  204. At run time, the Publisher will automatically lay out columns and 
  205. gutters of the specified dimensions on a page until the space remaining 
  206. in the page interior is insufficient for another column, and will 
  207. then start a new page. Of course, the specified column measure (width) 
  208. must not exceed the width of the page interior.
  209.  
  210. It is possible to use any column measure which does not exceed the 
  211. width of the page interior, but for practical reasons, some choices 
  212. are better than others.
  213.  
  214. Unless blank space is being deliberately preserved to accommodate 
  215. illustrations, or for some other reason, it is usually desired to 
  216. use all, or at least most, of the page interior for text. Accordingly, 
  217. if the page interior is 7 inches wide, a column width of 4 inches 
  218. would be a poor choice, since there would be room for only one such 
  219. column per page, and more than 40% of the page interior would be left 
  220. blank.
  221.  
  222. 7.2.3 COLUMN COUNT
  223.  
  224. The second alternative is implemented by the tag:
  225.  
  226. <column count= gutter= >   where 
  227.              count= specifies the number of columns per page, and
  228.              gutter= specifies the column gutter (space between columns).
  229.  
  230. At run time, the Publisher will automatically lay out the specified 
  231. number of columns and gutters of the specified dimensions on each 
  232. page.
  233.  
  234. It is possible to use any value for the column count, but for practical
  235. reasons, a value should be chosen which will produce lines of text which
  236. are neither too short nor too long for the size of type being used.
  237. Several narrow columns are easier to read than one very wide column,
  238. provided that each column is wide enough to contain a reasonable number
  239. of words of average length. The proper width for a column therefore
  240. depends on the type size: in general, the smaller the type, the narrower
  241. the columns should be. As an approximate "rule of thumb", the line
  242. length in picas (6ths of an inch) should not exceed twice the type size
  243. measured in points.  For example, a line of 12-point type should not
  244. exceed 24 picas (4 inches). 
  245.  
  246. Of course, the values given by this rule should be regarded as
  247. guidelines, rather than rigid rules. For some documents, it may be
  248. necessary to depart from these values, for a variety of reasons, even
  249. though this will result in some loss of readability. For example, some
  250. kinds of documents set in 12-point or smaller type are routinely
  251. formatted in a single full-width column, much wider than 4 inches, to
  252. comply with custom or tradition, or because such a format is required by
  253. law or government regulation. 
  254.  
  255. 7.3 LEADING (LINE SPACING) 
  256.  
  257. Leading (pronounced "ledding") refers to the vertical spacing between
  258. lines of type, measured from baseline of one line to the baseline of the
  259. next. 
  260.  
  261. The tag: 
  262.  
  263. <leading line= para= >, where
  264.          line= defines the inter-line leading or "line spacing", and
  265.          para= defines the inter-paragraph leading or "paragraph
  266.          spacing", 
  267.  
  268. is used to define the vertical spacing between lines and paragraphs.
  269. This tag takes effect at at the end of the current output line. Any unit
  270. of measurment accepted by the Publisher may be used in this tag: if no
  271. unit is specified, the value given will be read as dots (300ths of an
  272. inch). 
  273.  
  274. Line leading is space between output lines, measured from baseline 
  275. to baseline. Paragraph leading is an extra amount of vertical space 
  276. added between paragraphs. The last line of one paragraph and the first 
  277. line of the next paragraph are separated by the normal line leading 
  278. plus the paragraph leading (measured from baseline to baseline).
  279.  
  280. The amount of leading used is to some extent a matter of style: however, 
  281. it must be sufficient to ensure that the descenders of one line do 
  282. not overlap the capital letters or ascenders of the next line, and 
  283. if underlining is being used in the text, additional leading may be 
  284. needed to accommodate it. The amount of leading needed obviously depends 
  285. on the point size of the type. It may also depend on the typeface: 
  286. some styles have longer ascenders and descenders than others.
  287.  
  288. Naturally, the line leading must be at least as large as the point size
  289. of the type, and preferably somewhat larger.  As an approximate
  290. guideline, a leading 20% greater than the point size is recommended for
  291. small type sizes (less than 12 point); a leading 25% greater than the
  292. point size is recommended for larger type sizes (12 point and up). For
  293. example, the recommended leading for 8-point type is 9.5 points;  
  294. the recommended leading for 12-point type is 15 points.
  295.  
  296. When the type size changes from one line to the next, a value 
  297. for the leading between the two lines may be calculated as 1/3 the 
  298. leading for the point size of the first line, PLUS 2/3 
  299. the leading for the point size of the second line. EXAMPLE: 
  300. If one line is in 6-point type and the next line is in 10-point, the 
  301. leading between the two lines should be 1/3 x 7 
  302. + 2/3 x 12 = 10.3 points. When the calculated value includes 
  303. a fraction, it is prudent to round it up to the next point: 11 points in
  304. the present example.
  305.  
  306. The leading need not be specified in points: for finer adjustment, 
  307. the values in the <leading> tag may be given in dots.
  308.  
  309. 7.4 HEADERS AND FOOTERS
  310.  
  311. A Header or Running Head consists of one or more lines of text printed
  312. at the top of every page. The contents of the header may be changed from
  313. time to time. Sometimes, there might be no header at all. The header
  314. text may be printed anywhere on the page; it is not restricted to the
  315. top margin above the page interior, although it is normally confined to
  316. that area. 
  317.  
  318. A Footer or Running Foot consists of one or more lines of text printed
  319. at the bottom of every page. The contents of the footer may be changed
  320. from time to time. Sometimes, there might be no footer at all. The
  321. footer text may be printed anywhere on the page; it is not restricted to
  322. the bottom margin below the page interior, although it is normally
  323. confined to that area. 
  324.  
  325. The Publisher does not calculate line breaks or perform paragraphing
  326. inside headers or footers. It is the user's responsibility to place all
  327. desired line breaks inside header and footer definitions. 
  328.  
  329. HEADER/FOOTER POSITIONING 
  330.  
  331. When the header is printed, the printhead starts at co-ordinates
  332. (header-drop,0); when the footer is printed, the printhead starts at
  333. co<148>rdinates (footer-drop,0). 
  334.  
  335. The header- and footer-drop are set via the tags
  336. <margin header= > and <margin footer= >, or the combined tag 
  337. <margin header= footer= >
  338. To position header/footer lines after the first line, the interline 
  339. leading, line break tags, and alignment instructions can be used. 
  340. The positioning of headers and footers is described in more detail 
  341. under "Page Layout Co-Ordinates".
  342.  
  343. HEADER/FOOTER DEFINITION 
  344.  
  345. The text for a header is defined by placing it between the tags
  346.  
  347. <header>
  348. ....
  349. ....
  350. ....
  351. ....
  352. <end>
  353.  
  354. The text for a footer is defined by placing it between the tags
  355.  
  356. <footer>
  357. ....
  358. ....
  359. ....
  360. ....
  361. <end>
  362.  
  363. The tags <header>, <footer> and <end> are PUBLISHER DIRECTIVES. Unlike
  364. other tags, a directive must appear by itself on a separate line. That
  365. is, there should be no material whatsoever on the same line as the
  366. directive tag, either before or after it. 
  367.  
  368. Headers and footer definitions may consist of any number of input lines.
  369. Each input line should end with a line break tag (quad tag). Headers and
  370. footers may be defined inside include files. 
  371.  
  372. 7.5 LAYOUT PRINTING SEQUENCE
  373.  
  374. The Publisher goes through the following steps, in the given order, 
  375. as it lays out each page.
  376.  
  377. 1. Header. Print the most recently defined header (defined before the
  378. first printable character of the page interior). Note: the header for
  379. the first page must be placed in the initialization sequence. 
  380.  
  381. 2. Page Interior. Format and print the page interior, according to the
  382. paragraphing, columning, etc. specified by the user. 
  383.  
  384. 3. Footer. Print the most recently defined footer (defined before the
  385. last printed character of the page interior). 
  386.  
  387. There are certain special tags that only function inside headers and 
  388. footers. They have no effect in the page interior. See the Folio section 
  389. below.
  390.  
  391. PRESERVED VARIABLES
  392.  
  393. The following variables are saved before a header or footer is printed, 
  394. and are restored afterward. In this way, tag settings in the page 
  395. interior will not affect tag settings in a header or footer, and vice 
  396. versa.
  397.          font
  398.          direction (horizontal)
  399.          column width
  400.          justification
  401.          para indent
  402.          left indent
  403.          right indent
  404.          interline leading
  405.  
  406. 7.6 THE FOLIO (PAGE NUMBER)
  407.  
  408. The "folio" is the usual typesetting term for the page number. The
  409. Publisher can automatically print the folio as part of the header or
  410. footer text. The digit representation of the folio can be in Arabic
  411. Numerals (1, 2, 3, 4, etc.) or Roman Numerals (I, II, III, IV, etc.).
  412. Roman numerals may be printed in upper case or lower case letters. The
  413. folio is optional; it can be disabled, or printed at a particular
  414. location, as specified by the user. 
  415.  
  416. The tag for printing the page number is:
  417.  
  418. <PN> - Print Page Number (Print Folio)
  419.  
  420. This command may appear anywhere in the header or footer definitions. As
  421. it occurs in an output line, it is replaced by the current page number.
  422. Example: to print the folio at the bottom, center of each page, place
  423. the following code into the footer definition: <PN><QC> 
  424.  
  425. The tag:
  426.  
  427. <PN=n> -  Set Page Number (Set Folio)
  428.  
  429. sets the folio number to the specified value n. It will take effect for
  430. the next folio that is printed. The page number will be increased by one
  431. on each subsequent page. In the absence of a <PN=n> tag, page numbering
  432. will start at "1".
  433.  
  434. DIGIT REPRESENTATIONS
  435.  
  436. The folio can appear in ordinary Arabic digits (1,2,3...), in uppercase
  437. Roman numerals (I, II, III ...) or in lowercase Roman numerals (i, ii,
  438. iii ...). The digit representation of the folio is controlled as
  439. follows: 
  440.  
  441. <folio roman= case= >
  442.          roman= `1' Roman Numerals; `0' Arabic Numerals 
  443.          case= `1' Upper Case Numerals; `0' Lower Case Numerals (only
  444.          applicable to Roman numerals) 
  445.  
  446. If the document in the text file is going to stand alone, the page 
  447. numbering will normally start at `1'. However, if it is part of a 
  448. lengthy document occupying several files, and if the whole document 
  449. is to be numbered continuously when published, the numbering of the 
  450. pages in the second and subsequent files will start at values other 
  451. than `1'. For example, if the first file of a long document takes 
  452. up 11 pages when published, the numbering of the second file would 
  453. start at `12'; if the second file, when published, ends at page `21', 
  454. the numbering of the third file would start at `22'; and so on.
  455.  
  456. 7.7 VERTICAL JUSTIFICATION
  457.  
  458. The term Vertical Justification is applied to the process of making a
  459. small alteration in the length of the space occupied by the text; this
  460. is often done to make the text fit into a specified number of pages, or
  461. columns. Such "vertical justification" of a document may be accomplished
  462. by adjustment of such variables as the line leading, the paragraph
  463. leading, the top margin and the bottom margin, to change the number of
  464. lines of text appearing on each page. 
  465.  
  466. EXAMPLE: A document is processed by the Publisher; it fills 4 pages, 
  467. and runs over on to a fifth page that contains only 3 lines of text. 
  468. This not only has a clumsy, unprofessional appearance, but is also 
  469. wasteful, particularly if 5000 copies of the document are going to 
  470. be printed. We will assume that the document is being printed in 10-point 
  471. type with the optimum line leading of 12 points, which is 50 dots, 
  472. that the paragraph leading is also 50 dots, and the page interior 
  473. is 9 inches long. The need for the short 5th page can be eliminated 
  474. by the simple step of reducing the line leading and paragraph leading 
  475. by a single dot, from 50 dots to 49 dots. The reduced leading 
  476. is still well within the recommended range for 10-point type: indeed, 
  477. the change is so small that it will hardly be visible to the naked 
  478. eye; but it will make room for an extra line of text on each page, 
  479. so that the document will end one line short of the bottom of the 
  480. 4th page.
  481.  
  482. In this Example, the need for a 5th page could also be eliminated 
  483. by increasing the length of the page interior to allow an extra line 
  484. of text on each page, for example by reducing the bottom margin by 
  485. 50 dots, or reducing the top and bottom margins by 25 dots each. This 
  486. method would be more visible, but may be acceptable in some cases, 
  487. provided that it leaves enough space for the header and footer (if 
  488. any), and that a minor alteration in margins and page interior is 
  489. not otherwise objectionable.
  490.  
  491. In the foregoing Example, vertical justification was applied to an 
  492. entire document, but it can also be applied to part of a document. 
  493. For example, the leading of part of the document may be reduced or 
  494. increased to change the location of a column break or page break.
  495.  
  496. 7.8 WIDOWS AND ORPHANS
  497.  
  498. In typesetting parlance, the term orphan is often applied to:
  499.  
  500. 1. The last line of a paragraph, standing alone at the 
  501. beginning of a page or column; and
  502.  
  503. 2. A heading for a new paragraph or section, or the 
  504. first line of a new paragraph, standing alone at the end of a page 
  505. or column.
  506.  
  507. Orphans look awkward, impair the legibility of the document, and should 
  508. therefore be avoided.
  509.  
  510. An orphan of type (1) can be removed by using vertical justification; 
  511. that is, the leading of part (or all) of the document preceding the 
  512. orphan can be reduced slightly in order to pull the orphan back into 
  513. the preceding column, or it can be increased slightly to push one 
  514. or more lines forward into the new column to keep the orphan company.
  515.  
  516. Essentially the same method can be used to correct orphans of type 
  517. (2). That is, the technique of vertical justification may be used 
  518. to push the heading (or first line) forward into the next column, 
  519. or to pull some text back from the next column.
  520.  
  521. In typesetting parlance, the short last line of a paragraph, if less 
  522. than one-third the normal line length, is called a widow. The 
  523. best typsetting practice is to avoid widows. (A widow which contains 
  524. nothing but the concluding part of a hyphenated word is particularly 
  525. objectionable.) A short widow at the end of a paragraph can generally 
  526. be eliminated by Tracking part or all of the paragraph, to pull the 
  527. contents of the widow back into the preceding line. A relatively long 
  528. widow at the end of a paragraph can generally be eliminated by Expanding 
  529. part or all of the paragraph to push additional text into the last 
  530. line so that it will no longer be a widow.
  531.  
  532. 7.9 PAGE LAYOUT OVER-RIDES
  533.  
  534. When a document is being processed by the Publisher, the areas available 
  535. for text in a column, and on a page, are defined by the page layout 
  536. instructions, and the Publisher automatically starts a new column 
  537. or page when the current one is full. However, it is sometimes desirable 
  538. to override these automatic functions, and force the start of a new 
  539. column or page before the current one is completely full.  This may be
  540. done by  means of the following tags:
  541.  
  542. <NP> -  New Page. Ends the current line, justifies it using the current 
  543.         scheme of justification, and begins a new page.
  544.  
  545. <NC> - New Column. Ends the current line, justifies it using the current 
  546.        scheme of justification, and begins a new column.
  547.