# moving captions to bottom of figure/table

I have a document where all the descriptions currently appear above the figure/table. That is simply how I wrote everything. However, for publishing purposes the descriptions of figures and tables need to be below the figure/table. Is there a way to automatically get them to appear that way or do I have to do this by hand? Here is a sample of how one of my figures looks:

\begin{figure}
\protect\caption{Title of Figure\label{fig:F1}}

This is a description of figure 1. It talks about what is in the figure and where the data comes from. It's a really good description.

\vspace{1cm}

\centering{}\includegraphics[width=1\textwidth]{figures/fig_1}
\end{figure}

• What is your document class? – Bernard Aug 14 '16 at 19:25
• If you do \usepackage{float} \restylefloat{figure} all figure captions should appear below the figure. \restylefloat{table} will do the same for tables. – Axel Sommerfeldt Aug 14 '16 at 19:30
• without checking how the report class positions captions, my advice is to input the data in the location where you want to see it in the output. with luck, it will be placed there; if the document class repositions it, then ask the question here of how to more it. – barbara beeton Aug 14 '16 at 19:35
• Sure, but the normal behaviour of latex is to let the caption at the point where it's called. So write it after your tables or figures. – Bernard Aug 14 '16 at 19:36
• \protect\caption? – user31729 Aug 14 '16 at 21:07

There really seem to be only two options:

1. Use the package floatrow as follows:

\documentclass{article}
\usepackage{graphicx}
\usepackage{floatrow}

\begin{document}

\begin{figure}
\protect\caption[position=bottom]{Title of Figure\label{fig:F1}}

This is a description of figure 1. It talks about what is in the
figure and where the data comes from. It's a really good description.

\vspace{1cm}

\centering{}\includegraphics[width=1\textwidth]{example-image}
\end{figure}

\end{document}


Which produces

Which means, unfortunately, you'd have to move whatever further image descriptions you have into the caption (in this case, ending up with the line of code

\protect\caption[position=bottom]{Title of Figure\label{fig:F1}
This is a description of figure 1. It talks about what is in the figure
and where the data comes from. It's a really good description.}


Giving

Which, depending on how many graphics you have that have extra description not in the caption, could be a real pain.

1. You could bite the bullet and go through all graphics and move the location of the text:

\documentclass{article}
\usepackage{graphicx}

\begin{document}

\begin{figure}

\vspace{1cm}

\centering{}\includegraphics[width=1\textwidth]{example-image}

\protect\caption[position=bottom]{Title of Figure\label{fig:F1}}
This is a description of figure 1. It talks about what is in the
figure and where the data comes from. It's a really good description.
\end{figure}

\end{document}


Which gives

This would be even more of a pain than the first option, unfortunately.

So, it seems that you have to bite the bullet one way or the other. However I will keep looking for another solution, though at this point I am semi-doubtful there is one that will help you.

• I wondering: (i) why is used \centering{} instead simple \centering, and (ii) why is need \protect before caption? – Zarko Aug 14 '16 at 21:24
• @Zarko, I assume the brackets on \centering{} are used to isolate the effect to just the figure. As for \protect, see this question. – heather Aug 14 '16 at 21:25
• The question doesn't justify, why is this necessary. To my opinion this only require surplus typing :-) – Zarko Aug 14 '16 at 21:28
• @Zarko, really, the only thing the question asks is how to fix the caption, so I didn't really bother with the rest. =) – heather Aug 14 '16 at 21:31
• @heather: cool, thanks! this is basically what i'm doing. i think i will just put in the effort and move everything. thanks! – Alex Aug 14 '16 at 21:47