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 prepare some backup slides at the end of my presentation. I don't want them to be counted in terms of pages, which is displayed at the footer of each slide.

Does anyone know how to do that?

share|improve this question
3  
Does this post answer your question: stackoverflow.com/questions/732902/… ? –  Corentin Sep 6 '12 at 16:33
    
Surely I misunderstood the question, but if you have just backup slides to not show... why not just put before an extra \end{document}? For see again the backups the only thing needed is put % before. –  Fran Sep 6 '12 at 17:18
    
@Fran as I understand the question, SoftTimur do want those frames to appear, he just doesn't want them to be taken into account when calculating the total number of frames/slides. –  Gonzalo Medina Sep 6 '12 at 17:55

1 Answer 1

up vote 11 down vote accepted

For the sake of completeness, here are two solutions inspired from the link given in my above comment.

  1. You can define a new counter at the end of your presentation, before your backup slides, and use this counter at the end of your backup slides to fool beamer on the total number of slides. Here is a MWE:

    \documentclass{beamer}
    
    \usepackage{beamerthemesplit}
    \usepackage{lipsum}
    \usetheme{Madrid}
    
    \newcommand{\backupbegin}{
       \newcounter{finalframe}
       \setcounter{finalframe}{\value{framenumber}}
    }
    \newcommand{\backupend}{
       \setcounter{framenumber}{\value{finalframe}}
    }
    
    \begin{document}
    % Your normal slides go here 
    \frame{\lipsum[1]}
    \frame{\lipsum[2]}
    
    \appendix
    \backupbegin
    % And your backup slides here
    \frame{\lipsum[3]}
    \backupend
    
    \end{document}
    

    In this case, the backup slide is numbered as 3/2 in this example.

  2. Alternatively, you can use the appendixnumberbeamer package. MWE:

    \documentclass{beamer}
    
    \usepackage{beamerthemesplit}
    \usepackage{lipsum}
    \usetheme{Madrid}
    \usepackage{appendixnumberbeamer}
    
    \begin{document}
    % Your normal slides go here 
    \frame{\lipsum[1]}
    \frame{\lipsum[2]}
    
    \appendix
    % And your backup slides here
    \frame{\lipsum[3]}
    
    \end{document}
    

    In this case, the backup slide is numbered as 1/1.

share|improve this answer

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.