2

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 #:

1
  • 2
    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. May 4, 2014 at 23:59

1 Answer 1

3

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}
2
  • 1
    You can write (from the caption package: captionof{figure}{your caption}. The package also has a DeclareCaptionLabelFormat command.
    – Bernard
    May 4, 2014 at 20:42
  • 1
    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) May 5, 2014 at 0:02

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .