ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: yoraxe <yoraxe@googlemail.com>
To: ntg-context@ntg.nl
Subject: Re: Digits-Module in tabulate does not work
Date: Thu, 09 Jun 2011 23:00:16 +0200	[thread overview]
Message-ID: <4DF13460.4030001@googlemail.com> (raw)
In-Reply-To: <C086D5ED-17D9-4AAD-A368-3C2AF9F002E5@googlemail.com>

Am 09.06.2011 22:31, schrieb Wolfgang Schuster:
> Am 09.06.2011 um 22:24 schrieb yoraxe:
>
>   
>> Hi,
>>
>> I'm using the digit-module and enjoy, that I get a nice output using the
>> following:
>>
>> \starttext
>> \digits{30e-3}
>> \stoptext
>>
>> instead of
>>
>> \starttext
>> $30 \cdot 10^{-3}$ or $30 ⋅ 10^{-3}$
>> \stoptext
>>
>> But now I'm wondering why this module does not work in the
>> tabulate-environment with:
>>
>> \starttabulate[|l|l]
>> \HL
>> \NC first \NC second \AR
>> \HL
>> \NC \digits{30e-3}\NC \digits{30e+3} \AR
>> \HL
>> \stoptabulate
>>
>> In the pdf-file now appears only 30e-3.
>>     
> \starttext
>
> \starttabulate[|l|l|]
> \HL
> \NC first \NC second \NC\NR
> \HL
> \NN 30e-3 \NN 30e+3  \NC\NR
> \HL
> \stoptabulate
>
> \stoptext
>
> Wolfgang
>   
Thanks. That was very easy. But where do I have to put the \NN when I
use something like

(30 \pm 3)e-3

?

I guess the \pm has to be in $$. If I type

\NN (30$\pm$3)e-3

there's 'e-3' in the pdf-file again. The \NN somewhere between the digit
only creates a big space (new column).

Sorry for being so slow on the uptake.

Yoraxe
___________________________________________________________________________________
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
___________________________________________________________________________________

  reply	other threads:[~2011-06-09 21:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-09 20:24 yoraxe
2011-06-09 20:31 ` Wolfgang Schuster
2011-06-09 21:00   ` yoraxe [this message]
2011-06-09 21:16     ` Wolfgang Schuster
2011-06-12 13:34       ` yoraxe

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=4DF13460.4030001@googlemail.com \
    --to=yoraxe@googlemail.com \
    --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).