# How to remove figure label?

I'm using floatrow package to organise my figures, but then would like to add an image in the preliminary chapters which should NOT contain figure label e.g. Figure 1, but only the caption To my family. I also want to eliminate the underline of caption which floatrow does. Is there a way to get around this? The code is as below:

\begin{figure}[!h]
\ffigbox[\FBwidth]
{\color{blue}\includegraphics[width=6cm,height=6cm]{./Figures/flower.png}}
{\caption{To my family}}
\end{figure}

• text can be included directly in a figure; it's not necessary to use a caption. try \centerline{...} with perhaps some \vspace above it. Jun 28 '11 at 12:32
• @ barbara: Thanks! It works \centerline{\includegraphics[width=6.0cm, height=6.0cm]{./Figures/flower.png}} \hspace{8\baselineskip}To my extended family Jun 28 '11 at 12:56
• Since you have some responses below that seem to answer your question, please consider marking one of them as ‘Accepted’ by clicking on the tickmark below their vote count. This shows which answer helped you most, and it assigns reputation points to the author of the answer (and to you!). Jul 1 '11 at 21:27

You can use \caption* command instead of \caption provided by caption package.

\documentclass{article}
\usepackage{floatrow}
\usepackage{caption}

\begin{document}

\begin{figure}[h]
\ffigbox[\FBwidth]

• This breaks \label, as it seems to no longer know the figure number Feb 28 '18 at 21:50
Since you are using the caption package, you could also set the option \usepackage[labelformat=empty]{caption}
or to change the options at a specific point use \captionsetup{labelformat=empty}. Taken from Caption manual