In other examples, we saw how to draw molecules. How about digging deeper? Can we draw atoms? Sure!
We will use a package named after the famout physicist Niels Bohr. That’s bohr.sty.
Here, we will draw Fluorine and a Sodium ion.
The code is fully explained in the LaTeX Cookbook, Chapter 11, Science and Technology, Representing atoms.
Edit and compile if you like:% Bohr atom model % Author: Stefan Kottwitz % https://www.packtpub.com/hardware-and-creative/latex-cookbook \documentclass[border=10pt]{standalone} \usepackage{bohr} \begin{document} \bohr{10}{F} \setbohr{nucleus-radius=1.5em} \bohr[3]{10}{$\mathrm{Na^+}$} \end{document}
Open in Overleaf: atoms.tex