Hi, I am trying to define two tabulate styles as follows: - \setuptabulate[split=yes, bodyfont=small] - \setuptabulate[split=yes] ...such that I can just refer to them when I \starttabulate...\stoptabulate somewhere. I thought, the command \definetabulate would come in handy here, but I can't work it out and it appears the documentation on that command is pretty scarce. http://wiki.contextgarden.net/Command/definetabulate Any help? Thank you, Malte.
2012-10-08 Malte Stien: Hi Malte
I am trying to define two tabulate styles as follows:
- \setuptabulate[split=yes, bodyfont=small] - \setuptabulate[split=yes]
\definetabulate [alpha] [|l|l|l|] \setuptabulate [alpha] [bodyfont=small] \definetabulate [beta] [|l|l|] \setuptabulate [beta] [bodyfont=small, split=yes] \starttext \startalpha \NC first \NC second \NC third \NC\NR \stopalpha \startbeta \NC lorem \NC ipsum \NC\NR \stopbeta \stoptext
...such that I can just refer to them when I \starttabulate...\stoptabulate somewhere.
To refer to a table, you place it as a float and use the `reference=tab:alphatable` key. Then in the text you refer to the table, see \in{table}[tab:alphatable].
I thought, the command \definetabulate would come in handy here, but I can't work it out and it appears the documentation on that command is pretty scarce.
Feel free to add an example. It's a wiki! Marco
participants (2)
-
Malte Stien
-
Marco Patzer