TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I realise that this has been asked many times before, but no answers I've found seem to provide a solution to my question.

I'd like to left align all text in an align block, in:



b := (a \oplus s_1) \oplus s_2 \\
e := 0 \\


This presents me with:

enter image description here

If I change the first line to \documentclass[fleqn]{article} , then instead I get:

enter image description here

What I'm really looking for is the ability to align the first character on every line in the align block, to the far left i.e. so that b and a are vertically aligned. I would much rather not have to use a character such as & to guide the alignment, I'd prefer to always be the first character of each word after a \\.

share|improve this question
i don't think you want the \\ after the last line; that gives you an empty (but numbered) extra line in the output. – barbara beeton Apr 1 '14 at 14:50
up vote 10 down vote accepted

Don't use align. Use gather instead.

b := (a \oplus s_1) \oplus s_2 \\ 
e := 0
share|improve this answer
Perfect, thanks! – Rob Stewart Apr 1 '14 at 14:49

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.