ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Two, different, \EQ columns in the same tabulate?
@ 2001-07-16 16:10 Giuseppe Bilotta
  2001-07-18 15:43 ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Giuseppe Bilotta @ 2001-07-16 16:10 UTC (permalink / raw)


Hello,

I'd like to achieve an effect like:

 1,000    500   *   60%   =   300
 1,000    500   *   55%   =   275
 1,000    500   *   50%   =   250
 1,000    500   *   45%   =   225
 1,000    500   *   40%   =   200
 1,000    500   *   35%   =   175
 1,000    500   *   30%   =   150
 1,000    500   *   25%   =   125
 1,000    500   *   20%   =   100

so I thought about using EQ columns. How do I specify *two*
different equal symbols?

--
Giuseppe "Oblomov" Bilotta


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

* Re: Two, different, \EQ columns in the same tabulate?
  2001-07-16 16:10 Two, different, \EQ columns in the same tabulate? Giuseppe Bilotta
@ 2001-07-18 15:43 ` Hans Hagen
  2001-07-19 10:13   ` Re[2]: " Giuseppe Bilotta
  0 siblings, 1 reply; 4+ messages in thread
From: Hans Hagen @ 2001-07-18 15:43 UTC (permalink / raw)
  Cc: ntg-context

At 06:10 PM 7/16/2001 +0200, Giuseppe Bilotta wrote:
>Hello,
>
>I'd like to achieve an effect like:
>
>  1,000    500   *   60%   =   300
>  1,000    500   *   55%   =   275
>  1,000    500   *   50%   =   250
>  1,000    500   *   45%   =   225
>  1,000    500   *   40%   =   200
>  1,000    500   *   35%   =   175
>  1,000    500   *   30%   =   150
>  1,000    500   *   25%   =   125
>  1,000    500   *   20%   =   100
>
>so I thought about using EQ columns. How do I specify *two*
>different equal symbols?

\starttabulate[|cg{.}|cg{,}|cg{,}|]
\NC period     \NC comma      \NC comma   \NC\NR
\NG 100.000,00 \NG 100.000,00 \NG 100,00  \NC\NR
\NG 10.000,00  \NG 10.000,00  \NG 1000,00 \NC\NR
\NG 100,00     \NG 100,00     \NG 10,00   \NC\NR
\NG 10         \NG 10         \NG 0,00    \NC\NR
\stoptabulate

\starttabulate[|cg{,}|r|b{$\star$}|ra{\percent}|b{=}|r|]
\NG   1,000 \NC 500 \NC \NC 60 \NC \NC 300 \NC \NR
\NG  21,000 \NC 500 \NC \NC 55 \NC \NC 275 \NC \NR
\NG 341,000 \NC 500 \NC \NC 50 \NC \NC 250 \NC \NR
\NG   1,000 \NC 500 \NC \NC 45 \NC \NC 225 \NC \NR
\NG  21,000 \NC 500 \NC \NC 40 \NC \NC 200 \NC \NR
\NG 341,000 \NC 500 \NC \NC 35 \NC \NC 175 \NC \NR
\NG   1,000 \NC 500 \NC \NC 30 \NC \NC 150 \NC \NR
\NG  21,000 \NC 500 \NC \NC 25 \NC \NC 125 \NC \NR
\NG 341,000 \NC 500 \NC \NC 20 \NC \NC 100 \NC \NR
\stoptabulate
-------------------------------------------------------------------------
                                   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
-------------------------------------------------------------------------


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

* Re[2]: Two, different, \EQ columns in the same tabulate?
  2001-07-18 15:43 ` Hans Hagen
@ 2001-07-19 10:13   ` Giuseppe Bilotta
  2001-07-19 11:17     ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Giuseppe Bilotta @ 2001-07-19 10:13 UTC (permalink / raw)
  Cc: ntg-context

Wednesday, July 18, 2001 Hans Hagen wrote:

