3
\documentclass[10pt,handout]{beamer}
\setbeamertemplate{frametitle}[default][center]
\setbeamercolor{page number in head/foot}{fg=black}
\setbeamerfont{page number in head/foot}{size=\small}
\title[]{Slides Template}

\begin{document}
\maketitle

\begin{frame}
\frametitle{ \ }
\begin{center}
\Large 
1. Introduction
\end{center}
\end{frame}

\end{document}

I made the above beamer document. The desired page numbers in the footline are not visible. I wonder what goes wrong there.

7
  • My pdflatex says \themecolor is undefined. Feb 15, 2017 at 13:13
  • Hey there. Thank you. I got it removed, which does not affect my purpose here. Yeah, now ShareLatex is okay with everything except the page numbers still do not show... :)
    – Yes
    Feb 15, 2017 at 13:16
  • Sorry, but it works fine for me after the edit. Feb 15, 2017 at 13:17
  • 2
    You dont have any style used yet. This means, there are no headers or footers. Try \setbeamertemplate{footline}[page number]{}. Feb 15, 2017 at 13:22
  • 3
    @MaestroGlanz This sounds like a good answer -- would you like to convert your comment? BTW: It's enough to write \setbeamertemplate{footline}[page number], the {} are not necessary. Feb 15, 2017 at 14:09

1 Answer 1

4

By default, beamer does not display any page numbers -- changing their colour or size will not change this. But you can add them to your frames. A convenient way is to use a footline which shows the framenumbers, for example by using \setbeamertemplate{footline}[page number].

\documentclass[10pt,handout]{beamer}

\setbeamertemplate{frametitle}[default][center]
\setbeamercolor{page number in head/foot}{fg=black}
\setbeamerfont{page number in head/foot}{size=\small}

\setbeamertemplate{footline}[page number]

\title[]{Slides Template}

\begin{document}
\maketitle

\begin{frame}
\begin{center}
\Large 
1. Introduction
\end{center}
\end{frame}

\end{document}

enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .