Changing caption label font not working

captionsformatting

I've been trying to change the format of caption labels for figures, following the documentation. However, I can't seem to make it not be in small caps, despite multiple attempts. The package seems to otherwise work normally, as setting the "fontlabel" option to "bf" gives me a bolded result (but still in small caps). The following minimal-working example:

\usepackage{natbib}
\usepackage[french]{babel}
\renewcommand{\bibsection}{\section*{Bibliographie}}
\usepackage[labelfont=up]{caption}
\usepackage[]{subcaption}
\usepackage[T1]{fontenc}
\usepackage{hyperref}
\usepackage{float}

\begin{document}

\begin{figure}[h]
        \centering
        \begin{subfigure}{0.93\textwidth}
            \centering
            \includegraphics[width=1.00\textwidth]{pictures/oFrolicheZeit.png}
            \caption{\textit{Wacht\string! Euch zum Streit gefasset macht}, acte III, \enquote{O fröliche Zeit}, mes. 8-12.}
        \end{subfigure}
        \hfill
        \begin{subfigure}{0.93\textwidth}
            \centering
            \includegraphics[width=1.00\textwidth]{pictures/ichKannNichtMehr.png}
            \caption{\textit{Wacht\string! Euch zum Streit gefasset macht}, acte III, \enquote{Ich kann nicht mehr}, mes. 6-13.}
        \end{subfigure} 
        \caption[]{Insert musical analysis caption here.}
        \label{fig:rhetoric}
\end{figure}

\end{document}

Gives the below output once compiled to a pdf:

Example

I don't know if this might be caused by some conflict between the caption and subcaption packages or if I'm missing something. Cheers,

Best Answer

You're being bitten by babel-french. Use

\frenchsetup{SmallCapsFigTabCaptions=false}

Note that the manual has SmallCapsFigTabcaptions, but it's wrong.

\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[french]{babel}
\usepackage[labelfont=up]{caption}
\usepackage[]{subcaption}
\usepackage{graphicx}
\usepackage{csquotes}
\usepackage{hyperref}

\frenchsetup{SmallCapsFigTabCaptions=false}

\begin{document}

\begin{figure}[htp]
\centering

\begin{subfigure}{0.93\textwidth}
\centering
\includegraphics[width=0.3\textwidth]{example-image}
\caption{\textit{Wacht\string! Euch zum Streit gefasset macht}, acte III, 
  \enquote{O fröliche Zeit}, mes. 8-12.}
\end{subfigure}

\begin{subfigure}{0.93\textwidth}
\centering
\includegraphics[width=0.3\textwidth]{example-image}
\caption{\textit{Wacht\string! Euch zum Streit gefasset macht}, acte III,
  \enquote{Ich kann nicht mehr}, mes. 6-13.}
\end{subfigure} 

\caption{Insert musical analysis caption here.}\label{fig:rhetoric}
\end{figure}

\end{document}

enter image description here