# Redefine table caption

I'm writing a paper in IEEEtran twocolumn format. When putting pictures in my paper I prefer to use the Table environment over the Figure environment. I feel that the Table environment does a better Job of placing the images in the paper where I want them to go.

The issue is under all my images they say TABLE [roman numeral]. Is there a way to redefine in the header what the \caption command displays?

I would like to keep using the Table environment but I want it to read, Figure #:

• This is totally misguided, the implementation of table and figure is identical they are both calls to \@float and all floats are handled at the same time, in the same algorithm, the only difference is the caption formatting. – David Carlisle May 4 '14 at 23:59

This should work

\renewcommand{\tablename}{Figure.} % in preamble


EDIT: I realize that any tables that you have will also be labelled 'Figure'. Don't know how to work around that.

UPDATE: As Bernard suggested below, I learnt that you can use \captionof on a case-by-case basis, which is really handy if you have both figures and tables in your document.

\documentclass[12pt]{report}
\usepackage{caption}
%\renewcommand{\tablename}{Figure.}

\begin{document}
\captionof{figure}{example}
\vspace{-10pt} %This brings the caption closer to the table
\begin{table}[htp]
\centering
\begin{tabular}{llll} \hline
a & b & c & d \\
a & b & c & d \\
\end{tabular}
\end{table}

\captionof{table}{example}
\begin{table}[htp]
\centering
\begin{tabular}{llll} \hline
a & b & c & d \\
a & b & c & d \\
\end{tabular}
\end{table}
\end{document}

• You can write (from the caption package: captionof{figure}{your caption}. The package also has a DeclareCaptionLabelFormat command. – Bernard May 4 '14 at 20:42
• The correct solution is to use figire environment rather than make table use a figure caption (which will make the figures come out of order if you use a figure environment anywhere) – David Carlisle May 5 '14 at 0:02