[Tex/LaTex] How to remove double parentheses using subfig/subfloat?

subfigsubfloats

What is causing and how to remove the double parenthesis in the example below?

\begin{figure}[htbp]
  \begin{center}
    \subfloat[BebĂȘ chorando]{\includegraphics[width=0.45\textwidth]{baby}}
    \subfloat[Voz de adulto]{\includegraphics[width=0.45\textwidth]{adult}}\\
    \subfloat[Ronco]{\includegraphics[width=0.45\textwidth]{snoring}}
    \subfloat[Chuva]{\includegraphics[width=0.45\textwidth]{rain}}\\
    \subfloat[Som externo]{\includegraphics[width=0.45\textwidth]{street}}
    \caption{Exemplares de espectrogramas gerados.}
    \label{fig:espectrogramas}
  \end{center}
\end{figure}

enter image description here

Best Answer

I had this issues as well, I was trying to use subfigure, but I was having issues. The package subfigure has been deprecated and is considered obsolete. I switch to subfig and my code had both:

\usepackage{subfigure} \usepackage{subfig}

Comment out subfigure and try again, it fixed the issues for me.