Saturday, 1 June 2013

Multiple alignment without spacing

Multiple alignment without spacing

What is the best way of typing an equation like this? http://img27.imageshack.us/img27/4479/alinhamento.png
(The vertical red lines indicate three different alignment axes.)
I have tried the following:
\begin{alignat*}{3} \phi: Z^{X \times Y} &\to (Z^Y)^X\\ f &\mapsto \phi(f): X &&\to Z^Y\\ x &&\mapsto \phi(f)(x): Y &&&\to Z\\ y &&&\mapsto \phi(f)(x)(y) = f(x,y) \end{alignat*}
But it doesn't work well.

No comments:

Post a Comment