1

Why is it so? My MWE:

\documentclass{article}

\usepackage{tabularx}
\usepackage[table]{xcolor}

\begin{document}

\begin{table}[H]
    \caption{Title.}\label{title}
    \begin{tabularx}{\linewidth}{|p{5.5cm}|X|}
    \hline
    \color{red}{\textbf{Column 1}} & \color{red}{\textbf{Column 2}} \\
    \hline
    A & a \\
    \hline  
    B & b \\
    \hline  
    C & c \\    
    \hline  
    \end{tabularx}
\end{table}

\end{document}

The result is as follows

enter image description here

If color is black, then the height is as I expect: enter image description here

3

Browse other questions tagged or ask your own question.