ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* alignment problems of units in table
@ 2006-04-13  9:46 Wolfgang
  2006-04-13 11:24 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang @ 2006-04-13  9:46 UTC (permalink / raw)


Hello

I get the units always left aligned in my table while the rest gets the 
correct alignement. What do I do wrong?

\starttable[|l|r|r|r|r|r|]
\HL
\NC sample \NC length \NC width \NC height \NC dry weight \NC density \FR
\NC \NC \Milli \Meter \NC \Milli \Meter \NC \Milli \Meter \NC \Gram \NC 
\Kilo \Gram \Per \Cubic \Meter \LR
\HL
\NC H905\_T1 \NC 99.9 \NC 97.2 \NC 11.3\NC 43.44 \NC 395.8 \AR
\NC H905\_T2 \NC 100.0 \NC 96.8 \NC 10.9\NC 41.95 \NC 397.6 \AR
\NC H905\_T3 \NC 99.9 \NC 96.7 \NC 10.9\NC 41.47 \NC 393.8 \AR
\NC H905\_T4 \NC 99.9 \NC 96.9 \NC 10.9\NC 41.56 \NC 393.9 \AR
\NC H905\_T5 \NC 99.9 \NC 97.0 \NC 11.0\NC 42.34 \NC 397.2 \AR
\NC H905\_L1 \NC 148.3 \NC 49.3 \NC 10.8\NC 32.11 \NC 406.7 \AR
\NC H905\_L2 \NC 147.9 \NC 49.2 \NC 11.0\NC 32.44 \NC 405.3 \AR
\NC H905\_L3 \NC 147.4 \NC 49.1 \NC 10.6\NC 33.62 \NC 438.3 \AR
\NC H905\_L4 \NC 148.1 \NC 49.1 \NC 10.6\NC 32.05 \NC 415.8 \AR
\NC H905\_L5 \NC 147.9 \NC 49.3 \NC 10.5\NC 33.16 \NC 433.1 \LR
\HL
\NC \NC \NC \NC \NC average \NC 421.3 \SR
\HL
\stoptable

Thanks
Wolfgang

  texexec : TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005
  texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004
  tex : pdfeTeX, 3.141592-1.21a-2.2 (MiKTeX 2.4) (preloaded for
mat=cont-en 2006.3.23)  13 APR 2006 11:44
  context : ver: 2006.02.15 17:41
  cont-en : ver: 2006.02.15 17:41  fmt: 2006.3.23  mes: english

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

* Re: alignment problems of units in table
  2006-04-13  9:46 alignment problems of units in table Wolfgang
@ 2006-04-13 11:24 ` Hans Hagen
  2006-04-13 12:08   ` Wolfgang
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2006-04-13 11:24 UTC (permalink / raw)


Wolfgang wrote:
> Hello
>
> I get the units always left aligned in my table while the rest gets the 
> correct alignement. What do I do wrong?
>
> \starttable[|l|r|r|r|r|r|]
> \HL
> \NC sample \NC length \NC width \NC height \NC dry weight \NC density \FR
> \NC \NC \Milli \Meter \NC \Milli \Meter \NC \Milli \Meter \NC \Gram \NC 
> \Kilo \Gram \Per \Cubic \Meter \LR
> \HL
> \NC H905\_T1 \NC 99.9 \NC 97.2 \NC 11.3\NC 43.44 \NC 395.8 \AR
> \NC H905\_T2 \NC 100.0 \NC 96.8 \NC 10.9\NC 41.95 \NC 397.6 \AR
> \NC H905\_T3 \NC 99.9 \NC 96.7 \NC 10.9\NC 41.47 \NC 393.8 \AR
> \NC H905\_T4 \NC 99.9 \NC 96.9 \NC 10.9\NC 41.56 \NC 393.9 \AR
> \NC H905\_T5 \NC 99.9 \NC 97.0 \NC 11.0\NC 42.34 \NC 397.2 \AR
> \NC H905\_L1 \NC 148.3 \NC 49.3 \NC 10.8\NC 32.11 \NC 406.7 \AR
> \NC H905\_L2 \NC 147.9 \NC 49.2 \NC 11.0\NC 32.44 \NC 405.3 \AR
> \NC H905\_L3 \NC 147.4 \NC 49.1 \NC 10.6\NC 33.62 \NC 438.3 \AR
> \NC H905\_L4 \NC 148.1 \NC 49.1 \NC 10.6\NC 32.05 \NC 415.8 \AR
> \NC H905\_L5 \NC 147.9 \NC 49.3 \NC 10.5\NC 33.16 \NC 433.1 \LR
> \HL
> \NC \NC \NC \NC \NC average \NC 421.3 \SR
> \HL
> \stoptable
>   
units act upon signals that they insert in the text, in this case (no 
quantity given) you need to start the unit sequence using \Unit

