Search code examples
latextexbeamer

How to show progression bar with toc at the bottom of slides in beamer class in latex?


I am using beamer class with Boadilla theme. At the bottom there is a bar that contains author name, title and date. Above this bar, I need to show another bar that horizontally contains the table of contents with a highlight on the current section exactly as the vertical one that is shown on the right in Goettingen theme. How can I do it?


Solution

  • \documentclass{beamer}
    
    \usetheme{Boadilla}
    
    \addtobeamertemplate{footline}{%
      \leavevmode%
      \hbox{%
      \begin{beamercolorbox}[wd=\paperwidth,ht=2.25ex,dp=1ex,center]{author in head/foot}%
         \insertsectionnavigationhorizontal{\paperwidth}{}{}
      \end{beamercolorbox}}%
    
    }
    
    \begin{document}
    
    \section{Duck}
    \begin{frame}
        abc
    \end{frame} 
    
    \section{Bear}
    \begin{frame}
        abc
    \end{frame} 
    
    \section{Marmot}
    \begin{frame}
        abc
    \end{frame} 
    
    \section{Falcon}
    \begin{frame}
        abc
    \end{frame} 
    
    \end{document}
    

    enter image description here