4

More or less what it says on the tin: I want something like:

\frame{\somecounterforpagenumbers : My Title}

I assume there is a built in counter that I can reference here, but I'm not sure what it is.

  • 1
    The counter you are looking for is framenumber – Corentin Oct 24 '12 at 7:29
6

You are looking for the command \insertframenumber, the corresponding counter is called framenumber:

\documentclass{beamer}

\begin{document}
% manually increase the frame number
\setcounter{framenumber}{23}
% display frame number in the frame title
\begin{frame}{\insertframenumber{}: First frame, or is it?}
Some text here\dots
\end{frame}
\end{document}
  • Yep, that seems to be it. Might be worth updating to incorporate Corentin's comment, since the counter itself is called framenumber, in case one wants to manipulate its state. Thanks! – John Doucette Oct 24 '12 at 7:44
  • Please see my updated answer! – hakaze Oct 24 '12 at 7:53

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.