From: Malte Stien <malte@stien.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Fwd: Need help with \definetabulate
Date: Tue, 16 Oct 2012 20:21:49 +1100 [thread overview]
Message-ID: <EBF230BE-B929-400C-8AC8-88D4615D71D1@stien.de> (raw)
In-Reply-To: <976656BD-A09C-4FE4-92E0-C863BDC98DD0@stien.de>
Any pointers anyone? I need to get this working and am running out of ideas.
Thank you,
Malte.
Begin forwarded message:
> From: Malte Stien <malte@stien.de>
> Date: 15 October 2012 17:03:42
> To: ntg-context@ntg.nl
> Subject: Re: [NTG-context] Need help with \definetabulate
>
> Marco,
>
>> \definetabulate [alpha] [|l|l|l|]
>> \setuptabulate [alpha] [bodyfont=small]
>
> This does not work for me quite the way I need it to. I am really just after defining the font-size, but I would like to leave the column setup to the user (I am building an environment and that I would like everyone in my team to use to ensure a consistent look-and-feel or all documents). So, ideally, I would like to do this:
>
>> \definetabulate [alpha]
>> \setuptabulate [alpha] [bodyfont=small]
>> \starttext[|l|l|l|]
>> \startalpha
>> \NC first \NC second \NC third \NC\NR
>> \stopalpha
>
>> \stoptext
>
> ...but that does not seem to work. Any way I can achieve this?
>
>> Feel free to add an example. It's a wiki!
>
> Sure. Will do, once I have this working.
>
> Thank you,
> Malte.
>
>
>> 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.
>>>
>>> http://wiki.contextgarden.net/Command/definetabulate
>>
>> Feel free to add an example. It's a wiki!
>>
>>
>> Marco
>
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2012-10-16 9:21 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.1.1349690401.7712.ntg-context@ntg.nl>
2012-10-15 6:03 ` Malte Stien
2012-10-16 9:21 ` Malte Stien [this message]
2012-10-16 9:41 ` Wolfgang Schuster
2012-10-16 10:52 ` Fwd: " Sietse Brouwer
2012-10-16 11:08 ` Hans Hagen
2012-10-16 11:23 ` Wolfgang Schuster
2012-10-16 11:39 ` Hans Hagen
2012-10-17 6:37 ` Malte Stien
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=EBF230BE-B929-400C-8AC8-88D4615D71D1@stien.de \
--to=malte@stien.de \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).