1

I'm quite new to LaTex ACM sig-alternate template and I'm preparing a camera ready version for a proceeding. At first the latex engine gave me the error of no float type 'copyrightbox' defined then i followed the thread here and added \DeclareCaptionType{copyrightbox} like so:

\documentclass{sig-alternate}
\usepackage{hyperref}
\usepackage{flushend}
\usepackage{pdfpages}
\usepackage{amsmath}
\usepackage{enumitem}
\usepackage[font=bf]{caption}
\DeclareCaptionType{copyrightbox}
\begin{document}

Now my table caption is prefixed by 'copyrightbox 1:', 'copyrightbox 2:' and so on instead of the usual 'table 1', 'table 2', ... now its like this: enter image description here

All my figure captions are unaffected and still display as 'Figure 1', 'Figure 2' and so on.

Here is the mwe for placing my table:

\documentclass{sig-alternate}
\usepackage{hyperref}
\usepackage{flushend}
\usepackage{pdfpages}
\usepackage{amsmath}
\usepackage{enumitem}
\usepackage[font=bf]{caption}
\DeclareCaptionType{copyrightbox}
\begin{document}
\begin{center}
\begin{tabular}{| l | c | r | }
\hline
& Without BSDiff & With BSDiff \\ \hline \hline 
Storage Space & 9.8mb & 60kb \\ \hline
Fuzzing Time (if no crash) & 1018s & 1105s \\
Creation Time & 63s & 1864s \\ \hline
Network transmission & 8.38s & 0.46s \\ \hline  
\end{tabular} 
\label{fig:FEETPercentage} 
\caption{Percentage uniqueness of first 10 jobs distributed to clients}
\end{center}
\end{document}

I have never encountered this copyrightbox issue and i want to change my caption for table back to 'table n'.

EDIT: I solved the problem by putting a \begin and end table:

MWE:

\documentclass{sig-alternate}
\usepackage{hyperref}
\usepackage{flushend}
\usepackage{pdfpages}
\usepackage{amsmath}
\usepackage{enumitem}
\usepackage[font=bf]{caption}
\DeclareCaptionType{copyrightbox}
\begin{document}
\begin{center}
\begin{table}
\begin{tabular}{| l | c | r | }
\hline
& Without BSDiff & With BSDiff \\ \hline \hline 
Storage Space & 9.8mb & 60kb \\ \hline
Fuzzing Time (if no crash) & 1018s & 1105s \\
Creation Time & 63s & 1864s \\ \hline
Network transmission & 8.38s & 0.46s \\ \hline  
\end{tabular} 
\label{fig:FEETPercentage} 
\caption{Percentage uniqueness of first 10 jobs distributed to clients}

\end{table}
\end{center}
\end{document}
1
  • Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format. Commented Jan 8, 2015 at 10:13

1 Answer 1

2

I suspect you have something like

\begin{copyrightbox}
\begin{center}
\begin{tabular}{| l | c | r | }
\hline
& Without BSDiff & With BSDiff \\ \hline \hline
Storage Space & 9.8mb & 60kb \\ \hline
Fuzzing Time (if no crash) & 1018s & 1105s \\
Creation Time & 63s & 1864s \\ \hline
Network transmission & 8.38s & 0.46s \\ \hline
\end{tabular}
\label{fig:FEETPercentage}
\caption{Percentage uniqueness of first 10 jobs distributed to clients}
\end{center}
\end{copyrightbox}

in your document.

You have to change the copyrightbox environment to table to achieve what you want.

MWE

\documentclass{sig-alternate}
\usepackage{graphicx}
\usepackage{hyperref}
\usepackage{flushend}
\usepackage{pdfpages}
\usepackage{amsmath}
\usepackage{enumitem}

\begin{document}

\begin{table}
\centering
\begin{tabular}{| l | c | r | }
\hline
& Without BSDiff & With BSDiff \\ \hline \hline
Storage Space & 9.8mb & 60kb \\ \hline
Fuzzing Time (if no crash) & 1018s & 1105s \\
Creation Time & 63s & 1864s \\ \hline
Network transmission & 8.38s & 0.46s \\ \hline
\end{tabular}
\label{fig:FEETPercentage}
\caption{Percentage uniqueness of first 10 jobs distributed to clients}
\end{table}

\end{document} 

enter image description here

Note also the use of \centering instead of \begin{center}...\end{center}

3
  • thanks for your reply. I am trying to change from 'Copyrightbox 1' back to 'table 1'. Now it keeps showing up as copyrightbox
    – gigasai
    Commented Jan 8, 2015 at 10:47
  • 1
    @gigasai Please add a compilable minimal working example (MWE) starting with \documentclass{...} and ending with \end{document} and not code snippets. Commented Jan 8, 2015 at 10:51
  • I have changed to an MWE. Thanks for the guidance, however, I do not have a \begin{copyrightbox} in my code. I have only \begin{tabular} without \begin{table} after adding the enclosing table environment solves the issue.
    – gigasai
    Commented Jan 9, 2015 at 3:24

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .