# aligning equals as well as plus signs

From this question we know that aligning the equal signs in

A = B = C
D = E = F


is done by using alignat, not align.

A = W + M = C
B = i + \iota = D


how can the equal signs as well as the + signs be aligned?

The important rule for all *align* environments is rlrlrlrl…, meaning that alternating columns are left-, right-, left-, right-, …-aligned.

Such basic question as you posted can be easily written in many ways (#1 = #2, #3 = #4):

## Code (MWE)

\documentclass{article}
\usepackage{amsmath}
\begin{document}

\begin{alignat*}{3} % #1
A & = W & {}+{} & M     && = C \\
B & = i & {}+{} & \iota && = D
\end{alignat*}
\begin{alignat*}{3} % #2
A & = W && {} + M     && = C \\
B & = i && {} + \iota && = D
\end{alignat*}

\begin{alignat*}{3} % #3
A & ={} & W +{} & &     M & = C \\
B & =   & i +{} & & \iota & = D
\end{alignat*}
\begin{alignat*}{3} % #4
A & ={} & W & +{} &     M & = C \\
B & =   & i & +{} & \iota & = D
\end{alignat*}
\end{document}


## Output

### Right-aligned (#3 and #4)

• Is there any center-aligned option? – Unknown123 Apr 10 '19 at 20:11