>>so I thought about using EQ columns. How do I specify *two*
>>different equal symbols?

HH> \starttabulate[|cg{.}|cg{,}|cg{,}|]
HH> \NC period     \NC comma      \NC comma   \NC\NR
HH> \NG 100.000,00 \NG 100.000,00 \NG 100,00  \NC\NR
HH> \NG 10.000,00  \NG 10.000,00  \NG 1000,00 \NC\NR
HH> \NG 100,00     \NG 100,00     \NG 10,00   \NC\NR
HH> \NG 10         \NG 10         \NG 0,00    \NC\NR
HH> \stoptabulate

Ok. (Also [c.|c,|c,|], IIRC)

HH> \starttabulate[|cg{,}|r|b{$\star$}|ra{\percent}|b{=}|r|]
HH> \NG   1,000 \NC 500 \NC \NC 60 \NC \NC 300 \NC \NR
HH> \NG  21,000 \NC 500 \NC \NC 55 \NC \NC 275 \NC \NR
HH> \NG 341,000 \NC 500 \NC \NC 50 \NC \NC 250 \NC \NR
HH> \NG   1,000 \NC 500 \NC \NC 45 \NC \NC 225 \NC \NR
HH> \NG  21,000 \NC 500 \NC \NC 40 \NC \NC 200 \NC \NR
HH> \NG 341,000 \NC 500 \NC \NC 35 \NC \NC 175 \NC \NR
HH> \NG   1,000 \NC 500 \NC \NC 30 \NC \NC 150 \NC \NR
HH> \NG  21,000 \NC 500 \NC \NC 25 \NC \NC 125 \NC \NR
HH> \NG 341,000 \NC 500 \NC \NC 20 \NC \NC 100 \NC \NR
HH> \stoptabulate

Wonderful! Now, is there a way to "skip" using the b{ } and a{ },
but no the alignment keys, in the tabulate headers?

--
Giuseppe "Oblomov" Bilotta


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

* Re[2]: Two, different, \EQ columns in the same tabulate?
  2001-07-19 10:13   ` Re[2]: " Giuseppe Bilotta
@ 2001-07-19 11:17     ` Hans Hagen
  0 siblings, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2001-07-19 11:17 UTC (permalink / raw)
  Cc: ntg-context

At 12:13 PM 7/19/2001 +0200, Giuseppe Bilotta wrote:

>HH> \starttabulate[|cg{,}|r|b{$\star$}|ra{\percent}|b{=}|r|]
>HH> \NG   1,000 \NC 500 \NC \NC 60 \NC \NC 300 \NC \NR
>HH> \NG  21,000 \NC 500 \NC \NC 55 \NC \NC 275 \NC \NR
>HH> \NG 341,000 \NC 500 \NC \NC 50 \NC \NC 250 \NC \NR
>HH> \NG   1,000 \NC 500 \NC \NC 45 \NC \NC 225 \NC \NR
>HH> \NG  21,000 \NC 500 \NC \NC 40 \NC \NC 200 \NC \NR
>HH> \NG 341,000 \NC 500 \NC \NC 35 \NC \NC 175 \NC \NR
>HH> \NG   1,000 \NC 500 \NC \NC 30 \NC \NC 150 \NC \NR
>HH> \NG  21,000 \NC 500 \NC \NC 25 \NC \NC 125 \NC \NR
>HH> \NG 341,000 \NC 500 \NC \NC 20 \NC \NC 100 \NC \NR
>HH> \stoptabulate
>
>Wonderful! Now, is there a way to "skip" using the b{ } and a{ },
>but no the alignment keys, in the tabulate headers?

you need them as hooks,

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


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

end of thread, other threads:[~2001-07-19 11:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-16 16:10 Two, different, \EQ columns in the same tabulate? Giuseppe Bilotta
2001-07-18 15:43 ` Hans Hagen
2001-07-19 10:13   ` Re[2]: " Giuseppe Bilotta
2001-07-19 11:17     ` 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).