Hi all,

I have some chemical formulae in chapter heading and figure captions,
typeset with the chemic module. The chemic module always uses roman font as
desired.

When I include them in table of contents and list of figures, the chemical
formulae appears in math italic font instead of roman font. See the
following code for example. Chemic Manual mentioned using \rm but it doesn't
seem to be the case. $\rm H_2O$ works fine in the list, but not
\chemical{H_2O}. Any suggestions? Thank you.

\usemodule[chemic]
\starttext

\writetolist[chapter]{}{ABC}
\writetolist[chapter]{}{$H_2O$}
\writetolist[chapter]{}{$\rm H_2O$}
\writetolist[chapter]{}{\chemical{H_2O}}
\completecontent

\stoptext


Regards,
shenchen

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

Reply via email to