7

I really like the Metropolis colour theme and is planning to tweak around it to make it 'mine'-ish. One thing that my supervisor is quick picky about is having some section navigation in a presentation. The good examples I can find are here and another one.

Any suggestions on how I could achieve that while keeping the colour theme? (I don't even know the correct jargon for those lines, so I tried googling terms like 'section header/section navigator footer/ etc' but it was not off good help.

1
  • 1
    Do you only want to keep the Metropolis color theme or anything else too?
    – TeXnician
    Commented Apr 16, 2017 at 7:33

1 Answer 1

9

The first example you linked to, uses a modified version of the Berlin theme, which in return uses the headline from the miniframe theme. You can simply keep using the metropolis theme (or better its updated fork moloch) and add this headline.

What is left for you to do, is to decide which colours you want to have - just modify \setbeamercolor{section in head/foot}{fg=normal text.bg, bg=structure.fg}

\documentclass{beamer}

\usetheme{moloch}% modern fork of the metropolis theme

\makeatletter
\setbeamertemplate{headline}{%
  \begin{beamercolorbox}[colsep=1.5pt]{upper separation line head}
  \end{beamercolorbox}
  \begin{beamercolorbox}{section in head/foot}
    \vskip2pt\insertnavigation{\paperwidth}\vskip2pt
  \end{beamercolorbox}%
  \begin{beamercolorbox}[colsep=1.5pt]{lower separation line head}
  \end{beamercolorbox}
}
\makeatother

\setbeamercolor{section in head/foot}{fg=normal text.bg, bg=structure.fg}

\begin{document}

\section{section 1}
\subsection{section name}
\begin{frame}
\frametitle{blub}
    abc
\end{frame} 
\begin{frame}
\frametitle{blub}
    abc
\end{frame} 

\section{section 2}
\begin{frame}
\frametitle{blub}
    abc
\end{frame} 

\section{section 3}
\begin{frame}
\frametitle{blub}
    abc
\end{frame}     

\end{document}

enter image description here

[In case you prefer the navigation bar from the second template you linked to, you can have a look into beamerouterthemesplit.sty and take the headline from there - but personally I don't think this will look good with metropolis, as the dark frametitle is already a quite dominant element and does not need the large headline from the split theme.]

10
  • That's what I want - thanks! I agree with your point the second one would not look as good... I am trying to add the navigation circles like this Commented Apr 16, 2017 at 14:59
  • 1
    @QuangThinhHa My solution already has these circles, if you use subsections. Commented Apr 16, 2017 at 15:04
  • Ah - thanks, I just got into this being geeky about LaTeX presentation and stuff. Just moved from Powerpoint to this wonderful world! Commented Apr 16, 2017 at 15:10
  • 1
    @LukeDavis yes, by using \sectionnavigation instead of \insertnavigation. See e.g. tex.stackexchange.com/a/354904/36296 Commented Feb 21, 2018 at 9:27
  • 1
    @Dr.ManuelKuehner I'd happily answer on a Q&A site where I'm active on :) Commented Apr 11, 2022 at 8:01

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .