Separe as subseções por vírgulas no índice do projetor

Dec 21 2020

Estou tentando criar um índice em apresentações de beamer onde apenas as subseções são mostradas separadas por vírgulas, mas não consigo encontrar uma maneira de fazer isso.

\documentclass{beamer}

\begin{document}

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

%---------------------------    
\section{Section 1}
\subsection{Subsection 1.1}
\subsubsection{Subsubsection 1.1.1}

\begin{frame}{Section 1}{Subsection 1.1}    
Subsubsection 1.1.1    
\end{frame}    
%---------------------------------------    
\subsubsection{Subsubsection 1.1.2}    
\begin{frame}{Section 1}{Subsection 1.1}   
Subsubsection 1.1.2    
\end{frame}    
%---------------------------------------    
\subsubsection{Subsubsection 1.1.3}   
\begin{frame}{Section 1}{Subsection 1.1}    
Subsubsection 1.1.3    
\end{frame}

\end{document}

O que eu preciso produzir é:

Section 1    
  Subsection 1.1    
    Subsubsection 1.1.1, Subsubsection 1.1.2, Subsubsection 1.1.3

em vez de:

Section 1    
  Subsection 1.1    
    Subsubsection 1.1.1    
    Subsubsection 1.1.2    
    Subsubsection 1.1.3

Muito obrigado por todas as sugestões!

Respostas

Lily Dec 21 2020 at 22:43

Essas opções fizeram o trabalho:

\setbeamertemplate{subsection in toc}{\par\hspace*{2em}~\inserttocsubsection\par}
\setbeamertemplate{subsubsection in toc}{\hspace*{2.5em}{~\inserttocsubsubsection}}