I'm working on a beamer poster and would like my figure labels to be both bold font and colored. I'm using the command \captionsetup[figure]{labelformat=simple, labelsep=period, labelfont=bf}
to configure the caption, which gives me the bold font, but sets the color back to black. Anyone know how to get both?
Edit
I was able to get the desired effect by placing the following lines in the header:
\usepackage{caption}
\DeclareCaptionLabelFormat{mycaption}{\usebeamercolor[fg]{caption name}#1 #2. }
\captionsetup[figure]{labelformat=mycaption, labelsep=none, labelfont=bf}
Best Answer
No need to use the
caption
package for this; useA complete example:
If you want to use the
caption
package for this (make sure yourcaption
package is updated):