latex/beamer/\347\233\256\346\254\241(TOC)\343\202\222\350\244\207\346\225\260\343\203\232\343\203\274\343\202\270\343\201\253\345\210\206\345\211\262\343\201\231\343\202\213.md
... ...
@@ -0,0 +1,35 @@
1
+[table of contents - How should I work with beamer, TOC and parts? - TeX - LaTeX Stack Exchange](https://tex.stackexchange.com/questions/241974/how-should-i-work-with-beamer-toc-and-parts)
2
+
3
+```tex
4
+\documentclass{beamer}
5
+
6
+\title{Title}
7
+\subtitle{Subtitle}
8
+\author{Author Of Presentation}
9
+
10
+\newcommand{\makepart}[1]{ % For convenience
11
+\part{Title of part #1} \frame{\partpage}
12
+\section{Section} \begin{frame} Section \end{frame}
13
+\subsection{Subsection} \begin{frame} Subsection \end{frame}
14
+\subsection{Subsection} \begin{frame} Subsection \end{frame}
15
+\section{Section} \begin{frame} Section \end{frame}
16
+}
17
+
18
+\begin{document}
19
+
20
+\begin{frame}
21
+\titlepage
22
+\end{frame}
23
+
24
+\begin{frame}
25
+Part I:
26
+\tableofcontents[part=1]
27
+Part II:
28
+\tableofcontents[part=2]
29
+\end{frame}
30
+
31
+\makepart{1}
32
+
33
+\makepart{2}
34
+```
35
+