Contact
CoCalc Logo Icon
StoreFeaturesDocsShareSupport News AboutSign UpSign In
| Download

Github repo cloud-examples: https://github.com/sagemath/cloud-examples

Views: 8066
License: MIT
1
\documentclass{beamer}
2
3
% This file is a solution template for:
4
5
% - Giving a talk on some subject.
6
% - The talk is between 15min and 45min long.
7
% - Style is ornate.
8
9
% for more examples, see:
10
% https://www.ctan.org/tex-archive/macros/latex/contrib/beamer/solutions
11
% and about beamer here:
12
% https://www.ctan.org/tex-archive/macros/latex/contrib/beamer
13
14
% adding SageMath processing capabilities
15
\usepackage{sagetex}
16
17
18
% Copyright 2004 by Till Tantau <[email protected]>.
19
%
20
% In principle, this file can be redistributed and/or modified under
21
% the terms of the GNU Public License, version 2.
22
%
23
% However, this file is supposed to be a template to be modified
24
% for your own needs. For this reason, if you use this file as a
25
% template and not specifically distribute it as part of a another
26
% package/program, I grant the extra permission to freely copy and
27
% modify this file as you see fit and even to delete this copyright
28
% notice.
29
30
31
\mode<presentation>
32
{
33
\usetheme{Warsaw}
34
% or ...
35
36
\setbeamercovered{transparent}
37
% or whatever (possibly just delete it)
38
}
39
40
41
\usepackage[english]{babel}
42
% or whatever
43
44
\usepackage[utf8]{inputenc}
45
% or whatever
46
47
\usepackage{times}
48
\usepackage[T1]{fontenc}
49
% Or whatever. Note that the encoding and the font should match. If T1
50
% does not look nice, try deleting the line with the fontenc.
51
52
53
\title[Short Paper Title] % (optional, use only with long paper titles)
54
{Presentation Title}
55
56
\subtitle
57
{Presentation Subtitle} % (optional)
58
59
\author[Author, Another] % (optional, use only with lots of authors)
60
{F.~Author\inst{1} \and S.~Another\inst{2}}
61
% - Use the \inst{?} command only if the authors have different
62
% affiliation.
63
64
\institute[Universities of Somewhere and Elsewhere] % (optional, but mostly needed)
65
{
66
\inst{1}%
67
Department of Computer Science\\
68
University of Somewhere
69
\and
70
\inst{2}%
71
Department of Theoretical Philosophy\\
72
University of Elsewhere}
73
% - Use the \inst command only if there are several affiliations.
74
% - Keep it simple, no one is interested in your street address.
75
76
\date[Short Occasion] % (optional)
77
{Date / Occasion}
78
79
\subject{Talks}
80
% This is only inserted into the PDF information catalog. Can be left
81
% out.
82
83
84
85
% If you have a file called "university-logo-filename.xxx", where xxx
86
% is a graphic format that can be processed by latex or pdflatex,
87
% resp., then you can add a logo as follows:
88
89
% \pgfdeclareimage[height=0.5cm]{university-logo}{university-logo-filename}
90
% \logo{\pgfuseimage{university-logo}}
91
92
93
94
% Delete this, if you do not want the table of contents to pop up at
95
% the beginning of each subsection:
96
\AtBeginSubsection[]
97
{
98
\begin{frame}<beamer>{Outline}
99
\tableofcontents[currentsection,currentsubsection]
100
\end{frame}
101
}
102
103
104
% If you wish to uncover everything in a step-wise fashion, uncomment
105
% the following command:
106
107
%\beamerdefaultoverlayspecification{<+->}
108
109
110
\begin{document}
111
112
\begin{frame}
113
\titlepage
114
\end{frame}
115
116
\begin{frame}{Outline}
117
\tableofcontents
118
% You might wish to add the option [pausesections]
119
\end{frame}
120
121
122
% Since this a solution template for a generic talk, very little can
123
% be said about how it should be structured. However, the talk length
124
% of between 15min and 45min and the theme suggest that you stick to
125
% the following rules:
126
127
% - Exactly two or three sections (other than the summary).
128
% - At *most* three subsections per section.
129
% - Talk about 30s to 2min per frame. So there should be between about
130
% 15 and 30 frames, all told.
131
132
\section{Introduction}
133
134
\subsection[Short First Subsection Name]{First Subsection Name}
135
136
\begin{frame}{Make Titles Informative. Use Uppercase Letters.}{Subtitles are optional.}
137
% - A title should summarize the slide in an understandable fashion
138
% for anyone how does not follow everything on the slide itself.
139
140
\begin{itemize}
141
\item
142
Use \texttt{itemize} a lot.
143
\item
144
Use very short sentences or short phrases.
145
\end{itemize}
146
\end{frame}
147
148
\begin{frame}{Make Titles Informative.}
149
150
You can create overlays\dots
151
\begin{itemize}
152
\item using the \texttt{pause} command:
153
\begin{itemize}
154
\item
155
First item.
156
\pause
157
\item
158
Second item.
159
\end{itemize}
160
\item
161
using overlay specifications:
162
\begin{itemize}
163
\item<3->
164
First item.
165
\item<4->
166
Second item.
167
\end{itemize}
168
\item
169
using the general \texttt{uncover} command:
170
\begin{itemize}
171
\uncover<5->{\item
172
First item.}
173
\uncover<6->{\item
174
Second item.}
175
\end{itemize}
176
\end{itemize}
177
\end{frame}
178
179
180
\subsection{Second Subsection}
181
182
\begin{sagesilent}
183
f(x) = cos(2*x) / (1+x^2)
184
\end{sagesilent}
185
186
\begin{frame}{Embedded SageMath}
187
188
\begin{block}{SageMath variables in text}
189
The first derivative of $f(x) := \sage{f(x)}$ is $\sage{diff(f,x)(x)}$.
190
\end{block}
191
\end{frame}
192
193
\begin{frame}{Make Titles Informative.}
194
\end{frame}
195
196
197
198
\section*{Summary}
199
200
\begin{frame}{Summary}
201
202
% Keep the summary *very short*.
203
\begin{itemize}
204
\item
205
The \alert{first main message} of your talk in one or two lines.
206
\item
207
The \alert{second main message} of your talk in one or two lines.
208
\item
209
Perhaps a \alert{third message}, but not more than that.
210
\end{itemize}
211
212
% The following outlook is optional.
213
\vskip0pt plus.5fill
214
\begin{itemize}
215
\item
216
Outlook
217
\begin{itemize}
218
\item
219
Something you haven't solved.
220
\item
221
Something else you haven't solved.
222
\end{itemize}
223
\end{itemize}
224
\end{frame}
225
226
227
\end{document}
228
229