diff options
author | Jeffrey H. Kingston <jeff@it.usyd.edu.au> | 2010-09-14 19:38:17 +0000 |
---|---|---|
committer | Jeffrey H. Kingston <jeff@it.usyd.edu.au> | 2010-09-14 19:38:17 +0000 |
commit | 73d840b9f14b65166b92e6b43f930fd0ef7b8267 (patch) | |
tree | f4eb37a19d1b8d6e9c038b5f3e4c24fc8083bad7 /doc/user/tbl_inde | |
parent | d4b68bb27f42afb8338f35f9fda0c467ec5d8787 (diff) | |
download | lout-73d840b9f14b65166b92e6b43f930fd0ef7b8267.tar.gz |
Lout 3.19.
git-svn-id: http://svn.savannah.nongnu.org/svn/lout/trunk@7 9365b830-b601-4143-9ba8-b4a8e2c3339c
Diffstat (limited to 'doc/user/tbl_inde')
-rw-r--r-- | doc/user/tbl_inde | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/doc/user/tbl_inde b/doc/user/tbl_inde index 22f89cc..62080c0 100644 --- a/doc/user/tbl_inde +++ b/doc/user/tbl_inde @@ -7,20 +7,21 @@ By default, entries appear at the left within cells, not counting the cell margin. The @Code indent option causes entries to be indented horizontally. For example, @ID @OneRow @Code "@Cell indent { ctr }" -horizontally centres the entry within the cell. The other possible values +horizontally centres the entry within the cell. Other possible values centred.entries @Index { centred entries in tables } right.justified.entries @Index { right justified entries in tables } -of this option are {@Code "left"} (the default value), {@Code "right"}, +are {@Code "left"} (the default value), {@Code "right"}, {@Code "align"} (Section {@NumberOf tbl_alig}), or any length (for example, {@Code 2f}) meaning that much indent. @PP There is a corresponding @Code "indentvertical" option for vertical indenting within the cell. It takes the same values except that @Code "left" is -renamed {@Code "top"}, @Code "right" is renamed {@Code foot}. A common -problem with vertical placement is that words that lack ascenders (parts -of letters that rise up) or descenders (parts that sink down) can easily -become misaligned with words that don't. Looking at +renamed {@Code "top"} (the default), and @Code "right" is renamed +{@Code foot}. A common problem with vertical placement is that words that +lack ascenders (parts of letters that rise up) or descenders (parts that +sink down) can easily become misaligned. Looking at @CD @Tbl + mv { 0i } aformat { @Cell A | @Cell B | @Cell C } { @Rowa @@ -39,10 +40,8 @@ which is the result of C { title } } } -we see that the words are aligned correctly despite the absence of -ascenders from the first two words, and of descenders from the first -and last; and this despite the fact that these words are vertically -placed at the top of the cell. This is because by default +we see that the words are aligned correctly despite these +worries. This is because by default @Code "@Tbl" adds a @I { vertical strut } to each entry: an invisible object of zero width and height {@Code "1f"}, which covers for any absent ascenders and descenders. The option |