View Single Post
chemisttree
chemisttree is offline
#57
Jun30-09, 01:53 PM
Sci Advisor
HW Helper
PF Gold
chemisttree's Avatar
P: 3,725
OK, I'll bite. Placing "\newcommand{\chem}[1]{\ensuremath{\mathrm{#1}}}" within the tex delimiters...

[tex] \newcommand{\chem}[1]{\ensuremath{\mathrm{#1}}} [/tex]

and entering the string you recommended "\chem{10 K_4 Fe (CN)_6 + 122 K MnO_4 + 299 H_2 SO_4 \rightarrow 162 K H SO_4 + 5 Fe_2 (SO_4)_3 + 122 Mn SO_4 + 60 H NO_3 + 60 CO_2 + 188 H_2 O}"

yields,

[tex] \chem{10 K_4 Fe (CN)_6 + 122 K MnO_4 + 299 H_2 SO_4 \rightarrow 162 K H SO_4 + 5 Fe_2 (SO_4)_3 + 122 Mn SO_4 + 60 H NO_3 + 60 CO_2 + 188 H_2 O} [/tex]

versus just entering the string between tex delimiters....

[tex] 10 K_4 Fe (CN)_6 + 122 K MnO_4 + 299 H_2 SO_4 \rightarrow 162 K H SO_4 + 5 Fe_2 (SO_4)_3 + 122 Mn SO_4 + 60 H NO_3 + 60 CO_2 + 188 H_2 O [/tex]

Aside from the spacing between the '+' signs, I see no advantage.