[Tex/LaTex] Formatting table and figure number and title separately

captionstables

I'm submitting to a journal that requests tables and figures to be formatted in the following way:

  1. The term FIGURE 1 or TABLE 1 (all caps, ideally) centered above the figure.
  2. The table/figure title below the figure, without the table/figure number.

I am able to get requirement (2) to work by using the caption package and \caption*{Table Title} inside the tabular but below the table. But then there's no FIGURE #/TABLE # above the figure/table. I can't find anything that would allow me to have the FIGURE #/TABLE # all-caps and centered.

How can I format my figures and tables to these rather silly specifications? My apologies if I'm missing something super obvious, I have been looking for a while.

For example, using standard code

\documentclass[12pt]{article}
\usepackage{graphicx}
\usepackage{caption}

\begin{document}

\begin{figure} 
\centering 
\caption{Figure Title} 
\includegraphics[width=.80\textwidth]{example.png} 
\end{figure}

\end{document}

Gets me

Figure 1. Figure Title

[Image]

and

\documentclass[12pt]{article}
\usepackage{graphicx}
\usepackage{caption}

\begin{document}

\begin{figure} 
\centering 
\includegraphics[width=.80\textwidth]{example.png} 
\caption*{Figure Title} 
\end{figure}
\end{document}

Gets me

[Image]

Figure Title

but I want:

FIGURE 1

[Image]

Figure Title

Best Answer

What's wrong with two captions in your figure environment? (Not a rhetorical question — if that's the wrong thing to do, I'd like to know.)

EDITED to uppercase the caption label.

\documentclass{article}
\usepackage{graphicx}
\usepackage{caption}

\DeclareCaptionLabelFormat{upper}{\MakeUppercase{#1}~#2}
\captionsetup{labelformat=upper}

\begin{document}
\begin{figure}
  \centering
  \caption{}
  \includegraphics[width=.80\textwidth]{example.png}
  \caption*{The first figure}
\end{figure}

\begin{figure}
  \centering
  \caption{}
  \includegraphics[width=.80\textwidth]{example.png}
  \caption*{The second figure}
\end{figure}
\end{document}

enter image description here

Related Question