Math & ScienceLeft aligned displayed Math Expressions

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
jsbeardsley
Posts: 5
Joined: Wed Jul 20, 2011 7:47 pm

Left aligned displayed Math Expressions

Post by jsbeardsley »

Does anyone know of a display mode for math (like align or align*) that doesn't center everything? That is, I want to be able to use & to align parts of my equations, but I don't want it to be in the middle of the page! Any help would be greatly appreciated!

Thanks!
Jon
Last edited by jsbeardsley on Thu Jul 21, 2011 4:24 pm, edited 1 time in total.

Recommended reading 2024:

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

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

Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Left aligned displayed Math Expressions

Post by Stefan Kottwitz »

Hi Jon,

welcome to the board!

You could use the document class option fleqn for flush left equations, such as

Code: Select all

\documentclass[fleqn]{book}
If you wish to remove also an indentation, you could additionally use

Code: Select all

\setlength{\mathindent}{0pt}
Without fleqn, you could get flushed left aligned equations by using a flalign environment and additional & symbols, such as

Code: Select all

\documentclass{book}
\usepackage{amsmath}
\begin{document}
\begin{flalign*}
ax + by &= c &\\
     xy &= ab &
\end{flalign*}
\end{document}
Stefan
LaTeX.org admin
jsbeardsley
Posts: 5
Joined: Wed Jul 20, 2011 7:47 pm

Re: Left aligned displayed Math Expressions

Post by jsbeardsley »

Thanks very much for the response!
Post Reply