diff options
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 |