https://bugzilla.wikimedia.org/show_bug.cgi?id=5856


Mike.lifeguard <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Page rendering              |texvc
            Product|MediaWiki                   |MediaWiki extensions
            Summary|Enable mhchem package in    |Add support for mhchem
                   |LaTeX                       |package in <math> markup
            Version|1.14-svn                    |any




--- Comment #2 from Mike.lifeguard <[email protected]>  2009-02-13 
22:36:25 UTC ---
(In reply to comment #0)
> Currently, most chemical equations are represented in plain text or LaTeX (if
> there are complicated arrows, ions or symbols). These systems are cumbersome 
> and
> difficult to use. Mhchem was developed as a solution for typesetting chemical
> equations, and comes with a quite intuitive syntax, e.g.:
> 
>   \ce{HCl + H2O -> Cl- + H3O+}
> 
> It would be nice if we could use this package in the math environment, i.e.
> <math>\ce{C6H12O6 ->M[\Delta] 6C + 6H2O}</math>. Additionally, creating a 
> <chem>
> parser hook to automatically put the expression into \ce{} would offer nice
> convenience.

Yes, that'd be nice... but perhaps the best possible solution would be to have
a <tex></tex> tag in addition, which will be agnostic as to what kind of TeX
input it's getting. Then you can use
*normal TeX markup in <tex>, including $...$ etc for math and \ce{} for chem
*math markup in <math>, including \text{} for text and \ce{} for chem
*mhchem markup in <chem>, including $...$ etc for math and \text{} for text


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to