# [Tex/LaTex] No caption number for figures and tables

captionsfloats

I want to make some of my figures just without a number.

Instead of Fig. 1: Caption. I want simply Caption.

I tried to do \caption*, but it doesn't work for me even after using the caption package upgrade.

Maybe there are another ways to do this?

You could use \captionsetup from the package caption that way:

\documentclass{article}

\usepackage{caption}

\usepackage{graphicx}

\begin{document}

\begin{figure}[h!]
\centering
\includegraphics[height=2cm]{figure}
\caption{Une figure.}
\end{figure}

\begin{figure}[h!]
\centering
\includegraphics[height=2cm]{figure1}
\captionsetup{labelformat=empty}
\caption{Une figure.}
% \addtocounter{figure}{-1} add this if you want the next figure to be numbered 2
% otherwise it'll be numbered 3
\end{figure}

\end{document}

This gives: