From: Morgan Brassel <morgan.brassel@free.fr>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Command \NN in table?
Date: Sat, 22 Mar 2008 16:02:31 +0100 (CET) [thread overview]
Message-ID: <alpine.DEB.1.10.0803221543440.3716@leo> (raw)
In-Reply-To: <alpine.DEB.1.00.0803221006120.10686@nqv-yncgbc>
> What exactly are you trying to achieve? I do not completely know all the
> features of digits. But table has a numerical columns n and q, see
> http://www.tug.org/TUGboat/Articles/tb29-1/tb91mahajan.pdf. There are also
> \HC (hook column) which can do certain things. Can you give an example of
> a table (placing \digit commands by hand)?
Thank you for your quick answer, Aditya.
In fact, I saw this example at the end of Hans's This Way #3:
\starttext
\starttabulate[|r|]
\NN 1.@@ \NR
\NN 1.1@ \NR
\NN 1.11 \NR
\NN 11.11 \NR
\stoptabulate
\stoptext
and I would like to get the same result replacing tabulate by table...
What I like about \digits (and \NN) is that you can change the number
format (english Vs french for example) without rewriting anything.
>
>> is
>> there a particular reason why the \NN command is defined in 'tabulate' and
>> not in 'table'?
>
> 'table' is just a wrapper around TaBlE macros, and due to the syntax sugar
> of ConTeXt, some of the features of the original TaBlE macros are lost.
> (Though I do not know if \digits thing is possible with the original TaBlE
> macros or not)
>
>> Would it be hard to add it in 'table'?
>
> I believe so. The TaBlE code is *very* old, written at a time when TeX was
> limited in terms of features and memory. Tabluate are more recenlt
> relatively, and written from scratch by Hans. Actually, if you request for
> features of table that are missing in tabulate, that might be easier to
> implement.
>
> Aditya
I see. So maybe I should switch from table to tabulate for now, as I don't
need vertical lines... I'll try that as a first solution.
Morgan
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2008-03-22 15:02 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-17 4:27 Morgan Brassel
2008-03-22 13:38 ` Morgan Brassel
2008-03-22 14:12 ` Aditya Mahajan
2008-03-22 15:02 ` Morgan Brassel [this message]
2008-03-23 3:45 ` Aditya Mahajan
2008-03-23 15:41 ` Morgan Brassel
2008-03-23 23:44 ` Aditya Mahajan
2008-03-23 23:56 ` Morgan Brassel
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=alpine.DEB.1.10.0803221543440.3716@leo \
--to=morgan.brassel@free.fr \
--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).