I´m a newbie trying to make my tables look better.
I´m trying to use bottomrule in the middle of the table to separate rows (in fact this could be seen as 2 tables but I want to keep them together)
This code is ok and produces the table depicted in table1.jpg :
Code: Select all
\begin{tabularx}{50pt}{lX}
\toprule
A1 & AA1\\\midrule
B1 & BB1\\\midrule
C1 & CC1\\\bottomrule
A2 & AA2\\\midrule
B2 & BB2\\\midrule
& CC21\\
\multirow{-2}{*}{C2}& CC22\\\bottomrule
\end{tabularx}
Code: Select all
\begin{tabularx}{50pt}{>{\columncolor[gray]{.8}[\tabcolsep]}lX}
\toprule
A1 & AA1\\\midrule
B1 & BB1\\\midrule
C1 & CC1\\\bottomrule
A2 & AA2\\\midrule
B2 & BB2\\\midrule
& CC21\\
\multirow{-2}{*}{C2}& CC22\\\bottomrule
\end{tabularx}
Any ideas?
thanks
Lorena