[Tex/LaTex] Running figure numbering

captionsfloatskoma-scriptnumberingpunctuation

I want to use running figure numbering so I used a trick form this website http://www.tex.ac.uk/cgi-bin/texfaq2html?label=running-nos.

\documentclass[a4paper, 11pt]{scrbook}
\usepackage{chngcntr}
\counterwithout{figure}{chapter}
...
\begin{appendix}
\chapter{Algorithms}
...
\end{appendix}

It kind-of-works: The figures numbers look like this e.g. Figure 2.:, Figure 3.: … How can i get rid of the .?

Is there a fix or a better solution?

Best Answer

Just a guess: Do you use the KOMA-Script class scrbook or scrreprt and does your document exhibit an appendix chapter? If so, a closing dot will automatically be added to the numbering of sectioning titles and float captions. To remove the dot, add \KOMAoptions{numbers=noendperiod} to your preamble.

\documentclass{scrreprt}

% \KOMAoptions{numbers=noendperiod}

\usepackage{chngcntr}
\counterwithout{figure}{chapter}

\begin{document}

\chapter{foo}

\begin{figure}
\centering
\rule{1cm}{1cm}
\caption{A figure}
\end{figure}

\appendix

\chapter{bar}

\end{document}
Related Question