I'm using the modiagram package and I'm half-way
through a text (so I'm eager to get this to work). Now I'm up to
filling up p orbitals and hence the σ(pz) orbitals. I'm taught
that the z axis is the bonding axis and that it is the p(z)
orbitals that form the molecular sigma orbitals. modiagram assumed
the x axis and p(x) orbitals. Is it possible to configuration or
hack modiagram to have this suite my needs?
Also, is it possible to change the format of the labels from 2σ(x) to σ(2px)? Should this perhaps be a question on it's own?
I have actually read the code, but it's all new to me. I'd be glad for
any kind of answer, be it hints on where to hack the .styfile or
hints about the package.
Reading the code, I understand that it is around line 1150 I should focus for both problems but the code is all new to me and I'm embarrassed to say I don't understand it.
Here's a MWE on top of things.
\documentclass{article}
\usepackage{mhchem}
\usepackage{modiagram}
\begin{document}
\begin{center}
\begin{MOdiagram}[names,labels,labels-fs=\footnotesize]
\atom[\ce{C}]{left}{ 2s, 2p = {; up, up} }
\atom[\ce{C}]{right}{ 2s, 2p = {; up, up} }
\molecule[\ce{C2}]{ 2sMO, 2pMO = {; pair, pair} }
\EnergyAxis[title=$E$]
\end{MOdiagram}
\end{center}
N.B. Wouldn't it be great to have the $\sigma$ orbital be formatted
$\sigma_{2pz}$ or $\sigma_{2p_z}$ and the $\pi$ orbital $\pi_{2py}$ or
$\pi_{2p_y}$.
\end{document}