1

I'm managing my figures using subfig package. How can I get the subcaption label in bold:

\documentclass{article}
\usepackage{subfig}
\begin{document}
\begin{figure}[htb]
\centering
\subfloat[Caption 1]{\fbox{\parbox{0.5\textwidth}{\hfill}}}
\subfloat[Caption 2]{\fbox{\parbox{0.5\textwidth}{\hfill}}}
\caption{Big Caption}
\end{figure}
\end{document}

I want (a) and (b) instead of (a) and (b)

  • Would you accept switching to a more flexible package (subcaption)? – TeXnician Jul 19 '17 at 20:06
  • @TeXnician I have tryed subcaption, however, I needed foy subfig especificly. But, thank you – Daniel Valencia C. Jul 20 '17 at 14:53
2

Here it is:

\documentclass{article}

\usepackage{subfig}

\begin{document}

\begin{figure}[htb]
\centering\captionsetup[subfloat]{labelfont=bf}
\subfloat[Caption 1]{\fbox{\parbox{0.5\textwidth}{\hfill}}}
\subfloat[Caption 2]{\fbox{\parbox{0.5\textwidth}{\hfill}}}
\caption{Big Caption}
\end{figure}

\end{document} 

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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