-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathqu-slides-example.tex
347 lines (288 loc) · 8.87 KB
/
qu-slides-example.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
% QU-SLIDES-EXAMPLE.TEX
% Created 2022/05/01 by Joshua A. Marshall <[email protected]>
\documentclass[fleqn]{qu-slides}
% ---------------------------------------------------------------------------
% INSTRUCTIONS
%
% To change the background for a slide (and subsequent slides),
% invoke one of the following commands to switch backgrounds.
%
% QUEEN'S UNIVERSITY STYLES
%
% \SlideTitleBlue
% \SlideTitleRed
% \SlideTitleGold
% \SlideTitleGrey
% \SlideThemeWhite
% \SlideThemeBlue
% \SlideThemeGrey
%
% SMITH ENGINEERING STYLES
%
% \SmithTitleGold
% \SmithTitleGrey
% \SmithBlueGold
% \SmithWhiteGold
% \SmithWhiteGrey
%
% GENERIC SLIDE STYLES
%
% \SlideBlack
% \SlideBlue
% \SlideRed
% \SlideWhite
% \SlideGrey
% ---------------------------------------------------------------------------
% TEMPLATE OPTIONS
% Uncomment the line below if you want to remove all slide numbers
% \setbeamertemplate{footline}{~}
% To show the notes (for use, for example, with the SlidePilot app)
% \setbeameroption{show notes on second screen}
% ---------------------------------------------------------------------------
% PRESENTATION INFO
\title{The Presentation Title}
\subtitle{A Subtitle for the Presentation}
\author{Firstname M.~Lastname}
\institute{
Department of Something \\
Queen's University \\
Kingston, Ontario, Canada
}
\date{\today}
% ---------------------------------------------------------------------------
\begin{document}
% ---------------------------------------------------------------------------
% TITLE SLIDES
% Default theme title slide (blue)
\SlideTitleBlue
\begin{frame}[plain]
\titlepage
\end{frame}
% Alternate theme title slide (red)
\SlideTitleRed
\begin{frame}[plain]
\titlepage
\end{frame}
% Alternate theme title slide (gold)
\SlideTitleGold
\begin{frame}[plain]
\titlepage
\end{frame}
% Alternate theme title slide (grey)
\SlideTitleGrey
\begin{frame}[plain]
\titlepage
\end{frame}
% Default Smith theme title slide (gold)
\SmithTitleGold
\begin{frame}[plain]
\titlepage
\end{frame}
% Alternate Smith theme title slide (grey)
\SmithTitleGrey
\begin{frame}[plain]
\titlepage
\end{frame}
% ---------------------------------------------------------------------------
% OUTLINE SLIDE
\SlideThemeWhite
\begin{frame}
\frametitle{Outline}
\tableofcontents
\end{frame}
% ---------------------------------------------------------------------------
% NEW SECTION SLIDE
\section{Introduction}
\SlideThemeBlue
\begin{frame}[plain]
\flushleft
{\bf\LARGE \insertsection}
\end{frame}
% ---------------------------------------------------------------------------
\SlideThemeWhite
\begin{frame}
\frametitle{Basic Theme Slide with Bullets}
\begin{itemize}
\item Itemized bullet number 1
\begin{itemize}
\item Sub-bullet number 1.1
\item Sub-bullet number 1.2
\end{itemize}
\item Itemized bullet number 2
\end{itemize}
\end{frame}
% This is how to add notes to the slide with the notes feature in Beamer
% \note[item]{This is note 1}
% \note[item]{This is note 2}
% ---------------------------------------------------------------------------
\SlideThemeWhite
\begin{frame}
\frametitle{Colourful Slide with a Numbered List}
\begin{enumerate}
\item Enumerated item number 1
\item Enumerated item number 2
\end{enumerate}
\end{frame}
% ---------------------------------------------------------------------------
% NEW SECTION SLIDE
\section{Another Section}
\SlideThemeGrey
\begin{frame}[plain]
\flushleft
{\bf\LARGE \insertsection}
\end{frame}
% ---------------------------------------------------------------------------
\SlideWhite
\begin{frame}[fragile]
\frametitle{Code with Syntax Highlighting}
\begin{block}{Example Python Code Listing}
\begin{minted}{python}
import numpy as np
x = np.zeros(5)
\end{minted}
\end{block}
\end{frame}
% ---------------------------------------------------------------------------
\SlideWhite
\begin{frame}[fragile]
\frametitle{Example Theorem Environment}
\begin{thm}
The equilibrium point $\mbf{x}=\mbf{0}$ of $\dot{\mbf{x}}=\mbf{Fx}$ is asymptotically stable if and only if the eigenvalues $\lambda_{i}$ of $\mbf{F}$ satisfy $\textup{Re}\lambda_{i}<0$
\end{thm}
\end{frame}
% ---------------------------------------------------------------------------
\SlideWhite
\begin{frame}[fragile]
\frametitle{Example Alert Block}
\begin{alertblock}{This is an Alert Block}
Use this environment to draw attention to important stuff
\end{alertblock}
\end{frame}
% ---------------------------------------------------------------------------
\SlideWhite
\begin{frame}
\frametitle{Adding a Figure and Using a Blank Slide}
\begin{columns}
\column{0.5\textwidth}
\begin{itemize}
\item This is a standard bullet item
\item[] This is another bullet item, but without the bullet
\item Notice how to include a caption
\end{itemize}
\column{0.5\textwidth}
\begin{figure}
\flushleft
\includegraphics[width=1.0\columnwidth]{logo/qu-logo-vertical-colour.pdf}
\caption{This is the Queen's logo}
\end{figure}
\end{columns}
\end{frame}
% ---------------------------------------------------------------------------
\SlideWhite
\begin{frame}
\frametitle{Here is a Table Example}
\begin{table}
\caption{This is an example of a table caption}
\flushleft
\begin{tabular}{lccc}
\toprule
\bf Small column & \multicolumn{3}{c}{\bf Big column} \\
\midrule
Grouped items & \multicolumn{3}{c}{Item 1} \\
\cmidrule{2-4}
& \multicolumn{3}{c}{Item 2} \\
\midrule
Usual row & Spam & Bacon & Eggs \\
\bottomrule
\end{tabular}
\end{table}
\end{frame}
% ---------------------------------------------------------------------------
% TODO: Insert an example with a table
% ---------------------------------------------------------------------------
\SlideBlack
\begin{frame}
\frametitle{This Slide is Black and Has Maths}
\begin{columns}
\column{0.5\textwidth}
Try to integrate this function
\begin{equation*}
x_0=\int_0^\infty f_x(\tau)\dif\tau
\end{equation*}
where $\tau\in\Real$ is a variable
\column{0.5\textwidth}
\begin{thm}
This is a very important theorem
\end{thm}
\end{columns}
\end{frame}
% ---------------------------------------------------------------------------
\SlideBlue
\begin{frame}
\frametitle{This Slide is Blue and Has Maths}
Try to integrate this function
\begin{equation*}
x_0=\int_0^\infty f_x(\tau)d\tau
\end{equation*}
where $\tau\in\Real$ is a variable
\end{frame}
% ---------------------------------------------------------------------------
\SlideGrey
\begin{frame}
\frametitle{This Slide is Grey and Has Maths}
Try to integrate this function
\begin{equation*}
x_0=\int_0^\infty f_x(\tau)d\tau
\end{equation*}
where $\tau\in\Real$ is a variable
\end{frame}
% ---------------------------------------------------------------------------
\SlideBlue
\begin{frame}[plain]
\centering
\includegraphics[height=0.9\textheight]{logo/qu-logo-vertical-reverse.pdf}
\end{frame}
% ---------------------------------------------------------------------------
\SlideRed
\begin{frame}[plain]
\centering
\includegraphics[height=0.9\textheight]{logo/qu-logo-vertical-reverse.pdf}
\end{frame}
% ---------------------------------------------------------------------------
\SlideGrey
\begin{frame}[plain]
\centering
\includegraphics[height=0.9\textheight]{logo/qu-logo-vertical-colour.pdf}
\end{frame}
% ---------------------------------------------------------------------------
\SlideThemeGrey
\begin{frame}[plain]
\begin{columns}
\column{0.4\textwidth}
\centering
\includegraphics[width=\textwidth]{logo/qu-logo-vertical-colour.pdf}
\column{0.6\textwidth}
{\large\bf \insertauthor} \\
\small \insertinstitute \\
Tel: +1 613-533-6000 ext.\ 55555 \\
Email: [email protected] \\
Web: www.queensu.ca
\end{columns}
\end{frame}
% ---------------------------------------------------------------------------
\SmithWhiteGold
\begin{frame}[plain]
\begin{columns}
\column{0.4\textwidth}
\centering
\includegraphics[width=\textwidth]{logo/smith-logo-vertical.pdf}
\column{0.6\textwidth}
{\large\bf \insertauthor} \\
\small \insertinstitute \\
Tel: +1 613-533-6000 ext.\ 55555 \\
Email: [email protected] \\
Web: www.queensu.ca
\end{columns}
\end{frame}
% ---------------------------------------------------------------------------
\end{document}