How can I left align the display math environment (either $$
or \[
)? I keep running into people asking about the align
environment; but I just want to change displayed math from center to left align relative to the page.
[Tex/LaTex] Left align (to the page) displayed math
equationshorizontal alignment
Best Answer
You can use
flalign
from theamsmath
package:Note:
showframe
package was used just to be able to see where the text is relative to the page margins.Code:
Alternatively, if you want all equations left aligned, you can use the package option
fleqn
as in\documentclass[fleqn]{article}
which will align them towards the left. The indentation is controlled by\mathindent
, so you could use\setlength{\mathindent}{0pt}
if you wanted to eliminate that.Code: