Because my Beamer files are large, I split then into separate .tex files and start a new part with e.g.


This works in that the first section in this .tex file correctly appears as Section 4 (correct also in footlines and headers).

However, in the TOC on the first page of the PDF, the first section appears as section 1, not as section 4! Same with the sections that follow: they appear as 2 and 3 in TOC, not as 5 and 6.

Is there a separate counter for the TOC? If so, how can I manipulte it?

  • 1
    Welcome to TeX.SX. Note that you don't have to sign with your name since it automatically appears in the lower right corner of your post. Usually, we don't put a greeting or a "thank you" in our posts. While this might seem strange at first, it is not a sign of lack of politeness, but rather part of our trying to keep everything very concise. Upvoting is the preferred way here to say "thank you" to users who helped you. – Claudio Fiandrino Dec 8 '12 at 13:18
  • I really hate doing that for my own answer, but since my response below seems to answer your question, please consider marking one of them as ‘Accepted’ by clicking on the tickmark below their vote count (see How do you accept an answer?). This shows which answer helped you most, and it assigns reputation points to the author of the answer (and to you!). It's part of this site's idea to identify good questions and answers through upvotes and acceptance of answers. – bloodworks Dec 11 '12 at 9:56

Write the following somewhere in your preamble:

\advance\beamer@tocsectionnumber by 3

This might have other undesired results but this steps the number in toc. Note: beamer does many things different form latex2e, this is one example. If you are interested in further investigations on this take a look into a "normal" toc file an beamer's toc file.

  • It works, thanks. No undesired side effects so far! – Keith Dec 10 '12 at 6:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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