I can not simply align the text by using p{xx\linewidth} and \color in the same tabular.
The result is very awful... a conflicting package problem ?
anyone who has an idea is welcome ;)
sample:
source:
\documentclass[a4paper,12pt]{book}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{color}
\begin{document}
\begin{table}
\begin{tabular}{p{0.2\linewidth}p{0.2\linewidth}p{0.2\linewidth}}
A & \color{red}{B} & C \\
\end{tabular}
\end{table}
\end{document}


\textcolor{red}{B}or\leavevmode\color{red}{B}. The problem is in invoking\colorwhile in vertical mode. – Steven B. Segletes May 23 '17 at 14:34