[NTG-context] alignment problems of units in table

Hans Hagen pragma at wxs.nl
Thu Apr 13 13:24:54 CEST 2006


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



More information about the ntg-context mailing list