Changes

Jump to navigation Jump to search
184 bytes added ,  07:43, 13 January 2015
fix some typos, add more formatting characters, e.g. math; removed \TB from basic formatting
|-
| <texcode>
\starttabulate[|r|l|lB|]
\HL
\NC {\bf format} \NC {\bf meaning} \NC Mk \NC\NR
\HL
\NC c \NC centered \NC \NC\NR\NC l \NC left aligned \NC \NC\NR\NC r \NC right aligned \NC \NC\NR\NC w(1cm) \NC one line, fixed width \NC \NC\NR\NC p(2cm) \NC paragraph, lines broken to fixed width \NC \NC\NR\NC cg(.) \NC align on a character – in MkIV\NC IV: cg{.} \NC\NR\TB[halfline]NC m \NC math mode \NC IV only \NC\NR\NC b \NC before e.g. b{\star} \NC IV only \NC\NR\NC a \NC bigger vertical space after, e.g. a{\percent} \NC IV only \NC\NR
\HL
\stoptabulate
|<context>
\setuppapersize[A5]
\starttabulate[|r|l|lB|]
\HL
\NC {\bf format} \NC {\bf meaning} \NC Mk \NC\NR
\HL
\NC c \NC centered \NC\NR
\NC w(1cm) \NC one line, fixed width \NC\NR
\NC p(2cm) \NC paragraph, lines broken to fixed width \NC\NR
\NC cg(.) \NC align on a character – in MkIV: cg{.} \NC\NR\TB[halfline]\NC \NC bigger vertical space \NC\NR
\HL
\stoptabulate
although both variants do work.
 
If you always need math in one column, consider math mode columns:
 
<texcode>\starttabulate[|m|m|]
\HL
\NC 10e-3 \NC 10e+3 \NR
\HL
\stoptabulate
</texcode>
<!--(added by Willi Egger 04-08-2011)-->
The following issue is related to MKIVMkIV:
When using an itemization inside a tabulation where one uses also the
<tt>\head</tt> command , there occurs a snapping problem. This is related to penalties which force a twoline split whereas the snapping mechanism prevents this. As a result two lines are typeset on top of each other. The solution is to add the following statement to the preamble:
<texcode>\tabulatesplitlinemode \plustwo</texcode>
[[Category:Tables]]
tt>\head

Navigation menu