I have a figure with a caption. Normally, the caption shows up as Figure 1 MyCaption. However, I want the "Figure 1" part to be in bold. I found the answer to this on this website; the fix is to use \usepackage[labelfont=bf,textfont=md]{caption}. However, references to the figure do not work anymore. Is there any way to fix this? Thanks.
MWE
\documentclass{book}
\usepackage{graphicx}
\begin{document}
\section{First Section}
The picture is shown in Figure \ref{pic}.
\begin{figure} \label{pic}
\caption{The Picture}
\end{figure}
\end{document}
\labelinstructions must come after, not before\captioninstructions. This issue is entirely separate from whether or not thecaptionpackage is loaded. – Mico Jul 16 '19 at 21:02