# Customize table of content in Beamer

https://www.overleaf.com/learn/latex/Beamer shows that by adding the following in preamble, we can put the table of contents at the beginning of each section and highlight the title of the current section:

\AtBeginSection[]
{
\begin{frame}