Re: [NTG-context] Typesetting chemical reaction equations
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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Typesetting chemical reaction equations
And how do I switch off the equation numbering for the chemical reactions (I'd like to have the mathematical formulae still numbered)? Stupid me. Just by leaving the \placeformula out. (Maybe I should go and get something to eat, my brain seems to be in some sort of energy-saving mode.) By the way, is there a simple way to have two separate numbering schemes? If I wanted to have chemical formulae numbered with 1,2,3,4... and maths with i, ii, iii, iv, ... , how should I do it? It must be documented with \placeformula, but is \placeformula documented anywhere apart from the code itself? (Yes, I am lazy.) - Ville ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Typesetting chemical reaction equations
\usemodule[chemic] \placeformula[-] \startformula \chemical{NH_3(g),+,H^+(aq.),+,Cl^-(aq.),-,NH_4^+(aq.),+,Cl^-(aq.)} \stopformula Dank u! - Ville ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Typesetting chemical reaction equations
Ville Voipio wrote: And how do I switch off the equation numbering for the chemical reactions (I'd like to have the mathematical formulae still numbered)? Stupid me. Just by leaving the \placeformula out. (Maybe I should go and get something to eat, my brain seems to be in some sort of energy-saving mode.) By the way, is there a simple way to have two separate numbering schemes? If I wanted to have chemical formulae numbered with 1,2,3,4... and maths with i, ii, iii, iv, ... , how should I do it? It must be documented with \placeformula, but is \placeformula documented anywhere apart from the code itself? (Yes, I am lazy.) well, i can make a \defineformulaplacement; remind me Hans - 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Typesetting chemical reaction equations
Ville Voipio wrote: \usemodule[chemic] \placeformula[-] \startformula \chemical{NH_3(g),+,H^+(aq.),+,Cl^-(aq.),-,NH_4^+(aq.),+,Cl^-(aq.)} \stopformula Dank u! Graag gedaan btw, this is documented in the ppchtex manual - 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context