Consider this example identified as a solution for remove colon in captions:
\documentclass{report}
%\usepackage{subfig}
\usepackage{graphicx}
\usepackage[latvian]{babel}
\usepackage{caption}
\captionsetup[figure]{labelsep=space}
\addto\captionslatvian{\renewcommand{\figurename}{att.}}
\begin{document}
\begin{figure}
\includegraphics{example-image-a}
\caption{Case of A.}
\end{figure}
\end{document}
The command
\captionsetup[figure]{labelsep=space}
fails once the line
%\usepackage{subfig}
is uncommented, i.e. the separator once again is :
. How to solve?
subcaption
package instead, and use itssubfigure
environment.\subfloat
instead of\subfigure
.labelsep=space
as an option on loadingsubfig
then (cf. p. 31 of the documentation), if I've well understood the problem.\usepackage[labelsep=space]{subfig}
didn't work, except when this line is moved after the line\usepackage[latvian]{babel}
.subfig
aftercaption
.