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


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

    \subfloat[BebĂȘ chorando]{\includegraphics[width=0.45\textwidth]{baby}}
    \subfloat[Voz de adulto]{\includegraphics[width=0.45\textwidth]{adult}}\\
    \subfloat[Som externo]{\includegraphics[width=0.45\textwidth]{street}}
    \caption{Exemplares de espectrogramas gerados.}

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.