Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I am converting my thesis from Word to LaTeX, and I saved several huge tables as images.

For my thesis I have to compile a list of tables and figures. I am using \listoftables and \listoffigures.

However, now that some of my tables are given by images, it would add those table to the List of Figures. What would be a good way to list those images to the List of Tables as well (instead of List of Figures).

I could imagine there should be a way to make an invisible table with one cell which contains the table image. Maybe somebody has LaTeX code.

Any ideas are appreciated!

share|improve this question
    
See also Using an image as a table. –  Martin Scharrer Jun 3 '13 at 21:42

1 Answer 1

You can simply go

\begin{table}
    \includegraphics{....

there is no requirement to use tabular in table or to use \includegraphics in figure

The commenters requested code to put the caption in both the lof and the lot, so in cse that is what you meant:

enter image description here

\documentclass{article}

\begin{document}

\listoftables

\listoffigures

\section{jkhgfv}

\begin{table}[h]
 table
\caption[my (lot) table]{my table}
  \addcontentsline{lof}{table}%
    {\protect\numberline\thetable\ignorespaces my (lof) table}

\end{table}

\end{document}
share|improve this answer
1  
+1 could you mention how to add it to the listoffigures? –  cmhughes Apr 3 '12 at 18:00
2  
well you could, but I thought the question was to not make it appear there and appear in list of tables (and actually, perhaps more important) keep in sequence with tables. –  David Carlisle Apr 3 '12 at 18:55
    
To dodge all uncertainties, you could just add a complete example at the end, with a LoT as well as a LoF (but keep the "abstract" solution at the top for itself). –  doncherry Apr 3 '12 at 20:10
    
@doncherry, code to duplicate caption in lof and lot, as requested –  David Carlisle Apr 3 '12 at 20:41
    
@DavidCarlisle: Sorry, I was being unclear -- I actually meant a MWE showing what the OP requested, plus a LoF, naturally not listing the table, just to show that it isn't influenced by the picture-table. –  doncherry Apr 3 '12 at 20:56

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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