Can I get this three column arrangement in the equation environment without using three align environments? The problem I am having is the amsmath error "erroneous nesting of equations" occurs and I want to avoid that error/warning. I also don't want to have to write out all the first lines together, then all the second lines etc. etc. because that would get confusing when editing the equations later on. The following MWC is complex on purpose. It illustrates how confusing it would get if I had to write all the lines as described above. thanks.
\documentclass[]{article}
\usepackage{amsmath}
\begin{document}
\begin{equation*}
\begin{align}
P_{S} &= V_{S} \times I_{1} \times cos(\phi) \\
&= \times \times cos(\phi) \\
\therefore cos(\phi)_{1A} &= \frac{}{ \times } \\
&= \\
I_{S} &= I_{1} \sqrt{1+THD^{2}} \\
\therefore \
THD &= \frac{I_{S}}{I_{1}} - 1\\
&= \frac{}{} - 1 \\
&= \\
df &= cos(\phi) \times \frac{1}{\sqrt{1+THD^{2}}} \\
&= \times \frac{1}{\sqrt{1+^{2}}} \\
&=
\end{align}
\begin{align}
P_{S} &= V_{S} \times I_{1} \times cos(\phi) \\
&= \times \times cos(\phi) \\
\therefore cos(\phi)_{1A} &= \frac{}{ \times } \\
&= \\
I_{S} &= I_{1} \sqrt{1+THD^{2}} \\
\therefore \
THD &= \frac{I_{S}}{I_{1}} - 1\\
&= \frac{}{} - 1 \\
&= \\
df &= cos(\phi) \times \frac{1}{\sqrt{1+THD^{2}}} \\
&= \times \frac{1}{\sqrt{1+^{2}}} \\
&= \\
\end{align}
\begin{align}
P_{S} &= V_{S} \times I_{1} \times cos(\phi) \\
&= \times \times cos(\phi) \\
\therefore cos(\phi)_{1A} &= \frac{}{ \times } \\
&= \\
I_{S} &= I_{1} \sqrt{1+THD^{2}} \\
\therefore \
THD &= \frac{I_{S}}{I_{1}} - 1\\
&= \frac{}{} - 1 \\
&= \\
df &= cos(\phi) \times \frac{1}{\sqrt{1+THD^{2}}} \\
&= \times \frac{1}{\sqrt{1+^{2}}} \\
&= \\
\end{align}
\begin{equation*}
\end{document}
\documentclass{...}
and ending with\end{document}
.align
environment inside an another display math environment. Use analigned
environment.\begin{equation}...\end{equation}
then there are not 3 columnsaligned
is the best advice. the "lonesome" equal signs look odd. if what you want is just extra space, you can insert additional space after a specific line by using the optional argument:\\[12pt]
.(since you are usingamsmath
, be sure not to leave a space after\` or the brackets and what's inside will be typeset.) you also shouldn't usually put
\` after the last line of analign
oraligned
.