I came here from this recent question on the same topic, and even if this is an old question, and even if it is likely a LaTeX question, I think it might be useful for some people to have a ConTeXt answer here.
Since a few years, displayed formulas in ConTeXt are typeset as paragraphs, which has made it possible to break inside \left
\right
constructions. Below I show an example with the formula from the question I arrived from.
We use align=slanted
to have the first line flushed left and the last one flushed right (if there were more lines, they would be centered). We also use a margin. The \breakhere
tells where to break the formula.
\starttext
\samplefile{knuthmath}
\startformula[align=slanted,margin=3em]
P^^{ij}
= -2 \sqrt{-g}
\left\{
G^^{ijlm} \dot K__{lm} + \alpha K^^{ij} K - \alpha g^^{ij} K__{lm} K^^{lm} +
\alpha R^^{ij}^^^^{3} \breakhere
- g^^{ij}
\left[
\left(
\frac{\alpha}{3} + 2\beta
\right)
(R^^^^{3} - 3 K__{lm} K^^{lm} + K^^2) + \gamma
\right]
\right\}
\numberhere[Pijsol]
\stopformula
We see in \in{Equation}[Pijsol] that \unknown
\stoptext
(The curious person can notice that ^^
and ^^^^
are used. They are used to denote indices (rather than powers or what-else). This can be useful in case of accessibility, and is not really important here.)