home *** CD-ROM | disk | FTP | other *** search
/ rtsi.com / 2014.01.www.rtsi.com.tar / www.rtsi.com / OS9 / OSK / APPS / lout2.lzh / LOUT2 / DOC / TR.LOUT / ch3.04 < prev    next >
Text File  |  1994-01-25  |  4KB  |  125 lines

  1. @Section
  2.    @Title { "@Break" }
  3.    @Tag { break }
  4. @Begin
  5. @PP
  6. The @@Break symbol influences the appearance of paragraphs (Section
  7. {@NumberOf concatenation}), offering a fixed set of eight styles:
  8. @IL
  9.  
  10. @LI {
  11. 2i @Wide { |1rt @Code adjust @@Break @I object }
  12. adjust.break @Index { @Code adjust @@Break }
  13. |2m Break the paragraphs of {@I object} into lines, and apply @@PAdjust
  14. (Section {@NumberOf hadjust}) to every line except the last in
  15. each paragraph;
  16. }
  17.  
  18. @LI {
  19. 2i @Wide { |1rt @Code outdent @@Break @I object }
  20. outdent.break @Index { @Code outdent @@Break }
  21. |2m Like {@Code adjust}, except that @Code "2.0f @Wide {} &0i" is
  22. inserted at the beginning of every line except the first, creating
  23. an outdented paragraph;
  24. }
  25.  
  26. @LI {
  27. 2i @Wide { |1rt @Code ragged @@Break @I object }
  28. ragged.break @Index { @Code ragged @@Break }
  29. |2m Break the paragraphs of {@I object} into lines, but do not adjust
  30. the lines (`ragged right');
  31. }
  32.  
  33. @LI {
  34. 2i @Wide { |1rt @Code cragged @@Break @I object }
  35. cragged.break @Index { @Code cragged @@Break }
  36. |2m Like {@Code ragged}, except that each line will be centred with
  37. respect to the others;
  38. }
  39.  
  40. @LI {
  41. 2i @Wide { |1rt @Code rragged @@Break @I object }
  42. rragged.break @Index { @Code rragged @@Break }
  43. |2m Like {@Code ragged}, except that each line will be right-justified with
  44. respect to the others (`ragged left');
  45. }
  46.  
  47. @LI {
  48. 2i @Wide { |1rt @Code lines @@Break @I object }
  49. lines.break @Index { @Code lines @@Break }
  50. |2m Break the paragraphs of {@I object} into lines at the same points
  51. that they are broken into lines in the input; do not adjust the lines.  Any
  52. spaces at the start of a line other than the first will appear in the output;
  53. }
  54.  
  55. @LI {
  56. 2i @Wide { |1rt @Code clines @@Break @I object }
  57. clines.break @Index { @Code clines @@Break }
  58. |2m Break the paragraphs of {@I object} into lines at the same points
  59. that they are broken into lines in the input file, then centre each line with
  60. respect to the others;
  61. }
  62.  
  63. @LI {
  64. 2i @Wide { |1rt @Code rlines @@Break @I object }
  65. rlines.break @Index { @Code rlines @@Break }
  66. |2m Break the paragraphs of {@I object} into lines at the same points
  67. that they are broken into lines in the input file, then right-justify
  68. each line with respect to the others.
  69. }
  70.  
  71. @EL
  72. If the paragraph was an entire component of a galley, so will each of
  73. its lines be; otherwise the lines are enclosed in a {@Code "@OneRow"}
  74. symbol after breaking.
  75. @PP
  76. The length of the gap used to separate the lines produced by paragraph
  77. breaking is always {@Code 1v}.  However, the @Code v unit itself and the
  78. v.unit.effect @SubIndex { effect on paragraph breaking }
  79. gap mode may be changed:
  80. @IL
  81.  
  82. @LI {
  83. 2i @Wide { |1rt @I gap @Code "@Break" @I object }
  84. |2m Within {@I object}, take the value of the @Code "v" unit to be the
  85. length of {@I gap};
  86. }
  87.  
  88. @LI {
  89. 2i @Wide { |1rt + & @I gap @Code "@Break" @I object }
  90. |2m Within {@I object}, take the value of the @Code "v" unit to be
  91. larger by the length of @I gap than it would otherwise have been;
  92. }
  93.  
  94. @LI {
  95. 2i @Wide { |1rt -- & @I gap @Code "@Break" @I object }
  96. |2m Within {@I object}, take the value of the @Code "v" unit to be
  97. smaller by the length of @I gap than it would otherwise have been.
  98. }
  99.  
  100. @EL
  101. In each case, the mode of @I gap is adopted within {@I object}.
  102. @PP
  103. Finally, the @@Break symbol influences hyphenation:
  104. @IL
  105.  
  106. @LI {
  107. 2i @Wide { |1rt @Code "hyphen @Break" @I object }
  108. hyphen.break @Index { @Code hyphen @@Break }
  109. |2m Permit hyphenation within the paragraphs of {@I object};
  110. }
  111.  
  112. @LI {
  113. 2i @Wide { |1rt @Code "nohyphen @Break" @I object }
  114. nohyphen.break @Index { @Code nohyphen @@Break }
  115. |2m Prohibit hyphenation within the paragraphs of {@I object}; all
  116. hyphenation gaps without exception revert to edge-to-edge mode.
  117. }
  118.  
  119. @EL
  120. Several options may be given to the @@Break symbol simultaneously, in
  121. any order.  For example,
  122. @ID @Code "{ adjust 1.2fx hyphen }  @Break  ..."
  123. is a typical initial value.
  124. @End @Section
  125.