Let's say I have multiple lines of math symbols from which I want to create a kind of "waterfall aligning, i.e. At any given line, the proceeding line will start at the (horizontal) position of end of the current line.

I have attempted to do it with the align environment (using & and &&) but it does not work

F: \mathcal{A} \to & \mathcal{B} \\
 & f: && C \to D\\
&& c \mapsto f(c):= \sum ...

Any ideas on how I can do this properly?

  • Like the main diagonal of a matrix? Then matrix environment, or more generally the array env, is an option. Apr 30 at 10:10
  • I don't think one can do that properly (in the sense that, I cannot see an example where this is a good solution). I might be wrong, though.
    – mickep
    Apr 30 at 12:11

1 Answer 1


You can use alignat:



F\colon \mathcal{A} \to \mathcal{B} \\
& f\colon  C \to D \\
&& c \mapsto f(c) = \sum ...


enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.