Math & Science ⇒ Proper aligning of equations
-
- Posts: 162
- Joined: Wed Jun 17, 2009 10:18 pm
Re: Proper aligning of equations
Did you look at example.pdf, that I attached? That is the compiled version of your latest example, and as far as I understand, it meets your requirements.
NEW: TikZ book now 40% off at Amazon.com for a short time.

-
- Posts: 402
- Joined: Fri May 20, 2011 9:41 am
Re: Proper aligning of equations
Yes I took a look at example.pdf but what about the first post? I understand that all my equations are left-aligned but they are indented. How do I get them in the same format as "#3" in the first post applied to all questions?
-
- Posts: 162
- Joined: Wed Jun 17, 2009 10:18 pm
Proper aligning of equations
I'd forgotten that you used a list, sorry. The enumitem package allows you to change the indentation of lists, so you can use that to remove the indent.
But if you're happy typing the numbers manually, and you don't need the first equation to be on the same line as the number, you could also write something like
But if you're happy typing the numbers manually, and you don't need the first equation to be on the same line as the number, you could also write something like
Code: Select all
\documentclass[fleqn]{report}
\usepackage{amsmath}
% \allowdisplaybreaks % allows for pagebreaks within an align-environment
\begin{document}
\noindent 1.
\begin{align*}
a &= b \\
c &= d
\end{align*}
2.
\begin{align*}
f(x) &= ax^2 + bx + c \\
g(x) &= 2ax + b
\end{align*}
\end{document}
-
- Posts: 402
- Joined: Fri May 20, 2011 9:41 am
Re: Proper aligning of equations
LOL i do want the equations on the same line as the number.