# Simple alignment question

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?

-
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 '14 at 10:59
– barbara beeton Mar 31 '14 at 13:34

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}


-

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}


The best answer is definitely Harish Kumar's.

-

Use the optional argument:

\usepackage[fleqn]{amsmath}

-