So I was creating a table where the contents of the column are aligned by their decimals and then I wanted to highlight a row. Unfortunately, when I "highlight" with the \rowcolor option, I end up losing a part of the entry.
Attached is a screen capture of what happened (the left "0" ends up looking like a left parenthesis).
Here's part of the code I'm using:
Code: Select all
\usepackage{colortbl}
.
.
.
\begin{tabular}[t]{| l | r@{.}l r@{.}l r@{.}l | r@{.}l r@{.}l r@{.}l |}
.
.
.
stubborn & \textbf{0}&\textbf{815*} & -0&046 & 0&011 & \textbf{0}&\textbf{880*} & 0&031 & -0&217 \\
breaks rules & 0&467* & 0&343* & 0&013 & \textbf{0}&\textbf{756*} & 0&064 & -0&166 \\
\rowcolor[gray]{.85}\color{black}harms others \& property & -0&007 & \textbf{0}&\textbf{628*} & 0&307* & 0&448* & 0&025 & 0&359 \\
.
.
.