## LaTeX forum ⇒ Presentations and Posters ⇒ Add subtitles to section slide in metropolis beamer theme Topic is solved

Beamer, Powerdot and KOMA-Script presentations, Conference posters (a0poster, baposter, tikzposter)
Butanium
Posts: 2
Joined: Sat May 21, 2022 8:12 pm

### Add subtitles to section slide in metropolis beamer theme

Hi, I'm using the metropolis beamer theme.

I want to add a subtitle to my section frame like this :
first image
latex.png (13.45 KiB) Viewed 448 times

I found a workaround with this code :
\section{Recherche arborescente de Monte Carlo\newline\footnotesize{Monte Carlo Tree Search ou MCTS}}

latex2.png (19.15 KiB) Viewed 447 times

Is there a way to get the visual from the first image but to not have Monte Carlo Tree Search ou MCTS written in the table of content ?

Minimum working example :
\documentclass[10pt]{beamer}\usetheme[progressbar=frametitle]{metropolis}\begin{frame}{Table of content} \setbeamertemplate{section in toc}[sections numbered] \tableofcontents\end{frame}\section{Recherche arborescente de Monte Carlo\newline\footnotesize{Monte Carlo Tree Search ou MCTS}}

LaTeXguide.org • LaTeX-Cookbook.net

rais
Posts: 322
Joined: Sun Nov 16, 2014 8:51 pm

### Add subtitles to section slide in metropolis beamer theme  Topic is solved

If the beamer author follows the standard approach, \section supports an optional argument that would be used in the TOC, i.e.,
\section[title as shown in TOC]{title as shown in text}

BTW: a minimum working example' would be an example that demonstrates the problem you were describing, your code snippet doesn't quite fit...it doesn't even contain a {document}` environment.

KR
Rainer

Butanium
Posts: 2
Joined: Sat May 21, 2022 8:12 pm