<br><br><div class="gmail_quote">2011/8/7 Peeyush Mehta <span dir="ltr"><<a href="mailto:pmehta@iitk.ac.in">pmehta@iitk.ac.in</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">





<div>
<div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt">I have a table column that has numbers with decimals and some numbers end with an asterisk as the superscript. I am not able to align the column entries. If the superscript is not
 there, I am able to solve the problem using "dcolumn" package. But to have a superscript, I have to use $ command in the maths mode. Then "dcolumn" is not working. Any suggestions would be of great help as I have spent lot of effort on it.<br>

For instance, my column entries are<br>
-.28***<br>
1.40<br>
-2.08*<br>
and so on.<br>
<br>
Thanks a lot, <br><font color="#888888">
<br>
Peeyush <br>
<br>
<div><br>
<div><font size="2">
<div><br>
</div>
</font></div>
</div>
</font></div></div></blockquote><div><br>You can avoid the mathmode by using \textsuperscript{}:<br><br><br>\documentclass{article}<br>\usepackage[]{dcolumn}<br>\newcolumntype{d}[1]{D{.}{,}{#1}}<br><br>\begin{document}<br>
\begin{tabular}{|c|d{4}|c|} \hline<br>da & 1.4242\textsuperscript{*} & sdfs \\ \hline<br>da & 1.33& sdfs \\ \hline<br>\end{tabular}<br><br>\end{document}<br><br>Best,<br><br>Uwe<br> </div></div>-- <br>Uwe Ziegenhagen<br>
<<a href="http://www.uweziegenhagen.de" target="_blank">http://www.uweziegenhagen.de</a>><br>