I've come across a weird problem. I wanted to form a table with lots of decimal numbers properly aligned around the radix point. I also wanted each row to be colored. So I used the colortbl package and the r@{.}l syntax but the result is bad. You can try the following code
Code: Select all
\documentclass{report}
\usepackage{colortbl}
\begin{document}
\begin{figure}
\centering
\begin{tabular}{*{2}{r@{.}l}}
\rowcolor[gray]{0.9} 3&14159 &2&7818987\\
1&41 &273&16
\end{tabular}
\caption{WTF?}
\end{figure}
\end{document}
Cheers