[NTG-context] \bTABLE and \chemical

Wolfgang Schuster schuster.wolfgang at googlemail.com
Tue Sep 9 08:33:19 CEST 2008


On Mon, Sep 8, 2008 at 6:38 PM, Alan BRASLAU <alan.braslau at cea.fr> wrote:
> I have not understood how tables and \chemical interact.
> The second case in the minimal example below
> demonstrates unexpected/incorrect centering
> when using \chemical and \bTABLE.
> Am I missing something?
>
> Thanks.
>
> Alan
>
> \starttext
> \usemodule[chemic]
> \setupchemical[size=small,scale=200,width=fit,frame=off]
>
> \starttable[|c|]
>        \HL
>        \VL chemical formula \VL\AR
>        \HL
>        \VL
>                \startchemical
>                        \chemical[SIX,B,C,R,RZ][R,R,R,R,R,R]
>                \stopchemical
>        \VL\LR
>        \HL
> \stoptable
> \blank[line]
>
> \setupTABLE[c][1][align={middle,lohi}]
> \bTABLE
> \bTR
>        \bTD
>        chemical formula
>        \eTD
> \eTR
> \bTR
>        \bTD
>        \startchemical

\dontleavehmode\startchemical

>                \chemical[SIX,B,C,R,RZ][R,R,R,R,R,R]
>        \stopchemical
>        \eTD
> \eTR
> \eTABLE
>
> \stoptext

Wolfgang


More information about the ntg-context mailing list