Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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...

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

1 Answer 1

up vote 0 down vote accepted

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}
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.