我想删除目录中的编号圆圈:
并有正常文本,如“1.第一节”“1.1第一小节”等等。
以下是 MWE:
\documentclass{beamer}
\usetheme{Boadilla}
\begin{document}
\begin{frame}
\tableofcontents
\end{frame}
\section{First Section}
\begin{frame}
Frame 1
\end{frame}
\subsection{First Subsection}
\begin{frame}
Frame 2
\end{frame}
\section{Second Section}
\begin{frame}
Frame 3
\end{frame}
\end{document}
感谢您的帮助!
答案1
您可以使用sections numbered
和subsections numbered
模板作为目录:
\documentclass{beamer}
\usetheme{Boadilla}
\setbeamertemplate{section in toc}[sections numbered]
\setbeamertemplate{subsection in toc}[subsections numbered]
\setbeamertemplate{subsubsection in toc}{%
\leavevmode\normalsize\usebeamerfont{subsection in
toc}\leftskip=2.5em\usebeamerfont{subsubsection in toc}%
\rlap{\hskip-3em\inserttocsectionnumber.\inserttocsubsectionnumber.\inserttocsubsubsectionnumber}\inserttocsubsubsection\par}
\begin{document}
\begin{frame}
\tableofcontents
\end{frame}
\section{First Section}
\begin{frame}
Frame 1
\end{frame}
\subsection{First Subsection}
\subsubsection{subsubsection name}
\begin{frame}
Frame 2
\end{frame}
\section{Second Section}
\begin{frame}
Frame 3
\end{frame}
\end{document}