I have the formula
which I create with the code
\begin{align}
\WKernSub[\x]{sub} &\defas \bigsumshort \sum_{j=1\ |\ j\in\J}^{\card\Ob} \mhsp \frac{\massSub[j]{subA}}{\sqrt{ (2\m\pi\m\gwp)^{\nbFeat} }} \m \exp{ \frac{ \left(\x-\ob[j]\right)^\trnsp \m \left(\x-\ob[j]\right) }{-2 \m \gwp} } \mhspE,
\end{align}
\begin{align}
\J = \big\{\mhsp l \mhsp\big|\mhsp &( \ob\in\Obrd \AND l=i ) \\
\OR &( \ob\in\Obru \AND \ob[l]\in\Obvd \AND \ob[l]\primderL\ob[i] ) \mhsp\big\} \mhspE, \nn
\end{align}
\begin{align}
\WFctSub[\x]{sub} &\defas \bigsumshort \sum_{j=1\ |\ \ob[j]\in\Obr}^{\card\Ob} \WKernSub[\x]{sub} \label{eq:WKernSub}
\end{align}
What I would like is, to have the formulas aligned such, that the = and := are aligned. I do not want to have the alignment of the second formula touched. I did checkout Alignment across nested aligned environments, but I was not able to transfer this to my problem and Multiple aligning symbols. I don't want to "open" a new column for alignments.
How can I achieve this?
A minimal working example would be (other symbols):
\documentclass[twocolumn]{article}
\usepackage{amsmath}
\begin{document}
\begin{align}
W_{sub,i} &= asdf
\end{align}
\begin{align}
J = \big\{ l \quad\big|\quad &( o \in O ) \nonumber\\
\vee\quad &( o \in O \wedge o \in O ) \big\} , \nonumber
\end{align}
\begin{align}
W_{sub} &= some long formula without any meaning
\end{align}
\end{document}
resulting in
align
that contains only one line is never going to align with anything else. only when multiple lines are present in analign
(oralignat
) environment are they going to interact. – barbara beeton Sep 28 '17 at 12:46