When I use the \align* environment I am okay with the vertical space it sets by default but the formula in between this environment gets indented. How can I stop it doing that? i want it to be aligned with the page number to the left as per the following example. Here is the code
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
Yes, then it's for all such math environments. Or later, if you want it later. You can even use within environments, if you wish to keep the effect local.
It does. If you use align* within enumerate, it aligns to the left regarding the items. Not to the left of the number. If you desire that, first end the enumerate environment, then start align*.
I wrote "\setlength{\mathindent}{0pt}" exactly one line before \begin{document} and for equations i wanted to have a nice vertical space without manually setting \vspace i set \begin{align*} into math equations i wanted to have this good vertical space and it worked. If you still don't know what I mean i can show you a PDF?
\documentclass[fleqn]{article}
\usepackage{amsmath}
\setlength{\mathindent}{0pt}
\begin{document}
\noindent Left aligned
\begin{align*}
x &= y
\end{align*}
\end{document}
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p