GeneralList of tables

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
otnemem
Posts: 9
Joined: Mon May 05, 2008 11:29 pm

List of tables

Post by otnemem »

Hi all!

I decided to format some tables in excel then import them into latex as png files. Now i'm having this problem that obviously, the imported tables are showing up in the list of figures. The caption also refers to them as figure x.x etc...

Do you know of any way how:

1. I can have the imported tables in the list of tables.
2. Have table captions that refer to the 'figure' as a table.

thanks in advance!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

List of tables

Post by localghost »

Just use the table environment instead.

Code: Select all

\begin{table}[!ht]
  \centering
  \includegraphics[width=0.8\linewidth]{excl-table-1}
  \caption{Excel Table 1}\label{tab:excl-table-1}
\end{table}
The fact that you are using an external graphics file doesn't mean that you can't use the table environment.


Best regards
Thorsten¹
otnemem
Posts: 9
Joined: Mon May 05, 2008 11:29 pm

Re: List of tables

Post by otnemem »

ooops!

ok it worked for me...sorry for the dumb question!

Cheers
Post Reply