ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Chemistry in lists
@ 2007-12-22  8:10 Shen Chen
  2007-12-23 23:06 ` Mojca Miklavec
  0 siblings, 1 reply; 3+ messages in thread
From: Shen Chen @ 2007-12-22  8:10 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-12-24  5:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-22  8:10 Chemistry in lists Shen Chen
2007-12-23 23:06 ` Mojca Miklavec
2007-12-24  5:54   ` Shen Chen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).