The closest I could get is:
\documentclass{iopart}
\usepackage{iopams}
\usepackage[utf8]{inputenc}
\usepackage{mathtools}
\begin{document}
\begin{minipage}{.38\textwidth}
\begin{equation} \label{eq:ComptonWavelength}
E'_\gamma = \frac{E_\gamma}{1 + \frac{E_\gamma}{m_e c^2}(1 - \cos{\theta})}
\end{equation}
\end{minipage}
\begin{minipage}{.1\textwidth} \hfill
\text{or}
\end{minipage}
\begin{minipage}{.38\textwidth}
\begin{equation}
\Delta\lambda = \frac{h}{m_e c^2}(1 - \cos{\theta})
\end{equation}
\end{minipage}
\end{document}
but the they aren't aligned perfectly and require tweaking the minipage widths which seems like a very inelegant non-LaTeX solution.
I've tried \align
, \multicols
and \minipage
, but they all have problems related to vertical alignment or equation numbering.
Best Answer
If that is what you had in mind, here is the code:
If you want the vertical spacing around the "or" to be less, you can use
\shortintertext
instead of\intertext
, but then you need the packagemathtools
instead ofamsmath
.To place the equations side by side (I do not recommend this), you can try two
minipage
s with[t]
alignment:But you'll need a
\vphantom{\bigg(}
so that the tops line up.Here is the code:
You'll have to play around with the widths of the
minipage
s. But I think it looks cramped all on one line.