Espaço antes dos dois pontos nas legendas do projetor

Espaço antes dos dois pontos nas legendas do projetor

Como você pode ver abaixo, o LaTeX está formatando minhas legendas assim: Figure : caption, enquanto eu gostaria que fossem Figure: caption, sem espaço antes dos dois pontos. Aqui está um MWE:

\documentclass{beamer}
\begin{document}
\begin{frame}
\begin{figure}
  \caption{See, there's space before the colon.}
\end{figure}
\end{frame}
\end{document}

O que torna isso: insira a descrição da imagem aqui

Eu tentei isso, mas não funcionou:

\documentclass{beamer}
\usepackage{caption}
\DeclareCaptionLabelSeparator{colon}{: }
\begin{document}
\begin{frame}
\begin{figure}
  \caption{See, there's space before the colon.}
\end{figure}
\end{frame}
\end{document}

Responder1

Use beameras instalações em vez de usar captiono pacote.

\documentclass{beamer}
\setbeamertemplate{caption label separator}{: }  %% note the space after :, not before
\begin{document}
\begin{frame}
\begin{figure}
  \caption{See, there's space before the colon.}
\end{figure}
\end{frame}
\end{document}

insira a descrição da imagem aqui

Responder2

Solução: adicione

\usepackage{captions}
\captionsetup{labelsep = colon}

ao preâmbulo. Porém, isso ainda é um bug, pois não acontece em outras classes de documentos.

informação relacionada