# Paul Sutton

Electronic Structures of Atoms

In Chemistry is important to know how electrons are arranged in their orbitals. The guide below is a really good explanation of this.

Typesetting

If you are using LaTeX to write up reports, then it may be useful to be able to confidently type set how electrons are arranged in their shells and subshells.

if we take an example for Boron from the above website, we can type set this in $\LaTeX$ using math mode:-

$1s^22s^22p_x^1$


The result is a nicely typeset electron configuration.

This is not perfect as it should display the final x as a subscript (below) the the 1 as a superscript next to this. But it should be possible to fix.

This tutorial is sort of related but may be useful for drawing diagrams.

To draw the orbital diagrams you need to use :-

\usepackage{ amssymb }



Then in the document use

\upharpoonleft and \upharpoonright


$\upharpoonleft$ and $\upharpoonright$

For this article I used detexify to figure out the \LaTeX code for the graphics.

Update : 25/2/2022

Having asked on the OU forum about this, in this thread reply I have been advised to use the mhchem package and this will type set the orbitals much better.

\usepackage[version=3]{mhchem} % you may prefer the spacing using version=4
...
$\ce{1s^2 2s^2 2p_x^1}$



Tags