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.TAB / s5 < prev    next >
Text File  |  1994-01-25  |  2KB  |  48 lines

  1. @Section
  2.    @Title { Margins }
  3. @Begin
  4. @PP
  5. Tab places a @I { vertical margin } above and below each row, and a
  6. @I { horizontal margin } to the left and right of each column.  (If
  7. there are no side rules, the leftmost and rightmost margins are
  8. omitted.)  The size of these margins is determined by two options to the
  9. @Code "@Tab" symbol:
  10. @ID @Code {
  11. "@Tab"
  12. "    hmargin { 0.3c }"
  13. "    vmargin { 0.2v }"
  14. "    @Fmta { ... }"
  15. "..."
  16. }
  17. Shown here are the default values, 0.3 centimetres for the horizontal
  18. margins, and 0.2 times the current inter-line spacing (denoted by the
  19. letter {@Code v}) for the vertical margins.
  20. @PP
  21. The horizontal margin is fixed, but each row may have its own vertical margin:
  22. @ID @Code {
  23. "@Rowa"
  24. "    vmargin { 0.5vx }"
  25. "    A { ... }"
  26. }
  27. If omitted, the @Code vmargin value is taken from the @Code "@Tab" option.
  28. @PP
  29. The value shown here, {@Code "0.5vx"}, requests a vertical margin of
  30. half the current inter-line spacing, measured from the baseline of the
  31. entry rather than from its edge (this is what the @Code x means).  This
  32. value is a good choice when the entries contain simple words or lines
  33. of text (i.e. no paragraphs, large equations, figures, etc.):
  34. @CD {
  35. @Tab
  36.     vmargin { 0.5vx }
  37.     @Fmta { @Col @Heading A  !  @Col @Heading B }
  38.     @Fmtb { @Col A  !  @Col @CC B }
  39. {
  40.     @Rowa A { Course } B { Enrolment }
  41.     @Rowb A { Software Engineering } B { 174 }
  42.     @Rowb A { Complexity Theory } B { 37 }
  43. }
  44. }
  45. since the lines of the table will then be separated evenly like
  46. the lines in paragraphs.
  47. @End @Section
  48.