In a tabularx, I try to set the text color for a complete column as follows:
\documentclass{article}
\usepackage[papersize={60mm,60mm},margin=5mm]{geometry}
\usepackage{array,xcolor,colortbl,tabularx,ragged2e}
\pagestyle{empty}\parindent0pt
\begin{document}
\begin{tabularx}{50mm}[t]{|
>{\color{blue}\hsize=.7\hsize\RaggedLeft}X|
>{\hsize=.3\hsize}X
|}\hline
Hello & World\\
Hello & World\\\hline
\end{tabularx}
\end{document}
How can I prevent the the \color{blue}
to cause extra white space in the top of each cell?
\leavevmode\color{blue}
– cmhughes Oct 22 '15 at 12:50