[Tex/LaTex] Add \paragraph type entries to beamer table of contents

beamersections-paragraphstable of contents

I want a beamer TOC slide like this:

SECTION 1
..Subsection 1
……Slide Title 1
..Subsection 2
……Slide Title 2
……Slide Title 2
NEXT SECTION
……Another Slide Title

In documents I use \paragraph to get the next level in on the TOC, but it does not seem to be supported in beamer. =(

It'd be best if the slidetitles get included in the TOC automatically (kind of like this: Beamer: how to make each frame appear in the PDF toc? ) But I'd be OK with changing the \slidetitle command to also put in a \paragraph command.

Here is some (possibly orthogonal) working code:

\documentclass{beamer}
\usepackage[latin1]{inputenc}
\usetheme{Antibes}

\begin{document}
\section{Section 1}
\subsection{Subsection 1}

\begin{frame}
\frametitle{Outline}
\tableofcontents
\end{frame}

\begin{frame}
\frametitle{Slide 1}
This is some content
\end{frame}

\end{document}

Best Answer

The following answer opens a new \subsubsection at the beginning of every frame:

\documentclass{beamer}
\usetheme{Antibes}

\usepackage{etoolbox}

\makeatletter
\apptocmd{\beamer@@frametitle}{
    \subsubsection{\insertframetitle}
}
\makeatother

\begin{document}

    \begin{frame}
        \tableofcontents
    \end{frame}

    \section{Section 1}
    \subsection{Subsection 1}

    \begin{frame}
        \frametitle{Slide 1}
        This is some content
    \end{frame}

    \begin{frame}
        \frametitle{Slide 2}
        This is some content
    \end{frame} 

\end{document}

enter image description here