I want to remove the border of the top left table cell (top-border and left border of this cell). My table looks like this:
\begin{table}[!ht]
\centering
\begin{tabular}{|c|c|c|c|} \hline
& Item1 & Item2 & Item3 \\ \hline
Group1 & 0.8 & 0.1 & 0.1 \\ \hline
Group2 & 0.1 & 0.8 & 0.1 \\ \hline
Group3 & 0.1 & 0.1 & 0.8 \\ \hline
Group4 & 0.34& 0.33& 0.33 \\ \hline
\end{tabular}
\end{table}
Does somebody have a hint how i can do this?
Best Answer
You need to use a column-specific line
\cline
as well as a\multicolumn{1}{c|}
entry to remove the rules from the top left cell:I've also added a
booktabs
variant, which is still clear in terms of the presentation, and looks cleaner.