I have a pretty complex table where I had to add some borders and some padding. Now I want to colour these "special" cells with a background. But the colour is not expanding to the padding. Are there any way to extend it? this is my MWE code:
\documentclass{report}
\usepackage[table]{xcolor}
\begin{document}
\begin{tabular}{cccc}
a & b & & d \\
& & & \\ \cline{1-2}
\multicolumn{1}{|@{\hspace{3em}}c@{\hspace{1em}}}{\cellcolor{red!50} E }
&
\multicolumn{1}{@{}c@{\hspace{3em}}|}{\cellcolor{red!50} F }
& & h
\\[15pt] \cline{1-2}
\end{tabular}
\end{document}
and this his how it appears:
the yellow highlighted parts in the next image should get coloured too. Further I discovered, that the border on the top is missing. Why? How can I get her back?





\cellcolorhasoverhang(padding) arguments, seecolortbldocumentation please (colortblis loaded byxcolorwhentableoption is used) – Jul 12 '17 at 21:51\clinesee thecolortbldocumentation, it is explicitly not supported. (You could use\hhlinefrom the hhline package instead) – David Carlisle Jul 12 '17 at 22:02