Take the 2-minute tour ×
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.

So I want to align my 'equals' sign and inequality signs. So I have done,

   \begin{align}
   \Rightarrow d(\mathbf x',\mathbf 0) & \geq d(\mathbf x,\mathbf 0) - d(\mathbf x',\mathbf x) \\
   &=  \varepsilon + \delta - d(\mathbf x',\mathbf x)
   \end{align}

This works fine, it aligns the signs however it also centres the whole equation. I don't want it to be centred, I just want it to start from the left and move to the right as normal text should.

Any ideas?

share|improve this question
    
Welcome to TeX.SX! Please make your code compilable (if possible), or at least complete it with \documentclass{...}, the required \usepackage's, \begin{document}, and \end{document}. That may seem tedious to you, but think of the extra work it represents for TeX.SX users willing to give you a hand. Help them help you: remove that one hurdle between you and a solution to your problem. –  hugovdberg Mar 31 at 10:59
    
related: How to left align a set of equations.. –  barbara beeton Mar 31 at 13:34

3 Answers 3

Using \usepackage[fleqn]{amsmath} will left align all equations. You can use flalign environment instead.

\documentclass{article}

\usepackage{amsmath}
\usepackage{showframe}   %% just for demo

\begin{document}

\begin{flalign}
  \Rightarrow d(\mathbf x',\mathbf 0)
  &\geq d(\mathbf x,\mathbf 0) - d(\mathbf x',\mathbf x)   && \\     %% note two && at the end
  &= \varepsilon + \delta - d(\mathbf x',\mathbf x)
\end{flalign}

\end{document}

enter image description here

share|improve this answer

Here is a possible solution:

\documentclass{article}

\usepackage[fleqn]{amsmath}

\begin{document}

\begin{align}
  \Rightarrow
  d(\mathbf{x}',\mathbf{0})
  &\geq d(\mathbf{x},\mathbf{0}) - d(\mathbf{x}',\mathbf{x}) \\
  &=    \varepsilon + \delta - d(\mathbf{x}',\mathbf{x})
\end{align}

\end{document}

output

The best answer is definitely Harish Kumar's.

share|improve this answer

Use the optional argument:

\usepackage[fleqn]{amsmath}
share|improve this answer

Your Answer

 
discard

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.