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

  1. @Section
  2.    @Title { "@OneCol" and "@OneRow" }
  3.    @Tag { onerow }
  4. @Begin
  5. @PP
  6. The @@OneRow symbol
  7. onerow.sym @Index { @@OneRow symbol }
  8. principal.mark.effect @SubIndex { effect on @@OneCol and @@OneRow }
  9. returns its right parameter modified so that only the principal row mark
  10. protrudes.  This is normally the first row mark, but another one may be
  11. chosen by preceding it with @Code "^/" or {@Code "^//"}.  For example,
  12. @ID @Code {
  13. "@OneRow {  |0.5rt  Slope @Font x + 2  ^//1p  @HLine  //1p  |0.5rt  5 }"
  14. }
  15. has result
  16. @LP
  17. @ID {
  18. @ShowMarks
  19. @OneRow { |0.5rt Slope @Font x + 2 ^//1p @HLine //1p |0.5rt 5 }
  20. }
  21. @LP
  22. with one row mark protruding from the bar as shown.  Compare this with
  23. @ID @Code {
  24. "@OneRow {  |0.5rt  Slope @Font x + 2  //1p  @HLine  //1p  |0.5rt  5 }"
  25. }
  26. where the mark protrudes from the numerator:
  27. @LP
  28. @ID {
  29. @ShowMarks
  30. @OneRow { |0.5rt Slope @Font x + 2 //1p @HLine //1p |0.5rt 5 }
  31. }
  32. @PP
  33. onecol.sym @Index { @@OneCol symbol }
  34. @@OneCol has the same effect on columns as @@OneRow does on rows, with
  35. the symbols @Code "^|" and @Code "^||" (or {@Code "^&"}) determining
  36. which mark is chosen.
  37. @End @Section
  38.