59

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}
Martin Scharrer
  • 262,582
BrettHarry
  • 3,361
  • 6
  • 29
  • 23
  • 11
    text can be included directly in a figure; it's not necessary to use a caption. try \centerline{...} with perhaps some \vspace above it. – barbara beeton Jun 28 '11 at 12:32
  • 2
    @ barbara: Thanks! It works \centerline{\includegraphics[width=6.0cm, height=6.0cm]{./Figures/flower.png}}
    \hspace{8\baselineskip}To my extended family
    – BrettHarry Jun 28 '11 at 12:56
  • 2
    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!). – Joseph Wright Jul 01 '11 at 21:27

2 Answers2

83

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]
{Your picture is here.}
{\caption*{To my family}}
\end{figure}

\end{document}
Leo Liu
  • 77,365
39

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

Sebastiano
  • 54,118
seeker
  • 1,795