## LaTeX forum ⇒ Math & Science ⇒ Left Alignment with Paragraphs for all Equations Topic is solved

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
august_month
Posts: 12
Joined: Sat May 07, 2011 3:03 pm

### Left Alignment with Paragraphs for all Equations

Hello everyone,

I would like to left align all my question. Alignment should match new paragraph. Currently I have this.
\documentclass[12pt,oneside,reqno,fleqn]{amsart}\setlength{\mathindent}{0pt}

It gives me left alignment, but not at the level of new paragraph.

Any suggestions?

Regards,
august_month
Last edited by localghost on Mon Dec 09, 2013 10:29 am, edited 1 time in total.
Reason: Longer passages of source code are tagged as code block, not as in-line code.

Tags:

tom
Posts: 73
Joined: Thu Apr 18, 2013 4:02 am
The class amsart overwrites \mathindent. It uses \normalparindent instead. However, setting \normalparindent to zero is not enough. The simplest solution would be to switch to article and load the amsmath package as shown in the example below.

\documentclass[12pt,oneside,reqno,fleqn]{article}\usepackage{amsmath}\usepackage{blindtext}\setlength{\mathindent}{\parindent}\begin{document}\begin{align}y_1=ax_1+b\\y_2=ax_2+b\end{align} \blindtext\end{document}

august_month
Posts: 12
Joined: Sat May 07, 2011 3:03 pm
Thank you, Tom! It worked.