I see your point and therefore didn't downvote the question, but I disagree with the suggestion.
The button solution, which only embeds a string in $\ce{
}$
isn't flexible enough!
When will the button work?
It only cover the most simple cases, such as $\ce{CCl4}$!
Btw, it is very unfortunate that $...$
($\TeX$ shorthand) instead of the recommended $\LaTeX$ shorthand \(...\)
is supported in MathJax for the inline math mode, while the display mode can be triggered using $$...$$
and \[...\]
. Note that additional backslashes are apparently needed in MathJax!
When will it fail?
In expressions where additional curly brackets are necessary, such as in $\ce{^{235}U}$ or $\ce{PO4^{3-}}$.
In cases where alignment of several chemical equations is wanted. Usually, \cee{...}
rather than \ce{...}
is needed then.
\begin{align*}
\cee{ A + B &<=> C + D}\\
\cee{ C &<=> E + F}\\
\cee{ A + F &<<=> G}\\
\end{align*}
3. In cases where text, greek symbols or chemical formula have to be typeset above or below reaction arrows.
\[\ce{(Ar)3C-CN <=>[h\nu][\Delta] (Ar)3C+ + CN-} \]
- In all cases where math mode without the
mhchem
options is needed. Think thermodynamics or physical chemistry in general.
\[\Delta 2\theta = \frac{K\lambda}{L\cos\theta_0}\]
You will find lots of examples of interesting questions and excellent answers from different people where a lot of well-written $\LaTeX$ was used. Here are just seven examples in which a button solution would not have helped:
In summary, I think that the simple button solution only caters (understandable) laziness but keeps users from experiencing the benefits of using $\LaTeX$ in scientific writing. (And I haven't even mentioned how good it works with version-control systems, such as svn
or git
in collaborative writing :D)