[texhax] Alignment with respect to symbol
zacharia
zacharia at fhi-berlin.mpg.de
Fri Jun 27 15:43:47 CEST 2003
Phil,
Thanx for the clue, still I could not nest it in a table enviroment!
I think, I wud put more effort......
Philip G. Ratcliffe wrote:
>>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
>
>
>
More information about the texhax
mailing list