Debian Codegraph @

texmf-dist/doc/latex/beamer-verona/beamer-verona-sidebar.tex

raw
1 % !TEX TS-program = pdflatex
2 % !TEX encoding = UTF-8 Unicode
3
4 \documentclass{beamer}
5
6 \usetheme[
7 sidebar,
8 % red,
9 % gray,
10 % graytitle,
11 % colorblocks,
12 % noframetitlerule
13 ]{Verona}
14
15 \usepackage[T1]{fontenc}
16 \usepackage[utf8]{inputenc}
17 \usepackage{lipsum}
18
19 \title{A simple template}
20 \subtitle{With a subtitle}
21 \author[Ivan Valbusa]{Ivan Valbusa}
22 \mail{ivan dot valbusa at univr dot it}
23 \institute[University of Verona]{Department of Philology, Literature, and Linguistics\\
24 University of Verona}
25 \date{November 27, 2015}
26 \titlegraphic[width=5cm]{plato-aristotle}{}
27
28 %\setbeamersize{sidebar width right=5.5cm}
29 %\setbeamerfont*{quotation}{series=\rmfamily\em}
30
31 \begin{document}
32
33 \maketitle
34 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
35 % ----------- FRAME ------------
36 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
37 \begin{frame}{Lorem ipsum}{Sed commodo posuere pede}
38
39 \sidegraphics<1>{plato-aristotle}{opacity=0.3,scale=1.1}%
40 \sidegraphics<2>{plato-aristotle}{opacity=0.6,scale=1.1}
41 \sidegraphics<3>{plato-aristotle}{scale=1.1}
42
43 \begin{block}{Block title}
44 Cras viverra metus rhoncus sem.
45 \end{block}
46
47 \begin{itemize}
48 \item Lorem ipsum dolor sit amet
49 \item Consectetuer adipiscing elit
50 \item Ut purus elit, vestibulum ut
51 \end{itemize}
52
53 \begin{quotation}[Donald E. Knuth, \emph{The \TeX book}]
54 Gentle reader: This is a handbook about \TeX, a new typesetting system G intended for the creation of beautiful books—and especially for books that contain a lot of mathematics.
55 \end{quotation}
56
57 \end{frame}
58
59 % Set the sidebar image for all the following frames:
60 \setbeamertemplate{sidebar right}{%
61 \sidegraphics[trim=1.5cm 0 0 0,clip]{plato-aristotle}{scale=3}}
62
63 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
64 % ----------- FRAME ------------
65 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
66 \begin{frame}{Lorem ipsum}{Sed commodo posuere pede}
67
68 \begin{alertblock}{Alert block title}
69 Nulla et lectus vestibulum urna
70 \end{alertblock}
71
72
73 \begin{enumerate}[<+->]
74 \item Curabitur dictum gravida
75 \item Nam arcu libero eget
76 \item Consectetuer id vulputate
77 \end{enumerate}
78
79 \begin{quotation}[Donald E. Knuth, \emph{The \TeX book}]
80 Gentle reader: This is a handbook about \TeX, a new typesetting system G intended for the creation of beautiful books—and especially for books that contain a lot of mathematics.
81 \end{quotation}
82
83 \end{frame}
84 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
85 % ----------- FRAME ------------
86 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
87 \begin{frame}{Lorem ipsum}{Sed commodo posuere pede}
88
89 \begin{exampleblock}{Example block title}
90 Aenean faucibus. Morbi dolor nulla, malesuada eu, pulvinar at,
91 mollis ac
92 \end{exampleblock}
93
94 \begin{description}[<+->]
95 \item[one] \alert<2>{Duis eget orci sit amet}
96 \item[two] \alert<3>{Orci dignissim rutrum}
97 \item[three] \alert<4>{Sodales, sollicitudin vel, wisi}
98 \end{description}
99
100 \onslide<4>
101
102 \begin{quotation}[Donald E. Knuth, \emph{The \TeX book}]
103 Gentle reader: This is a handbook about \TeX, a new typesetting system G intended for the creation of beautiful books—and especially for books that contain a lot of mathematics.
104 \end{quotation}
105
106 \sidegraphics[trim=4cm 7cm 1cm 0,clip,width=2cm]{plato-aristotle}{xshift=3cm,opacity=0.8}
107
108
109 \end{frame}
110
111 \end{document}
112
113