1

I have a table already set as a PDF, and I need to include it, so the question is: how do I include it as a figure, but call it a table? I'd also like to move it from the list of figures to the list of tables.

3
  • 4
    lists of tables and captions like table: just come from the table environment, you can put anything in there, a tabular, an \includegraphics the text of war and peace in a small font... Sep 14 '15 at 13:54
  • You could use \captionof{table}{your table caption} and omit the table/figure/environment completely. Use \usepackage{caption} then
    – user31729
    Sep 14 '15 at 13:56
  • 1
    It's a common misunderstanding that \includegraphics needs to be in a figure environment. It need not.
    – egreg
    Sep 14 '15 at 13:59
2

It's a common misunderstanding that \includegraphics needs to be in a figure environment. It need not, so you can certainly do

\begin{table}
    \centering
    \includegraphics{mytablefile.pdf}
    \caption{My table that I have as a PDF file}
    \label{tab:mytab}
\end{table}

As we see in Table~\ref{tab:mytab}, ...
2

Use

\begin{table}
\centering
\includegraphics{pdfwithimageoftable}
\caption{my table\label{zzz}}
\end{table}

Not the answer you're looking for? Browse other questions tagged or ask your own question.