I am using the aligned
environment to typeset some mathematical equations. Background was discussed here: Vertical alignment in lists when using multline. The idea is to typeset equations on the same line with text.
Now, I want to align equations by more than one position. aligned
gives me too much space around =
:
As you can see, there is too much space between AA
and =
.
Here is my MWE:
\documentclass{article}
\usepackage{mathtools}
\begin{document}
$\begin{aligned}
&AA &&= a\\
&B &&= b
\end{aligned}$
\end{document}
@TeXnician because then it alignes the
b` symbol two the right border. Substitutea
withaaa
and you will see. – Michael Fraiman Apr 30 '17 at 17:13aligned
andalignedat
environments are provided byamsmath
;mathtools
also loads it but it's independent from it. – egreg Apr 30 '17 at 17:55