# Beamer - Total frame number in roman

by Ashok   Last Updated January 14, 2018 06:23 AM

I am trying to get roman numbers for beamer footline. I tried the following code:

\documentclass[•]{beamer}

\begin{document}
\begin{frame}
I need the frame number as "i/i"
\end{frame}
\end{document}


The code runs fine and the frame number is printed in roman, but the total frame number is still in the default format. Please help. Thanks in advance.

Tags :

Notice that there is no counter totalframenumber. Therefore \roman{totalframenumber} fails. Here is a possible solution.

\documentclass{beamer}
\newcounter{numberoframes}
\begin{document}
\begin{frame}
\frametitle{Test}
I need the frame number as "i/i"  \dots
\end{frame}
\begin{frame}
\frametitle{Test 3}
\dots finally I got it!
\end{frame}
\end{document}


marmot
January 14, 2018 06:03 AM