Document ClassesPage Numbers in Frames

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
marie2011
Posts: 138
Joined: Mon Feb 06, 2012 4:58 pm

Page Numbers in Frames

Post by marie2011 »

Dear forum members,

I was wondering if you could help me with the next problem I encountered. The first page does not have a page number. The second page should have 1/1, but not 2/2.

Here is my minimal working example:

Code: Select all

\documentclass[10pt]{beamer}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[spanish,ngerman,catalan,english]{babel}
\usepackage{pdfpages}
\usefonttheme[stillsansserifsmall]{serif}
\usefonttheme{structuresmallcapsserif}
\usetheme{Pittsburgh}
\usecolortheme{seahorse}
\setbeamertemplate{footline}[frame number]
\beamertemplatenavigationsymbolsempty
\thispagestyle{empty}
\institute{}
\title{Title}
\author{Author}
\date{}
\begin{document}
\selectlanguage{spanish}
\begin{frame}
\titlepage
\end{frame}
\section{First section}
\begin{frame}
First Section
\end{frame}
\end{document}



Many thanks in advance.

Regards,

Marie

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

tommytex
Posts: 39
Joined: Wed Jan 23, 2013 10:04 pm

Page Numbers in Frames

Post by tommytex »

Hi,

i'm not shure if it works but what i would do from the hip is using

Code: Select all

\setcounter{framenumber}{0}
greez tommy
User avatar
tommytex
Posts: 39
Joined: Wed Jan 23, 2013 10:04 pm

Page Numbers in Frames

Post by tommytex »

Code: Select all

\documentclass[10pt]{beamer}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[spanish,ngerman,catalan,english]{babel}
\usepackage{pdfpages}
\usefonttheme[stillsansserifsmall]{serif}
\usefonttheme{structuresmallcapsserif}
\usetheme{Pittsburgh}
\usecolortheme{seahorse}
\setbeamertemplate{footline}[frame number]
\beamertemplatenavigationsymbolsempty
\thispagestyle{empty}
\institute{}
\title{Title}
\author{Author}
\date{}
\begin{document}
\selectlanguage{spanish}
\begin{frame}
\titlepage
\end{frame}

\setcounter{framenumber}{0}

\section{First section}
\begin{frame}
First Section with correct page number
\end{frame}
\end{document}
marie2011
Posts: 138
Joined: Mon Feb 06, 2012 4:58 pm

Re: Page Numbers in Frames

Post by marie2011 »

Hello Tommytex,

Many thanks for your answer. Everything works fine now :)

Regards,

Marie
Post Reply