Experimenting with the solution presented in https://tex.stackexchange.com/a/613957/144487 I find that the cells of the table are not completely filled with color:
\documentclass[12pt,
a4paper,
ngerman,
numbers=noenddot, % not 1.1. but 1.1
oneside,
bibliography=totocnumbered,
listof=totoc,
parskip=half,
]{scrreprt}
\usepackage{roboto}
\renewcommand{\familydefault}{\sfdefault}
\usepackage{tabularx}
% !!!!!!!!!!!!!!!!!!!!!
\usepackage{nicematrix}
\usepackage{booktabs} % for \midrule
\usepackage{colortbl} % in conjunction with color this creates colored tables
% Activate merged cell for tables
\usepackage{multirow}
% Fit tables etc. into page width
\usepackage{adjustbox}
% Table layout utilities
\usepackage{makecell}
\begin{document}
\begin{table}[p]
\centering
\caption{Some Caption}
\label{tab:Some Caption}
\begin{adjustbox}{max width=\textwidth}
\begin{NiceTabular}{|l|l|c|c|c|}
\toprule
\textbf{Category} & \textbf{Core-Statement} & \textbf{Relevance} & \textbf{Häufigkeit} & \textbf{Occurrence} \\
\midrule
\multicolumn{1}{|l|}{\multirow{3}[6]{*}{Entrepreneurial Learning}}
& Text & 41 & 37 & 11 \\
\cmidrule{2-5}
& More Text & 34 & 31 & 9 \\
\cmidrule{2-5}
& Lean Startup & 21 & 15 & 8 \\
\midrule
\multicolumn{1}{|l|}{\multirow{4}[8]{*}{Lorem Ipsum}} & Gamma & 14 & 13 & 9 \\
\cmidrule{2-5} & Size & \cellcolor[rgb]{ .906, .902, .902}11 & 18 & 11 \\
\cmidrule{2-5} & Costs & \cellcolor[rgb]{ .906, .902, .902}9 & \cellcolor[rgb]{ .906, .902, .902}11 & \cellcolor[rgb]{ .906, .902, .902}6 \\
\cmidrule{2-5} & New Stuff & \cellcolor[rgb]{ .906, .902, .902}8 & \cellcolor[rgb]{ .906, .902, .902}9 & \cellcolor[rgb]{ .906, .902, .902}5 \\
\bottomrule
\end{NiceTabular}%
\end{adjustbox}
\label{tab:addlabel}%
\end{table}
\end{document}
yields
Any idea how to fix this?
Best Answer
If you can accept using
tabularray
, then everything will become very simple.