[Tex/LaTex] Add navigational dots in beamer presentation with Madrid theme

beamernavigation

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.

Best Answer

Like this?

\documentclass{beamer}

\usetheme{Madrid}

\setbeamercolor{section in head/foot}{fg=white,bg=black}

\makeatletter
\setbeamertemplate{headline}{%
    \begin{beamercolorbox}[ht=2.25ex,dp=3.75ex]{section in head/foot}
        \insertnavigation{\paperwidth}
    \end{beamercolorbox}%
}%
\makeatother

\begin{document}
   \section{sec1}
   \subsection{s1}
   \begin{frame}{frame1.1}
    blah, blah, blah
   \end{frame}
   \begin{frame}{frame1.2}
    blah, blah, blah
   \end{frame}

   \section{sec2}
   \subsection{s2}
   \begin{frame}{frame2.1}
    blah, blah, blah
   \end{frame}
   \begin{frame}{frame2.2}
    blah, blah, blah
   \end{frame}

   \section{sec3}
   \subsection{s3}
   \begin{frame}{frame3.1}
    blah, blah, blah
   \end{frame}
   \begin{frame}{frame3.2}
    blah, blah, blah
   \end{frame}
\end{document}

enter image description here

Related Question