# [texhax] Alignment with respect to symbol

Philip G. Ratcliffe philipratcliffe at tiscali.it
Fri Jun 27 14:46:11 CEST 2003

> I have here a table with numbers having the error bar (something like
> 48.0 $\pm$ 3.2)
> Is there any method to align with first decimal, symbol($\pm$) and
> second decimal.
> or at least some method to align with respect to symbol alone?

Try the following example:

\documentclass{article}
\begin{document}
\begin{displaymath}
\begin{array}{r@{\,\pm\,}r}
48.0 &  3.2 \\
153.5 &  0.1 \\
3.0 & 10.0 \\
\end{array}
\end{displaymath}
\end{document}

If you understand the structure, it's easy to see how to align on decimal
points.

Cheers,  Phil