I'm trying to produce a document with rotated tables (using the rotating package) and double-spaced text (using the setspace package.) The example below behaves exactly as expected as long as the setspace package is commented out. However, as soon as it is added, I receive the error message:
Code: Select all
! Extra }, or forgotten \endgroup.
color\@endbox -> egroup
I.44 \end{sidewaystable}
Here's the example:
Code: Select all
\documentclass[11pt]{article}
%\usepackage{setspace} %without this package, code compiles fine
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{amsthm}
\usepackage{graphicx}
\usepackage{verbatim}
\usepackage{subfigure}
\usepackage{float}
\usepackage{rotating}
\usepackage{enumerate}
\begin{document}
\begin{sidewaystable}[h!]
\centering
\caption{An Example Table.}
\begin{tabular}{cc}
\hline
\hline
Column 1 & Column 2 \\
\hline
\hline
Position (1,1) & Position (1,2) \\
Position (2,1) & Position (2,2) \\
\hline
\end{tabular}
\label{tab:exampletable}
\end{sidewaystable}
\end{document}