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: