Am 2018-07-28 um 03:35 schrieb Henri Menke
On 07/28/2018 07:38 AM, Henning Hraban Ramm wrote:
Ahoi,
I need a few different table styles and don’t think it makes sense to setup them every single time.
Is there a \defineTABLE[mystyle], and then \setupTABLE[mystyle][...] ?
Or can I go via setups like \bTABLE[setups=mystyle] ?
\startsetups mystyle \setupTABLE[frame=off] \setupTABLE[row][first][topframe=on,bottomframe=on,style=bold] \setupTABLE[row][last] [bottomframe=on] \stopsetups \starttext
\bTABLE[setups=mystyle]
Thank you, that was what I wanted to know. A one-line answer would have been enough ;) Sorry, I was just too busy with other TeX issues to simply try it. Meanwhile I had a look into the manuals folder and found the xtables manual. Section 5 about \definextable and \starttexdefinition is especially interesting. I guess I need to try both. (My ConTeXt fu is always outdated, it seems...) Greetlings, Hraban --- https://www.fiee.net http://wiki.contextgarden.net https://www.dreiviertelhaus.de GPG Key ID 1C9B22FD