Because I want to include an align environment into an itemize environment, I need to get rid of the bottom, left and top margin.

I found, that I can remove the top and bottom margin with this:


But this still leaves the left margin. I tried replacing \start@align and \endalign with flalign but that caused errors.


If you want to keep the normal left margin for text:

\usepackage{mathtools}% compatibility test
\usepackage{showframe}% MWE only


\item blah blah blah \begin{myalign*}
x & = A+B+C+D+E+F+G+H+I+J+K+L+M+N+O+P\\
y & = x-A
\end{myalign*} blah blah blah.



The leftmargin comes from the itemize environment. So you have to customize this to eliminate its leftmargin:

First, in your preamble, use


The change your itemize to


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.