Welcome, Guest. Please login or register.

September 22, 2023, 10:27:29 pm

Author Topic: Chemistry question threads: how to type chemistry on the forums!  (Read 5946 times)  Share 

0 Members and 1 Guest are viewing this topic.


  • ATAR Notes VIC MVP - 2016
  • Forum Leader
  • ****
  • Posts: 748
  • The LORD is my shepherd, I shall not want - Ps. 23
  • Respect: +218
Surprise surprise, we are now able to type up real chemistry on the AN forums. Gone are the days of 'is it a subscript? is it a superscript? no, it's a coefficient!'

The mhchem chemistry typesetting package has been kindly installed on the forum system, so here are some pointers on how to use it:
- When you need to input a chemical formula, start off by opening a Latex region, and then enter your chemical formula inside \ce{<chemical formula here>}
Code: [Select]
\(\ce{NaBH4}\)The above leads to: \(\ce{NaBH4}\)

- Typesetting reactions can be done using arrows: <=> (equilibrium), and -> (unidirectional)
For instance:
Code: [Select]
\(\ce{N2(g) + 2H2(g) <=> N2H4(g)}\)\(\ce{N2(g) + 2H2(g) <=> N2H4(g)}\)

Code: [Select]
\(\ce{H2C=CH2 + Cl2 -> CH2ClCH2Cl}\)
\(\ce{H2C=CH2 + Cl2 -> CH2ClCH2Cl}\)

Have fun, and if you need to use more advanced features, they are documented here: http://mirror.aut.ac.nz/CTAN/macros/latex/contrib/mhchem/mhchem.pdf, or post in this thread and I'll periodically reply to answers as best I know how :)
« Last Edit: August 22, 2016, 10:41:44 pm by zsteve »
~~ rarely checking these forums these days ~~

2015: Specialist [47] | Methods [48] | Chemistry [50] | Physics [48] | English Language [46] | UMEP Mathematics [5.0] | ATAR - 99.95
Premier's Award Recipient 2016: Top All-Round VCE High Achiever
2016-2019: University of Melbourne : Bachelor of Science (Biochemistry & Molecular Biology), Diploma in Mathematics (Applied)
2019-: University of British Columbia