Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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?

share|improve this question
    
Does the . form part of the number? When you use \ref{<some figure>}, do you get a number plus .? –  Werner Nov 23 '11 at 20:59
    
No just the number. –  joachim Nov 23 '11 at 21:24
3  
Since this is not the output I receive, could you post a minimal working example (MWE) that duplicates your problem? There may be other definitions in your preamble that causes this behaviour since it is not the expected output given your setup. Without an MWE it will be difficult to correct it. –  Werner Nov 23 '11 at 21:31
    
Welcome to TeX.SE. As Werner has suggested, it is always best to compose a MWE that illustrates the problem including the \documentclass and the appropriate packages. Personally, I have often solved my own problems in the process of reducing the amount of code actually required to reproduce the problem. –  Peter Grill Nov 24 '11 at 3:18
    
Thanks for the advince. Due to a little bit ouf time pressure I couldn't provide a MWE before my deadline. Sorry for that! But now lockstep solved the problem. –  joachim Nov 27 '11 at 13:01

1 Answer 1

up vote 6 down vote accepted

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}
share|improve this answer
    
Good guess! That was the problem. Thanks! –  joachim Nov 27 '11 at 13:02

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.