Math & ScienceHow to align all math around "=" throught an entire document

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
niek
Posts: 6
Joined: Sat May 15, 2010 3:32 pm

How to align all math around "=" throught an entire document

Post by niek »

Dear all,

I am working on a report which includes quite a lot of (simple) equations. I would like to align all these equations around the = sign throughout the entire document, with the = sign on the same position every time. The problem is that there are regular text areas between the equations, and I don't know how to deal with that.

Ideally, this is what the document should look like:

Some text here...
#### X + Y = Z
####### Z = A + B
Some more text here...
####### A = B - C

(The #-signs represent blank spaces.)

I hope someone can help me out with this, or perhaps provide me with a nice alternative!


Thanks,

Niek

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Montag
Posts: 340
Joined: Wed Jul 15, 2009 9:25 am

How to align all math around "=" throught an entire document

Post by Montag »

You could take a look at the user guide for the amsmath-package. It's in there. :)

edit:
Sorry, I think I misunderstood. If you meant to align all equations from your document, I don't think the amsmath-package will do it.
OS: Win 7 64-bit LaTeX: MikTeX 2.9 64-bit Editor: TXC 1 RC1
Post Reply