diff options
author | Jeffrey H. Kingston <jeff@it.usyd.edu.au> | 2010-09-14 19:21:41 +0000 |
---|---|---|
committer | Jeffrey H. Kingston <jeff@it.usyd.edu.au> | 2010-09-14 19:21:41 +0000 |
commit | 71bdb35d52747e6d7d9f55df4524d57c2966be94 (patch) | |
tree | 480ee5eefccc40d5f3331cc52d66f722fd19bfb9 /doc/expert/pre_oner | |
parent | b41263ea7578fa9742486135c762803b52794105 (diff) | |
download | lout-71bdb35d52747e6d7d9f55df4524d57c2966be94.tar.gz |
Lout 3.17.
git-svn-id: http://svn.savannah.nongnu.org/svn/lout/trunk@2 9365b830-b601-4143-9ba8-b4a8e2c3339c
Diffstat (limited to 'doc/expert/pre_oner')
-rw-r--r-- | doc/expert/pre_oner | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/doc/expert/pre_oner b/doc/expert/pre_oner new file mode 100644 index 0000000..7e0dbce --- /dev/null +++ b/doc/expert/pre_oner @@ -0,0 +1,36 @@ +@Section + @Title { "@OneCol" and "@OneRow" } + @Tag { onerow } +@Begin +@PP +The @@OneRow symbol +onerow.sym @Index { @@OneRow symbol } +principal.mark.effect @SubIndex { effect on @@OneCol and @@OneRow } +returns its right parameter modified so that only the principal row mark +protrudes. This is normally the first row mark, but another one may be +chosen by preceding it with @Code "^/" or {@Code "^//"}. For example, +@ID @Code { +"@OneRow { |0.5rt Slope @Font x + 2 ^//1p @HLine //1p |0.5rt 5 }" +} +has result +@LP +@ID { +@ShowMarks +@OneRow { |0.5rt Slope @Font x + 2 ^//1p @HLine //1p |0.5rt 5 } +} +@LP +with one row mark protruding from the bar as shown. Compare this with +@ID @Code { +"@OneRow { |0.5rt Slope @Font x + 2 //1p @HLine //1p |0.5rt 5 }" +} +where the mark protrudes from the numerator: +@LP +@ID { +@ShowMarks +@OneRow { |0.5rt Slope @Font x + 2 //1p @HLine //1p |0.5rt 5 } +} +onecol.sym @Index { @@OneCol symbol } +@@OneCol has the same effect on columns as @@OneRow does on rows, with +the symbols @Code "^|" and @Code "^||" (or {@Code "^&"}) determining +which mark is chosen. +@End @Section |