Graphics, Figures & TablesCaptioning a figure as a table

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
delja
Posts: 2
Joined: Sun Jan 06, 2013 5:51 pm

Captioning a figure as a table

Post by delja »

Hi all,

I have a quite large table as a *.png file. Is there a way to use include this table as a picture in my document, but having the the caption "Table X" instead of "Figure X"? Because the table is quite large I don't want to remake it in latex.

Thanks in advance!

Recommended reading 2024:

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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

Captioning a figure as a table

Post by cgnieder »

Hi delja,

just place it in a {table} environment:

Code: Select all

\documentclass{article}
\usepackage{graphicx}
\begin{document}
\begin{table}[ht]
 \caption{A table caption}
 \includegraphics{mypicturefile.png}
\end{table}
\end{document}
Regards
site moderator & package author
delja
Posts: 2
Joined: Sun Jan 06, 2013 5:51 pm

Re: Captioning a figure as a table

Post by delja »

ohh of course!!

thank you!
Post Reply