ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Cc: <ntg-context@ntg.nl>
Subject: Re: Tables - decimal comma alignment
Date: Thu, 24 Jan 2002 11:44:09 +0100	[thread overview]
Message-ID: <5.1.0.14.1.20020124114226.02bbad68@server-1> (raw)
In-Reply-To: <Pine.LNX.4.33.0201231916320.18893-100000@x.opf.slu.cz>

At 07:22 PM 1/23/2002 +0100, Lukas Kubin wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>Where do I find more info about setting up tables in ConTeXt? I am
>using the cont-eni.pdf from ntg.nl/context but there is not much
>info about tables in it.

actually, this chapter is laying on my desk for editing -)

>Especially I need decimal comma alignment. I have a table with four
>columns of real numbers. The number of decimal places is fixed (4) but the
>part before it is variable (let's say 1 to 3 places). How do I typeset
>such table?
>What if the number of decimal places was variable too?
>Thank you.

the n N (period) and q Q (comma) keys do this

%D \starttabel{|q[00,000]|Q[00,00]|}
%D \HL
%D \VL -1,2   \VL 12,35 \VL\FR
%D \VL 11,203 \VL  2,4  \VL\LR
%D \HL
%D \stoptabel

[thrd-tab has more info on keys as well as core-tab]

Hans

-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                                   fall-back web server: 
www.pragma-pod.nl
-------------------------------------------------------------------------


      reply	other threads:[~2002-01-24 10:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-23 18:22 Lukas Kubin
2002-01-24 10:44 ` Hans Hagen [this message]

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=5.1.0.14.1.20020124114226.02bbad68@server-1 \
    --to=pragma@wxs.nl \
    --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).