
Al comienzo de mi presentación, me gustaría mostrar lo siguiente. En la primera diapositiva, me gustaría mostrar una tabla de contenido solo con secciones. Es decir, las subsecciones deberían ser invisibles, pero deberían estar ALLÍ. Luego, en las siguientes diapositivas, las subsecciones se irán integrando sucesivamente.
Usar la opción pausesubsections
para \tableofcontents
tiene la desventaja de que solo se muestra la primera sección en la primera diapositiva. El uso de la opción hidesubsections
borra las subsecciones por completo, por lo que es imposible combinarlas una tras otra.
Intenté configurar una tabla de contenido falsa con enumerate
y itemize
y usando \pause
, pero el espaciado es diferente al de una tabla de contenido "real". A continuación se proporciona un MWE.
\documentclass{beamer}
\begin{document}
\begin{frame}{Outline}
\tableofcontents[pausesubsections]
\end{frame}
\section{One}
\subsection{OneOne}
\begin{frame}
There is nothing here.
\end{frame}
\subsection{OneTwo}
\begin{frame}
There is nothing here.
\end{frame}
\section{Two}
\subsection{TwoOne}
\begin{frame}
There is nothing here.
\end{frame}
\subsection{TwoTwo}
\begin{frame}
There is nothing here.
\end{frame}
\end{document}
Respuesta1
Ocultar la subsección, preservando al mismo tiempo su espacio, se puede hacer fácilmente coloreándola con el color de fondo.
\documentclass{beamer}
\begin{document}
{
\setbeamercolor{subsection in toc}{fg=bg}
\begin{frame}{Outline}
\tableofcontents
\end{frame}
}
\begin{frame}{Outline}
\tableofcontents[pausesubsections]
\end{frame}
\section{One}
\subsection{OneOne}
\begin{frame}
There is nothing here.
\end{frame}
\subsection{OneTwo}
\begin{frame}
There is nothing here.
\end{frame}
\section{Two}
\subsection{TwoOne}
\begin{frame}
There is nothing here.
\end{frame}
\subsection{TwoTwo}
\begin{frame}
There is nothing here.
\end{frame}
\end{document}
Respuesta2
Quizás quieras codificar algo como esto. Esto funciona con comandos propios del proyector.
En la primera diapositiva aparece un esquema con solo los títulos de las secciones. Al ingresar a las secciones se presentará un nuevo esquema, con el título de las subsecciones insertado y resaltado.
\documentclass{beamer}
\mode<presentation>{%
%% At the begin of a section, insert a short outline
\AtBeginSection[]{%
\begin{frame}<beamer>%
\frametitle{Outline}
\tableofcontents[currentsection,subsectionstyle=show/shaded/hide]%
\end{frame}%
}%
%%
%% Same for Subsections
\AtBeginSubsection[]{%
\begin{frame}<beamer>%
\frametitle{Outline}
\tableofcontents[currentsection,subsectionstyle=show/shaded/hide]%
\end{frame}}%
}
\begin{document}
\begin{frame}{Outline}
\tableofcontents[currentsection,sectionstyle=show,hideothersubsections]
\end{frame}
\section{One}
\subsection{OneOne}
\begin{frame}
There is nothing here.
\end{frame}
\subsection{OneTwo}
\begin{frame}
There is nothing here.
\end{frame}
\section{Two}
\subsection{TwoOne}
\begin{frame}
There is nothing here.
\end{frame}
\subsection{TwoTwo}
\begin{frame}
There is nothing here.
\end{frame}
\end{document}