[Tugindia] formatting table

Sridhar M.A. sridharma at gmail.com
Tue Oct 25 04:11:06 CEST 2005


On 10/25/05, Alexander Nervedi <alexnerdy at hotmail.com> wrote:
>
> Is it possible to just align the numbers and not the asterisk. so that in
> fact the output looks exactly like the way i have types it, the numeric part
> being centered and the astersiks being appended to it, instead of shifting
> the entire cell entry further to the right.
>
I got the result thus :

\begin{tabular}{r|c}
\hline
         Variable     &  T-value \\
\hline
         Age         &    1.98\rlap{**} \\
         Height      &    2.53\rlap{***} \\
        Weight      &    0.05 \\
\hline
\end{tabular}

IIRC, it is in the TeXBook.

Regards,

--
Sridhar M.A.



More information about the tugindia mailing list