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

  1. @Section
  2.    @Title { "@HExpand" and "@VExpand" }
  3.    @Tag { hexpand }
  4. @Begin
  5. @PP
  6. hexpand @Index { @@HExpand symbol }
  7. vexpand @Index { @@VExpand symbol }
  8. expansion @Index { Expansion of object }
  9. The @@HExpand symbol causes its right parameter to be as wide as it
  10. possibly could be without violating a @@Wide symbol or intruding into
  11. the space occupied by neighbouring gaps or objects.  The @@VExpand
  12. symbol is similar, but it affects height.  For example, in the object
  13. @ID @Code {
  14. "8i @Wide 11i @High {"
  15. "    //1i  ||1i @HExpand @VExpand x ||1i"
  16. "    //1i"
  17. "}"
  18. }
  19. object @Code x could have any size up to six inches wide by nine inches
  20. high, so the @@HExpand and @@VExpand symbols cause it to have exactly
  21. this size.  This is important, for example, if @Code x contains
  22. @Code "|1rt" or {@Code "/1rt"}; without the expansion these might not
  23. move as far across or down as expected.
  24. @PP
  25. As Section {@NumberOf size} explains in detail, most objects are
  26. already as large as they possibly could be.  Consequently these symbols
  27. are needed only rarely.  @@HExpand includes a @@OneCol effect, and
  28. @@VExpand includes a @@OneRow effect.
  29. @End @Section
  30.