# Figure style with memoir class

I'm trying to modify the defaut figure style with the memoir class.

More precisely, I would like to have the Figure X.Y part in bold.

To get X.Y in bold isn't a problem, as the \captionnamefont{\bfseries} does the job.

Note that adding the caption package conflicts with memoir, for those not knowing...

-
\captionnamefont{\bfseries} works for me. Could you please add an MWE that illustrates your troubles? –  cgnieder Aug 25 '12 at 21:14

Just \captionnamefont{\bfseries} must work. May you are using the subfig package?. In any case, try with this MWE:

\documentclass{memoir}

% "This may cause unexpected or inconsistent results
% if you use any of memoir's captioning
% facilities" (but work in other case?)
%\usepackage{caption}
%\captionsetup[figure]{labelfont=bf,textfont={bf,it}}

% Still not working captioning facilities?.
% Conflits with another packages?
%\captionnamefont{\bfseries}

%Starting from scratch

\makeatletter
\renewcommand{\fnum@figure}{\textbf
{\figurename~\thefigure}}
\renewcommand{\fnum@table}{\textbf
{\tablename~\thetable}}
\makeatother

\begin{document}
\begin{figure}[!h]
\centering\framebox{Image}
\caption{The caption}
\end{figure}
\end{document}

-