[texhax] Decimal alignment along with superscript
Susan Dittmar
Susan.Dittmar at gmx.de
Wed Aug 10 12:04:36 CEST 2011
Quoting Peeyush Mehta (pmehta at iitk.ac.in):
> As mentioned earlier, I am able to do the correct alignment. However, I
> am stuck with another issue related to this. The column heading where I
> want to align the decimal entries is \beta_{a1},. i.e., it uses 'symbol'
> and 'subscript' commands. Hence the column heading is getting aligned
> with the integral part of the number (example it is getting aligned with
> 48 in 48.26**). This is looking odd. I used multicolumn{1}{c}{\beta_a1}
> but \beta and subscript function does not work with multicolumn. Any
> pointers on this. Thanks in advance.
The reason is, that within multicolumn, you do not find yourself in a math
environment. So you would have to use
\multicolumn{1}{c}{\ensuremath{\beta_a1}}
Hope that helps,
Susan
More information about the texhax
mailing list