Re: [NTG-context] \bTABLE and \chemical

2008-09-09 Thread Wolfgang Schuster
On Mon, Sep 8, 2008 at 6:38 PM, Alan BRASLAU [EMAIL PROTECTED] 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
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] \bTABLE and \chemical

2008-09-09 Thread Alan BRASLAU
On Tuesday 09 September 2008 08:33:19 Wolfgang Schuster wrote:
 \dontleavehmode\startchemical

Thank you. This works, of course.
I suppose that it is a subtlety why this is
necessary with \bTable but not with \starttable...

Should this perhaps be included in \startchemical
or would that wreak havoc elsewhere?

Alan
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] \bTABLE and \chemical

2008-09-08 Thread Alan BRASLAU
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
\chemical[SIX,B,C,R,RZ][R,R,R,R,R,R]
\stopchemical
\eTD
\eTR
\eTABLE

\stoptext
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___