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.

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.

share|improve this question
1  
The counter you are looking for is framenumber –  Corentin Oct 24 '12 at 7:29

1 Answer 1

up vote 6 down vote accepted

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}
share|improve this answer
    
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
    
Looks good! Thanks again! –  John Doucette Oct 24 '12 at 7:54

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.