figures as tables

233 views
Skip to first unread message

DNH

unread,
Jul 18, 2012, 5:19:01 PM7/18/12
to tufte...@googlegroups.com
Any thoughts on how to persuade tufte-latex (book) to treat a figure as a table for purposes of numbering and listing in the List of Tables? This may be a weird thing to want to do, but I have tables that contain special symbols and annotations that were best created (as a font-embedded PDF) outside of LaTeX and then included as an image within a figure. I know they are figures, but the reader will see them as tables, so they need to be counted that way.

Kevin Godby

unread,
Jul 18, 2012, 5:23:22 PM7/18/12
to tufte...@googlegroups.com
Hello.
You can just include the image in a table environment.

\begin{table}
\includegraphics[width=\linewidth]{mygraphic}
\caption{This is a table.}
\end{table}

The only difference between the table and figure environments is how
the captions are labeled and which listing they appear in. The
environments don't really care what their contents are.

--Kevin Godby

DNH

unread,
Jul 19, 2012, 5:35:09 PM7/19/12
to tufte...@googlegroups.com
That worked perfectly. I have been using LaTeX for years and never knew you could embed an image in a table. Somehow I had it in my head that tables were special. Thanks!

--Doug
Reply all
Reply to author
Forward
0 new messages