Rev 4158 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
!if $wims_read_parm!=slib_header
!goto proc
!endif
slib_title=Typeset reaction quotients and Nernst laws for chemical equations
slib_parms=1\
, chemical equation
slib_author=Georges Khaznadar
slib_license=GPL
slib_out= a TeX source to be fed into !instex to typeset the molecule nicely.
slib_comment=Enter formulas as accepted by the command chemeq
slib_example= Cu^2+ + 2e- -> Cu_s (0.34 V) ~ Fe^2+ + 2e- -> Fe_s (-1.44 V)\
Fe^2+ + 2e- -> Fe_s (-0.44 V)\
H2_g + 1/2 O2_g -> H2O\
N2_g + 3H2_g -> NH3_g (Kp=1e-6)
!exit
:proc
chemeq_option=w
slib_l=!exec chemeq $wims_read_parm
slib_out=!line 1 of $slib_l
!reset chemeq_option