Advertisement
Guest User

Untitled

a guest
Jun 20th, 2019
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.84 KB | None | 0 0
  1. documentclass{beamer}
  2. usetheme{Madrid}
  3.  
  4. begin{document}
  5. begin{frame}{Overview}
  6. only<1>{
  7. tableofcontents[sections={1}]
  8. tableofcontents[sections={2-5},sectionstyle=shaded,subsectionstyle=shaded]
  9. }
  10. only<2>{
  11. tableofcontents[sections={1},sectionstyle=shaded,subsectionstyle=shaded]
  12. tableofcontents[sections={2}]
  13. tableofcontents[sections={3-5},sectionstyle=shaded,subsectionstyle=shaded]
  14. }
  15. only<3>{
  16. tableofcontents[sections={1,2},sectionstyle=shaded,subsectionstyle=shaded]
  17. tableofcontents[sections={3}]
  18. tableofcontents[sections={4-5},sectionstyle=shaded,subsectionstyle=shaded]
  19. }
  20. only<4>{
  21. tableofcontents[sections={1-3},sectionstyle=shaded,subsectionstyle=shaded]
  22. tableofcontents[sections={4}]
  23. tableofcontents[sections={5},sectionstyle=shaded,subsectionstyle=shaded]
  24. }
  25. only<5>{
  26. tableofcontents[sections={1-4},sectionstyle=shaded,subsectionstyle=shaded]
  27. tableofcontents[sections={5}]
  28. }
  29. end{frame}
  30.  
  31. section{Section 1}
  32. begin{frame}{Frame 1}
  33. end{frame}
  34.  
  35. section{Section 2}
  36. begin{frame}{Frame 2}
  37. end{frame}
  38.  
  39. section{Section 3}
  40. begin{frame}{Frame 3}
  41. end{frame}
  42.  
  43. section{Section 4}
  44. begin{frame}{Frame 4}
  45. end{frame}
  46.  
  47. section{Section 5}
  48. begin{frame}{Frame 5}
  49. end{frame}
  50.  
  51. end{document}
  52.  
  53. begin{frame}
  54. titlepage
  55. end{frame}
  56.  
  57. begin{frame}
  58. frametitle{Plan}
  59. tableofcontents[pausesections]
  60. end{frame}
  61.  
  62. AtBeginSection[]{
  63.  
  64. begin{frame}
  65. frametitle{Plan}
  66. tableofcontents[currentsection]
  67. end{frame}}
  68.  
  69. documentclass{beamer}
  70. usetheme{Madrid}
  71. newcommandtocforsect[2]{%
  72. begingroup
  73. edefsafesection{thesection}
  74. setcounter{section}{#1}
  75. tableofcontents[#2,currentsection]
  76. setcounter{section}{safesection}
  77. endgroup
  78. }
  79. begin{document}
  80. begin{frame}{Overview}
  81. only<1>{tocforsect{1}{sectionstyle=shaded,subsectionstyle=shaded}}
  82. only<2>{tocforsect{2}{sectionstyle=shaded,subsectionstyle=shaded}}
  83. only<3>{tocforsect{3}{sectionstyle=shaded,subsectionstyle=shaded}}
  84. only<4>{tocforsect{4}{sectionstyle=shaded,subsectionstyle=shaded}}
  85. only<5>{tocforsect{5}{sectionstyle=shaded,subsectionstyle=shaded}}
  86. end{frame}
  87. section{Section 1}
  88. begin{frame}{Frame 1}
  89. end{frame}
  90.  
  91. section{Section 2}
  92. begin{frame}{Frame 2}
  93. end{frame}
  94.  
  95. section{Section 3}
  96. begin{frame}{Frame 3}
  97. end{frame}
  98.  
  99. section{Section 4}
  100. begin{frame}{Frame 4}
  101. end{frame}
  102.  
  103. section{Section 5}
  104. begin{frame}{Frame 5}
  105. end{frame}
  106.  
  107. end{document}
  108.  
  109. setbeamercovered{transparent}% see beamer documentation p 190
  110. beamerdefaultoverlayspecification{<+>}% see beamer documentation p 89
  111.  
  112. documentclass{beamer}
  113. usetheme{Madrid}
  114.  
  115. newcommand{mypause}[1][+]{onslide<#1>}
  116. begin{document}
  117. begin{frame}{Overview}
  118. setbeamercovered{transparent}% doc p 190
  119. letpausemypause
  120. tableofcontents[pausesections]
  121. end{frame}
  122.  
  123. section{Section 1}
  124. begin{frame}{Frame 1}
  125. end{frame}
  126.  
  127. section{Section 2}
  128. begin{frame}{Frame 2}
  129. end{frame}
  130.  
  131. section{Section 3}
  132. begin{frame}{Frame 3}
  133. end{frame}
  134.  
  135. section{Section 4}
  136. begin{frame}{Frame 4}
  137. end{frame}
  138.  
  139. section{Section 5}
  140. begin{frame}{Frame 5}
  141. end{frame}
  142.  
  143. end{document}
  144.  
  145. documentclass{beamer}
  146. usetheme{Madrid}
  147.  
  148. begin{document}
  149. begin{frame}{Contents}
  150. tableofcontents
  151. end{frame}
  152.  
  153. section{Section 1}
  154. tableofcontents[currentsection]
  155. begin{frame}{Frame 1.1}
  156. end{frame}
  157. begin{frame}{Frame 1.2}
  158. end{frame}
  159. begin{frame}{Frame 1.3}
  160. end{frame}
  161. section{Section 2}
  162. tableofcontents[currentsection]
  163. begin{frame}{Frame 2.1}
  164. end{frame}
  165. begin{frame}{Frame 2.2}
  166. end{frame}
  167. begin{frame}{Frame 2.3}
  168. end{frame}
  169. section{Section 3}
  170. tableofcontents[currentsection]
  171. begin{frame}{Frame 3.1}
  172. end{frame}
  173. begin{frame}{Frame 3.2}
  174. end{frame}
  175. begin{frame}{Frame 3.3}
  176. end{frame}
  177. section{Section 4}
  178. tableofcontents[currentsection]
  179. begin{frame}{Frame 4.1}
  180. end{frame}
  181. begin{frame}{Frame 4.2}
  182. end{frame}
  183. begin{frame}{Frame 4.3}
  184. end{frame}
  185. section{Section 5}
  186. tableofcontents[currentsection]
  187. begin{frame}{Frame 5.1}
  188. end{frame}
  189. begin{frame}{Frame 5.2}
  190. end{frame}
  191. begin{frame}{Frame 5.3}
  192. end{frame}
  193. end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement