I'm using a document class "statsoc" (available from https://rss.onlinelibrary.wiley.com/hub ... guidelines) and having trouble compiling with a simple table example. I couldn't figure out if this is a conflict between packages I'm using or something else.. Any idea?
Thanks so much,
Asaf
Code: Select all
\documentclass{statsoc}
\usepackage{geometry}
\geometry{
textwidth=33pc,
textheight=\dimexpr48\baselineskip+\topskip\relax,
marginparsep=11pt,
marginparwidth=107pt,
footnotesep=6.65pt,
headheight=9pt,
headsep=9pt,
footskip=30pt,
}
\usepackage{amsmath,amssymb,amsfonts,graphicx,nicefrac,mathtools,bm}
\usepackage{natbib}
\usepackage[english]{babel}
\usepackage{times}
\usepackage[T1]{fontenc}
\usepackage{bbm,mdframed}
\usepackage[dvipsnames]{xcolor}
\usepackage{xspace}
\usepackage{rotating}
\usepackage{graphics,tikz}
\usepackage{grffile}
% \usepackage{subcaption}
\usepackage{epstopdf} % for postscript graphics files
\usepackage{listings}
\usepackage[boxruled,linesnumbered]{algorithm2e}
%\usepackage{multirow}
\usepackage{float}
\newtheorem{theorem}{Theorem}
\newtheorem{definition}{Definition}
\newtheorem{lemma}{Lemma}
\newtheorem{corollary}{Corollary}
\newtheorem{remark}{Remark}
\renewcommand*{\listalgorithmcfname}{List of Protocols}
\renewcommand*{\algorithmcfname}{Protocol}
\renewcommand*{\algorithmautorefname}{protocol}
\title[Online FCR Control]{Online Control of the False Coverage Rate and\\ False Sign Rate}
\author[author short]{author long}
\begin{document}
\begin{table}[h!]
\centering
\begin{tabular}{||c c c c||}
\hline
Col1 & Col2 & Col2 & Col3 \\ [0.5ex]
\hline\hline
1 & 6 & 87837 & 787 \\
2 & 7 & 78 & 5415 \\
3 & 545 & 778 & 7507 \\
4 & 545 & 18744 & 7560 \\
5 & 88 & 788 & 6344 \\ [1ex]
\hline
\end{tabular}
\caption{Table to test captions and labels}
\label{table:1}
\end{table}
\end{document}