答案1
這些資訊儲存在.toc
文件中。你只需要告訴投影儀如何使用它們。請參閱beamerbasetoc.sty
以獲取更多資訊。
\documentclass{beamer}
\begin{document}
\makeatletter
\def\beamer@endinputifotherversion#1{}
\def\beamer@sectionintoc#1#2#3#4#5{{\huge #2 \hfill page #3 \par}}
\def\beamer@subsectionintoc#1#2#3#4#5#6{{\normalsize #3 \hfill page #4 \par}}
\def\beamer@subsubsectionintoc#1#2#3#4#5#6#7{{\tiny #4 \hfill page #5 \par}}
\frame{
\tableofcontents
}
\section{Section 1}\frame{}\frame{}
\subsection{Subsection 1-1}\frame{}\frame{}
\subsubsection{Subsubsection 1-1-2}\frame{}\frame{}
\subsubsection{Subsubsection 1-1-2}\frame{}\frame{}
\subsection{Subsection 1-2}\frame{}\frame{}
\subsubsection{Subsubsection 1-2-2}\frame{}\frame{}
\subsubsection{Subsubsection 1-2-2}\frame{}\frame{}
\section{Section 2}\frame{}\frame{}
\subsection{Subsection 2-1}\frame{}\frame{}
\subsubsection{Subsubsection 2-1-2}\frame{}\frame{}
\subsubsection{Subsubsection 2-1-2}\frame{}\frame{}
\subsection{Subsection 2-2}\frame{}\frame{}
\subsubsection{Subsubsection 2-2-2}\frame{}\frame{}
\subsubsection{Subsubsection 2-2-2}\frame{}\frame{}
\end{document}