Sometimes a long equation needs to be broken over multiple lines, especially if using a double column export style.

For example, this equation would most likely span over two columns:

\begin{equation}
F = \{F_{x} \in  F_{c} : (|S| > |C|) \cap 
(minPixels  < |S| < maxPixels) \cap 
(|S_{conected}| > |S| - \epsilon) 
  \}
\end{equation}


To achieve correct break and alignment of the above equation try the code below. (Note: new lines (\\) do not work in equation environments.)

\begin{equation}
\begin{aligned}
F ={} & \{F_{x} \in  F_{c} : (|S| > |C|) \\
      & \cap (\mathrm{minPixels}  < |S| < \mathrm{maxPixels}) \\
      & \cap (|S_{\mathrm{conected}}| > |S| - \epsilon)\}
\end{aligned}
\end{equation}

will produce:



Further reading
More LaTeX equation examples (fork it!)
LaTeX cheatsheet
Was this article helpful?
Cancel
Thank you!