[Tex/LaTex] Ignore figure for list of figures

floatstable of contents

I'd like to include some figures in my LaTeX document just like every other figure but don't have exactly these figures included in the list of figures.
Since I couldn't find a solution I have to ask you, is there a way?

Best Answer

As described in figures in sidewaysfigure environment are not listed in List of Figures you can add an empty optional argument to \caption and load either of the packages subfig, caption or subcaption to make the figure not appear in the list of figures.

\documentclass{article}

\usepackage{caption}

\begin{document}

\begin{figure}
  \caption[]{My caption 1}% Does not appear in LoF
\end{figure}

\begin{figure}
  \caption{My caption 2}% Appears in LoF
\end{figure}

\listoffigures

\end{document}

Output of example