[Tex/LaTex] How to get bold font Figure style with memoir class

captionsmemoir

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.

But what about "Figure" ?

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

Best Answer

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}
Related Question