Debian Codegraph @

texmf-dist/doc/latex/talk/sidebars-example.tex

raw
1 \documentclass[12pt,screen]{talk}
2 % \documentclass[12pt,slides]{talk}
3 % \documentclass[12pt,notes]{talk}
4
5 \usepackage{talk-sidebars}
6
7
8 \title{My Test Talk}
9 \author[John Doe]{John Doe\thanks{Some institute.}}
10
11
12 \begin{document}
13 \maketitleslide
14
15 \begin{slide}[outline]{My Table of Contents}
16 \tableofcontents
17 \end{slide}
18
19 \section{First Section}
20
21 \begin{slide}{My Title}
22 Try clicking on the section titles in the sidebar.\footnote{This is a
23 footnote.}
24 \end{slide}
25 \begin{notes}
26 Some notes about this slide.
27 \end{notes}
28
29 \subsection{First Subsection}
30
31 \begin{slide}{Another Title}
32 \shiftbox{3em}{5em}{With \texttt{\textbackslash shiftbox}}
33 \shiftbox{20em}{2em}{you can position text and graphics}
34 \shiftbox{6em}{-5em}{anywhere on the slide.}
35 \end{slide}
36
37 \begin{slide}[nosidebar]{Yet Another Title}
38 \twocolumn[0.7]{c}{
39 This slide has no sidebar.
40 }{%
41 We also used \texttt{\textbackslash twocolumn}
42
43 to give it a two-column layout.
44 }
45 \end{slide}
46
47 \subsection{Second Subsection}
48
49 \begin{slide}{First Slide in Second Subsection}
50 Blah blah bla...
51 \end{slide}
52
53 \begin{slide}[notitle]{You can't see this}
54 This slide has no title and no sidebar to make lots of space for content.
55 \end{slide}
56
57 \section{Second Section}
58
59 \begin{slide}{A Slide in Section Two}
60 Even more stuff.
61 \end{slide}
62
63 \subsection{Subsection 2.1}
64 \begin{multislide}{3}{Multislide Example}
65 A few bullet points:
66 \begin{itemize}
67 \item Bullet 1%
68 \fromslide{2}{\item Bullet 2}%
69 {\onlyslide*{3}{\color{red}}\item Bullet 3}
70 \end{itemize}
71 \onlyslide*{1}{You can only see bullets 1 and 3.}%
72 \onlyslide*{2}{You can see all bullets.}%
73 \onlyslide*{3}{Now bullet 3 is red.}%
74 \end{multislide}
75
76 \begin{multislide}{2}{Another Multislide}
77 ding \fromslide{2}{dong.}
78 \end{multislide}
79
80 \end{document}