Thanks for your response,

Le jeudi 13 décembre 2012, vous avez écrit :
> In your example, I see the spacing problem in display math but do not see
> the font problem. Maybe Hans can fix this extra spacing problem.
I joined the pdf output I get with my minimal sample. The font problem occurs 
on line 3 where the last parenthesis is smaller than expected.

> Rather than display math (as was suggested with ppchTeX), we have now
> introduced \startchemicalformula
> \stopchemicalformula
> in order to "display" a chemical formula.
Yes but in my cases I do want a mathematic display and not an chemicalformula 
one because I want to express a mathematical formula where chemical formulas 
are indexes. As an example, considere the calculation of the molecular weight:
M(C6H12O6) = 6 M(C) + 12 M(H) + 6 M(O)

> Also, I'm not sure why you might want to put \chemical{} within a \text
> command; may I suggest either \type{\chemical{CO_2}} or {\tt typewriter
> \chemical{CO_2}}, depending upon what you want to achieve.
In fact, it's an habit I made when I used to put chemical formulas in 
subscript like in: m_{H20} = ... With \math{m_{\chemical{H_2O}}}, H2O was 
typed in normal font whereas with \math{m_{\text{\chemical{H_2O}}}}, it was 
typed in subscript font as expected. Did not test if it's still the case.

> We are currently in the process of a complete re-write of the chemical
> macros. In fact, we are almost finished and Hans is including the new
> macros in the beta (as fast as he can keep up with my changes...).
So I will wait for the new rewritten macros.

Thanks again.

-- 
Romain Diss
<romain.d...@yahoo.fr>

Attachment: test-chemical.pdf
Description: Adobe PDF document

___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to