ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Tables - decimal comma alignment
@ 2002-01-23 18:22 Lukas Kubin
  2002-01-24 10:44 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Lukas Kubin @ 2002-01-23 18:22 UTC (permalink / raw)


-----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.
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.

lukas

- -- 
Lukas Kubin
lukas.kubin@permonik.com
phone: 00420603836180
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.5 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8Tv9m4TIZ2lmUAtsRAi0VAJ4qB31uERHLRLxHLqaFEZssKPZviQCff+vY
RZzBBoD8QcUBgQi4KciZvro=
=18DC
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Tables - decimal comma alignment
  2002-01-23 18:22 Tables - decimal comma alignment Lukas Kubin
@ 2002-01-24 10:44 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2002-01-24 10:44 UTC (permalink / raw)
  Cc: ntg-context

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-01-24 10:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-23 18:22 Tables - decimal comma alignment Lukas Kubin
2002-01-24 10:44 ` Hans Hagen

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).