I'm trying include more than one \cmidrule in a table.
Code: Select all
\begin{table}[h!]
\begin{center}
\caption{Results of ANOVA for raw difference in attrition scores of adjacent teeth.}
\begin{tabular}{lcccccccc}
\toprule
& \multicolumn{3}{c}{Baseline} & \multicolumn{3}{c}{Non-baseline}\\
%\cmidrule(r){2-4} \morecmidrules \cmidrule(l){5-7}
Teeth & n & Mean & sd & n & Mean & sd & $F$ & Pr($>F$)\\
\midrule
NM1-NM2 & 49 & 6.92 & 2.64 & 76 & 7.36 & 3.86 & 1 & 1\\
NM2-NM3 & 34 & 5.03 & 1.88 & 70 & 5.41 & 4.03 & 1 & 1\\
XM1-XM2 & 50 & 7.82 & 2.56 & 75 & 7.71 & 5.22 & 1 & 1\\
XM2-XM3 & 36 & 4.83 & 2.84 & 71 & 5.72 & 3.36 & 1 & 1\\
\bottomrule
\end{tabular}
\end{center}
\end{table}
A line should be beneath "Baseline," and a separate line beneath "Non-baseline." I've hit a wall here. I've tried \morecmidrules, but can't get that to work. Any suggestions. Thanks so much.
--Trey