ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: Re: Typesetting chemical reaction equations
Date: Fri, 27 Jan 2006 17:25:07 +0100	[thread overview]
Message-ID: <43DA4963.6080505@wxs.nl> (raw)
In-Reply-To: <43DA41B9.5020800@kpatents.com>

Ville Voipio wrote:
> I would need to typeset some rather simple reaction equations. I do not 
> need the structural capabilities of PPCHTeX, just something simpler. The 
> thing I am writing has something to do with physical chemistry, so I 
> need mathematical equations, as well.
>
> Of course, the natural way to do this:
>
> \placeformula
> \startformula
>    \rm
>    NH_3(g) + H^+(aq.) + Cl^-(aq.) \rightarrow NH_4^+(aq.) + Cl^-(aq.)
> \stopformula
>
> This gives rather pleasant-looking results. However, is this the right 
> (i.e. kosher) way of doing things, or do I run into trouble at some 
> later point with this? What are you chemists using?
>
> And how do I switch off the equation numbering for the chemical 
> reactions (I'd like to have the mathematical formulae still numbered)?
>   
\usemodule[chemic]

\placeformula[-]
\startformula
   \chemical{NH_3(g),+,H^+(aq.),+,Cl^-(aq.),->,NH_4^+(aq.),+,Cl^-(aq.)}
\stopformula


-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------

  reply	other threads:[~2006-01-27 16:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-27 15:52 Ville Voipio
2006-01-27 16:25 ` Hans Hagen [this message]
2006-01-27 16:31   ` Ville Voipio
2006-01-27 17:06     ` Hans Hagen
2006-01-27 16:25 ` Ville Voipio
2006-01-27 16:43   ` Hans Hagen
2006-08-19  9:15 Tayebe Bagheri

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=43DA4963.6080505@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).