i am using a formatted table like this:
\documentclass[a4paper,10pt]{report}
\usepackage[table]{xcolor}
\begin{document}
\begin{tabular}{|c|r@{,}l|c|c|c|c|}
\hline
$B_N$ & \multicolumn{2}{c|}{$C_N$} & $i$ & $j$ & $k$ & $l$ \\
\hline \rowcolor{gray!35}
$B_1$ & 5 & 128 & 0 & 1 & 0 & 0 \\
\hline \rowcolor{gray!35}
$B_2$ & 0 & 281 & 0 & 1 & 0 & 1 \\
\hline
$B_{11}$ & 0 & $008 \cdot e$ & 2 & -1 & -1 & 0 \\
\end{tabular}
\end{document}
And as you can see here:
the 5, and the 0, are cut in half. I found a similar problem (\rowcolor truncating cells in table) but i can not fix my bug with use of this answer. How do i fix this issue ?
Thanks






siunitxpackage and use column typeS, erase surplus ampersand in table and wrote numbers as usual we write decimal numbers.. :-) – Zarko Jan 25 '16 at 12:05@which can't be replaced by a numeric column and\rowcoloressentially always messes up in that case. (Easier to see it is wrong than see what to do instead) – David Carlisle Jan 25 '16 at 12:09@messed things up, I had some advance notice for preparing the answer:-) – David Carlisle Jan 25 '16 at 12:35$. that's better anyway to always use math mode for numbers. – David Carlisle Jan 25 '16 at 12:38