Code: Select all
\documentclass{book}
\usepackage{multirow}
\begin{document}
\begin{table}[!h]
\centering
\begin{tabular}{r|cccccccccc}
{\bf Brand} & \multicolumn{ 10}{c}{{\bf Number of Things}} \\
\hline
\multirow{2}{1.6pc}{\bf A} & 28 & 19 & 23 & 19 & 17 & 23 & 24 & 25 & 23 & 27 \\
& 18 & 16 & 24 & 23 & 20 & 24 & 24 & 20 & 24 & 23 \\
\hline
\multirow{2}{1.6pc}{\bf B} & 27 & 28 & 18 & 20 & 30 & 24 & 21 & 23 & 27 & 24 \\
& 30 & 23 & 22 & 25 & 17 & 18 & 22 & 25 & 29 & 30 \\
\end{tabular}\caption{Caption}
\end{table}
\end{document}
When I compile it--using Textures--I am getting errors:
Code: Select all
! Undefined control sequence.
\@xmultirow ...a #2\bigstrutjot
\setbox 0\hbox {\vtop to \@te...
l.10 \multirow{2}{1.6pc}{\bf A}
& 28 & 19 & 23 & 19 & 17 & 23...
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
! Illegal unit of measure (pt inserted).
<to be read again>
\setbox
l.10 \multirow{2}{1.6pc}{\bf A}
& 28 & 19 & 23 & 19 & 17 & 23...
Dimensions can be in units of em, ex, in, pt, pc,
cm, mm, dd, cc, bp, or sp; but yours is a new one!
I'll assume that you meant to say pt, for printer's points.
To recover gracefully from this error, it's best to
delete the erroneous units; e.g., type `2' to delete
two letters. (See Chapter 27 of The TeXbook.)
! Undefined control sequence.
\@xmultirow ...a #2\bigstrutjot
\setbox 0\hbox {\vtop to \@te...
l.13 \multirow{2}{1.6pc}{\bf B}
& 27 & 28 & 18 & 20 & 30 & 24...
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.