[Tex/LaTex] Aligning multiple places in equations using align

alignequations

My question is simple. I've played around with the & symbol to align my equations neatly under each other, but I just can't get it to look nice. This is the closest I've got:

\documentclass[11pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\begin{document}
\begin{align}
A_{0} & = -\frac{3\sigma_{1}' h H L^{2}}{E (H+h)^{3}} &=& -1.62\times 10^{-6}\,\mathrm{m} \\
B_{0} & = - \frac{3 h H (\alpha_{2}-\alpha_{1}) L^{2}}{(H+h)^{3}} &=&  2.95\times 10^{-8}\,\mathrm{m\,K^{-1}} \\
C_{0} & = \frac{4 L^{3}}{E W (H+h)^{3}} &=& 1.08\,\mathrm{m\,N^{-1}}
\end{align}
\end{document}

which produces the following output:

How can I remove the horizontal space in the middle yet still align the equal signs under each other? It should be the middle equation that dictates the spaces, i.e. the other two equations need to align to that one.

As a final question I could ask: How would you do it to make it 'look nice'?

And yes, I have looked at the other similar questions without luck.

Best Answer

Two solutions with alignat; one of them has two alignment points, the other, three, so that the numeric values are aligned on the integer part of the mantissa:

 \documentclass[11pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}

\begin{document}

\begin{alignat}{3}
A_{0} & = -\frac{3σ_{1}' h H L²}{E (H+h)³} &&= - & & 1.62 × 10⁻⁶\,\mathrm{m} \\
B_{0} & = - \frac{3 h H (α_{2}-α_{1}) L²}{(H+h)³} &&= & & 2.95 × 10⁻⁸\,\mathrm{m\,K⁻¹} \\
C_{0} & = \frac{4 L³}{E W (H+h)³} &&= & & 1.08\,\mathrm{m\,N⁻¹}
\end{alignat}

\begin{alignat}{2}
A_{0} & = -\frac{3σ_{1}' h H L²}{E (H+h)³} &&= - 1.62 × 10⁻⁶\,\mathrm{m} \\
B_{0} & = - \frac{3 h H (α_{2}-α_{1}) L²}{(H+h)³} &&= 2.95 × 10⁻⁸\,\mathrm{m\,K⁻¹} \\
C_{0} & = \frac{4 L³}{E W (H+h)³} &&= 1.08\,\mathrm{m\,N⁻¹}
\end{alignat}

\end{document} 

enter image description here

Related Question