[Tex/LaTex] How to align array inside align

alignarrays

I wrote an array environment inside align. As array have a blank space around it, I cant align it properly.

I'm using array{l}, because I do want elements on the left inside array.

\documentclass[]{report}
\usepackage{amsmath}

\begin{document}
\begin{align*}
a=&a
\\
a=&\begin{array}{l}
bb
\\
ccc
\end{array}
\end{align*}
\end{document}

enter image description here

Best Answer

Now I think to understand what you want: the matrix* environment from the mathtools package.

\documentclass[]{report}
\usepackage{amsmath}
\usepackage{mathtools}
\begin{document}
\begin{align*}
a&=aaaa
\\
a&=\begin{matrix*}[l]
bbb
\\
cc
\end{matrix*}
\end{align*}
\end{document}

enter image description here

Related Question