Sign up ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Possible Duplicate:
Left align (to the page) displayed math

As you know the following equation will be in the center:

\sum_{\substack{a\leq1/2\\0<b\leq T}}\frac{2+a}{2|b|}

And the following is on the left but in small size and decrease the space:

\sum_{\substack{a\leq1/2\\0<b\leq T}}\frac{2+a}{2|b|}

But the below formula is similar to the first one, but on the left:

\displaystyle{\sum_{\substack{a\leq1/2\\0<b\leq T}}\frac{2+a}{2|b|}}

Does anyone know another way such that it works similar to the last one (put the formula on the left) but with:

share|improve this question

migrated from Jul 31 '12 at 19:50

This question came from our site for professional and enthusiast programmers.

marked as duplicate by Werner, egreg, lockstep, Thorsten, Peter Grill Aug 1 '12 at 6:45

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Possible duplicate of Left align (to the page) displayed math. – Werner Jul 31 '12 at 19:53
Also see Why is \[ … \] preferable to $$? – Werner Jul 31 '12 at 19:54

2 Answers 2

You can use the flalign* environment from amsmath to put equations flush with the left hand side:

enter image description here

  \sum_{\substack{a\leq1/2\\0<b\leq T}}\frac{2+a}{2|b|} &&

The extra alignment characters && is required. The showframe is merely to highlight the text block boundary and not needed in your final document.

share|improve this answer

By passing the fleqn option to your document class, you can achieve that display style math is moved to the left instead of being centered.


    \[ \sum_{a\leq1/2}\frac{2+a}{2|b|} \]
share|improve this answer
In combination with fleqn, you can use \mathindent to specify the indentation e.g. \setlength{\mathindent}{1cm}. – Baldrick Jul 31 '12 at 23:31

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