I'm having an issue where LaTeX won't accept the main heading row of my table (the third row of code below). When I comment out that line, it works. Here's the beginning of my tabular-
\begin{tabular}{r| >{\raggedleft}p{0.8cm} ||r|r| >{\raggedleft}p{0.8cm} || r|r| >{\raggedleft}p{0.8cm} |}
& & \multicolumn{3}{c||}{Speaker A} & \multicolumn{3}{c}{Speaker B} \\ \hline
\small{Session-Part} & \small{Total length} & \small{Time} & \small{Time \%} & \small{DM rate} & \small{Time} & \small{Time \%} & \small{DM rate} \\
1-\textsc{chat} & 10:15 & 4:17 & 41.8\% & & 4:38 & 45.2\% & \\
I think that it is somehow not registering the linebreak, and I'm getting a bunch of overfull hbox errors with it (is it too long? it seems to fit otherwise...). If I try to put a \hline there it also gives me a misplaced noalign error. Otherwise if I try to run it as it is here, it gives me an 'extra alignment tab' error for the first '&' in the next row, so it thinks I haven't ended the row. I have counted the columns a zillion times and I cannot fathom what could be going wrong. Could it be a problem with the multicolumn format? Again, it works fine when I comment out the second row of headings, so :/
\small
is a switch it is not a macro that takes arguments.p
columns.\raggedright
redefines\\
so you either need\tabularnewline
instead of\\
or use\arraybackslash
to define it back again.