0

In a long equation, I'd like to add a line break such that the equality sign (and only that) on the next line is outdented. (Quite a typical typesetting I think.) I tried split, but that gives a way too narrow spacing right of the equal sign. align behaves just the same way.

\documentclass{article}

\usepackage{amsmath}

\begin{document}

\begin{equation}
\begin{split}
 &abc\\
=&def\\
 &+ijk
\end{split}
\end{equation}

\end{document}

enter image description here]1

Perhaps a different alignment/environment should be used here. Any hints?

  • It is not clear what you want. Maybe &= and then &\quad+ for the continuation line. – Sigur Jan 28 '20 at 22:23
  • 3
    You can keep the = symbol to the left and have better spacing with ={}& rather than just =&. It looks a bit odd to me, though. – Ian Thompson Jan 28 '20 at 22:25
  • 2
    all ams alignments are designed to be used as &= not =& although as Ian says, you can use ={}& if you really want the alignment to the right of the = – David Carlisle Jan 28 '20 at 22:27
  • ={}& looks fine indeed, feel free to bump this to an answer. What's a more common way of typesetting those lines though? – Nico Schlömer Jan 28 '20 at 22:29
  • 1
    It probably massively depends on what you're formatting and why, but I might be inclined to use multline for this. Hoewver, to get literally what you want, I would use ={}& as others suggest. Some alignment options are here: https://tex.stackexchange.com/questions/239252/what-is-the-difference-between-split-multline-align-breqn-for-breakin – rbrignall Jan 28 '20 at 22:37
  • 1
    @rbrignall -- I'd be inclined to use multlined (requires mathtools) rather than multline, as the latter spreads the lines across the full text width. It's possible to "corral" them, but it's a pain. – barbara beeton Jan 28 '20 at 23:20

0 Answers0