4

I'm making a LaTeX presentation using beamer, and I'd like to prepare some slides for possible questions I can be asked for.

I find how to ignore slides numbering in this post, but I don't like the result, which is roughly the following:

Slide 1/n Slide 2/n...Slide n/n [from here questions slide] Slide (n+1)/n Slide (n+2)/n

What I would achieve is roughly the following:

Slide 1/n Slide 2/n...Slide n/n [from here questions slide] Slide I Slide II

How can I achieve it?

3

The following example:

\documentclass{beamer}
\setbeamertemplate{footline}[page number]

\defbeamertemplate{footline}{page number appendix}
{%
  \hfill%
  \usebeamercolor[fg]{page number in head/foot}%
  \usebeamerfont{page number in head/foot}%
  \insertpagenumber\kern1em\vskip2pt%
}
\makeatletter
\g@addto@macro\appendix{%
  \setbeamertemplate{footline}[page number appendix]%
  \renewcommand*{\insertpagenumber}{%
    \Roman{framenumber}%
  }%
}
\makeatother

\usepackage{appendixnumberbeamer}

\begin{document}
\begin{frame}A\end{frame}
\begin{frame}B\end{frame}
\begin{frame}C\end{frame}
\appendix
\begin{frame}D\end{frame}
\begin{frame}E\end{frame}
\end{document}

has the following page numbers in the footline: 1/3, 2/3, 3/3, I, II.

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.