# Tables as PDF images

Due to time constraints I'm considering cheating a little and importing some tables I've created in Excel into my latex document. I realise I can do this quite nicely as a 'figure' using something like the following,

\begin{figure} [t]
\centering
\includegraphics[width=\textwidth,scale=1]{abc}
\caption{Plot of Testing Time Frame vs Gross Profit/.Total Commission.}
\label{fig:abc}
\end{figure}

However, obviously this is now recognised as a figure... and appears in my list of figures rather than my list of tables.

Question, is there a way of doing this but for the PDF image imported to be recognised and labelled as a table?

-
\begin{table} instead of figure should do the trick. –  guillem Aug 31 '12 at 12:42
Just a comment: I'm a graphical editor of a journal, and I'm very angry when authors do this. At least get the correct font in your Excel. In the case of "default font" Computer Modern or Latin Modern, you can get the font files here –  tohecz Aug 31 '12 at 12:44
Another comment: the options [width=\textwidth,scale=1] are surely fighting and one of them does not take effect. –  tohecz Aug 31 '12 at 12:48
Maybe your better off using this tool: excel2latex. i think its also faster to use this than export images from excel and then try to import them to latex. –  jrast Aug 31 '12 at 12:51
Either use the booktabs package or uncheck the "Booktabs-style formatting" checkbox in the export dialog of excel2latex. –  jrast Aug 31 '12 at 13:41

\documentclass{article}
\usepackage{graphicx}

\begin{document}
\begin{table}[hbtp]
\centering
\includegraphics[width=0.5\linewidth]{exceltable}
\caption{This is an excel table.}
\label{tab:ExcelTable}
\end{table}
\end{document}

Note:

• The table example is taken from this site.
-
very classy! -- an oak table, indeed... –  wasteofspace Sep 1 '12 at 8:25