\NC \NC \Unit \Milli \Meter \NC \Unit \Milli \Meter \NC \Unit \Milli \Meter \NC \Unit \Gram \NC
\Unit \Kilo \Gram \Per \Cubic \Meter \LR

needs wikifying 

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------

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

* Re: alignment problems of units in table
  2006-04-13 11:24 ` Hans Hagen
@ 2006-04-13 12:08   ` Wolfgang
  0 siblings, 0 replies; 3+ messages in thread
From: Wolfgang @ 2006-04-13 12:08 UTC (permalink / raw)


Hello,

thanks a lot! I will have a look at the wiki and try to add this (will 
be my first addition).

Wolfgang

Hans Hagen schrieb:
> Wolfgang wrote:
>> Hello
>>
>> I get the units always left aligned in my table while the rest gets the 
>> correct alignement. What do I do wrong?
>>
>> \starttable[|l|r|r|r|r|r|]
>> \HL
>> \NC sample \NC length \NC width \NC height \NC dry weight \NC density \FR
>> \NC \NC \Milli \Meter \NC \Milli \Meter \NC \Milli \Meter \NC \Gram \NC 
>> \Kilo \Gram \Per \Cubic \Meter \LR
>> \HL
>> \NC H905\_T1 \NC 99.9 \NC 97.2 \NC 11.3\NC 43.44 \NC 395.8 \AR
>> \NC H905\_T2 \NC 100.0 \NC 96.8 \NC 10.9\NC 41.95 \NC 397.6 \AR
>> \NC H905\_T3 \NC 99.9 \NC 96.7 \NC 10.9\NC 41.47 \NC 393.8 \AR
>> \NC H905\_T4 \NC 99.9 \NC 96.9 \NC 10.9\NC 41.56 \NC 393.9 \AR
>> \NC H905\_T5 \NC 99.9 \NC 97.0 \NC 11.0\NC 42.34 \NC 397.2 \AR
>> \NC H905\_L1 \NC 148.3 \NC 49.3 \NC 10.8\NC 32.11 \NC 406.7 \AR
>> \NC H905\_L2 \NC 147.9 \NC 49.2 \NC 11.0\NC 32.44 \NC 405.3 \AR
>> \NC H905\_L3 \NC 147.4 \NC 49.1 \NC 10.6\NC 33.62 \NC 438.3 \AR
>> \NC H905\_L4 \NC 148.1 \NC 49.1 \NC 10.6\NC 32.05 \NC 415.8 \AR
>> \NC H905\_L5 \NC 147.9 \NC 49.3 \NC 10.5\NC 33.16 \NC 433.1 \LR
>> \HL
>> \NC \NC \NC \NC \NC average \NC 421.3 \SR
>> \HL
>> \stoptable
>>   
> units act upon signals that they insert in the text, in this case (no 
> quantity given) you need to start the unit sequence using \Unit
> 
> \NC \NC \Unit \Milli \Meter \NC \Unit \Milli \Meter \NC \Unit \Milli \Meter \NC \Unit \Gram \NC
> \Unit \Kilo \Gram \Per \Cubic \Meter \LR
> 
> needs wikifying 
> 
> -----------------------------------------------------------------
>                                           Hans Hagen | PRAGMA ADE
>               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
>                                              | www.pragma-pod.nl
> -----------------------------------------------------------------

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

end of thread, other threads:[~2006-04-13 12:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-13  9:46 alignment problems of units in table Wolfgang
2006-04-13 11:24 ` Hans Hagen
2006-04-13 12:08   ` Wolfgang

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