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.10 < prev    next >
Text File  |  1994-01-25  |  1KB  |  34 lines

  1. @Section
  2.    @Title { "@HAdjust", "@VAdjust", and "@PAdjust" }
  3.    @Tag { hadjust }
  4. @Begin
  5. @PP
  6. padjust @Index { @@PAdjust symbol }
  7. hadjust @Index { @@HAdjust symbol }
  8. vadjust @Index { @@VAdjust symbol }
  9. adjustment @Index { Adjustment of object }
  10. These symbols spread their right parameter apart until it occupies
  11. all the space available to it;  @@HAdjust adjusts @Code "|" sequences,
  12. @@VAdjust adjusts @Code "/" sequences, and @@PAdjust adjusts @Code "&"
  13. sequences.  For example,
  14. @ID @Code {
  15. "4i @Wide @PAdjust { 1 2 3 4 5 6 7 8 }"
  16. }
  17. has result
  18. @ID {
  19. 4i @Wide @PAdjust { 1 2 3 4 5 6 7 8 }
  20. }
  21. More precisely, the widening is effected by enlarging the size of each
  22. component except the last by an equal fraction of the space that would
  23. otherwise be left over -- just the opposite of the usual procedure,
  24. which assigns all the leftover space to the last component (Section
  25. {@NumberOf size}).
  26. @PP
  27. @@PAdjust is used by the @Code adjust and @Code outdent options of
  28. the @@Break symbol (Section {@NumberOf break}).  It has a slight
  29. peculiarity:  it will not enlarge components when the immediately
  30. following gap has width 0.  This is to prevent space from appearing
  31. (for example) between a word and an immediately following comma.  The
  32. other two symbols will enlarge such components.
  33. @End @Section
  34.