2

I created a figure and for layout purposes I had to put it inside a table. Of course now it shows in the list of tables and not in the list of figures. Any idea how to make the table pass as a figure?

1

Include the caption package (always a good idea) and use \captionof{figure}{<figure caption>} inside the table float:

enter image description here

\documentclass{article}
\usepackage{caption,graphicx}
\begin{document}

\listoffigures
\listoftables

\begin{table}[t]
  \centering
  \rule{.5\linewidth}{100pt}
  \caption{A table}

  \bigskip

  \includegraphics[width=.4\linewidth]{example-image}
  \captionof{figure}{A figure}
\end{table}
\end{document}

capt-of provides similar functionality.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.