I am creating a beamer presentation using theme Madrid. However I like the navigational dots that show up at the top in the Frankfurt theme. Is there a way to include them in my presentation? I've looked around and it seems a lot more people have asked how to get rid of the dots than to add them in.
[Tex/LaTex] Add navigational dots in beamer presentation with Madrid theme
beamernavigation
Related Solutions
You don't need to declare a subsection, raising it's counter by \setcounter{subsection}{1}
or \stepcounter{subsection}
would be sufficient.
But as the section counter resets the subsection counter, I would do it in the preamble together with removing it from the reset:
\usepackage{remreset}% tiny package containing just the \@removefromreset command
\makeatletter
\@removefromreset{subsection}{section}
\makeatother
\setcounter{subsection}{1}
This way that counter will stay at the value 1 and the circles are shown without any \subsection
.
A minimal working example demonstrating the solution:
\documentclass{beamer}
\usetheme{Frankfurt}
\usepackage{remreset}
\makeatletter
\@removefromreset{subsection}{section}
\makeatother
\setcounter{subsection}{1}
\begin{document}
\section{Test}
\frame{one}
\frame{two}
\frame{three}
\end{document}
Output:
If you uncomment the command \setcounter{subsection}{1}
and compile twice, you could see the original problem of missing circles.
You can set the footline
template to present the desired information. In the following example code I slightly modified the definition of the footline
template as used in the infolines
outer theme; of course, feel free to adapt the design according to your needs:
\documentclass{beamer}
\usetheme{Singapore}
\makeatletter
\setbeamertemplate{footline}
{
\leavevmode%
\hbox{%
\begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=2ex,center]{author in head/foot}%
\usebeamerfont{author in
head/foot}%
\insertshortauthor\hspace{1em}\beamer@ifempty{\insertshortinstitute}{}{(\insertshortinstitute)}
\end{beamercolorbox}%
\begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=2ex,center]{title in head/foot}%
\usebeamerfont{title in head/foot}\insertshorttitle
\end{beamercolorbox}%
\begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=2ex,right]{date in head/foot}%
\usebeamerfont{date in head/foot}\insertshortdate{}\hspace*{2em}
\insertframenumber{} / \inserttotalframenumber\hspace*{2ex}
\end{beamercolorbox}}%
\vskip0pt%
}
\makeatother
\author[\parbox{.2\paperwidth}{\raggedleft Author One \\ Author Two}]{Author One and Author Two}
\institute{The Institute}
\title{The Title}
\begin{document}
\begin{frame}
test
\end{frame}
\end{document}
The output obtained:
And the footline zoomed:
Although in my answer I gave a possible solution to the "stacking the authors" issue, I forgot to mention it explicitly: you can use the optional argument of \author
to format how the author(s) information will be displayed when the \insertshortauthor
command is invoked (this command is used, in particular, in the footline
a template above).
Best Answer
Like this?