-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathpre.tex
187 lines (163 loc) · 7.6 KB
/
pre.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
\documentclass{beamer}
\usepackage[polyu,en]{collegeBeamer}
% when using Chinese, uncomment the following line
% \usepackage{xeCJK}
% meta-data
\title{College Beamer\\ Presentation Themes}
\subtitle{Using \LaTeX\ to prepare slides}
\author{\href{mailto:[email protected]}{Qi-long Liu (Kirov)}}
\date{Created 22 May 2022\\Updated 20 Sep 2024}
% document body
\begin{document}
\maketitle
\begin{frame}
This template is a secondary creation of \bhref{https://www.overleaf.com/latex/templates/sintef-presentation/jhbhdffczpnx}{SINTEF Presentation} template from \bhref{mailto:[email protected]}{Federico Zenith} \vspace{\baselineskip}
Following is a brief introduction written by \bhref{mailto:[email protected]}{Federico Zenith} about how to use \LaTeX\ and beamer to prepare slides. All rights reserved by him\vspace{\baselineskip}
This template is released under \bhref{https://creativecommons.org/licenses/by-nc/4.0/legalcode}{Creative Commons CC BY 4.0} license
\end{frame}
\section{Introduction}
\begin{frame}{Beamer for SINTEF slides}{\thesection \, \secname}
\begin{itemize}
\item We assume you can use \LaTeX; if you cannot, \bhref{http://en.wikibooks.org/wiki/LaTeX/}{you can learn it here}
\item Beamer is one of the most popular and powerful document classes for presentations in \LaTeX
\item Beamer has also a detailed \bhref{http://www.ctan.org/tex-archive/macros/latex/contrib/beamer/doc/beameruserguide.pdf}{user manual}
\item Here we will present only the most basic features to get you up to speed
\end{itemize}
\end{frame}
\begin{frame}{Beamer vs. PowerPoint}
Compared to PowerPoint, using \LaTeX\ is better because:
\begin{itemize}
\item It is not What-You-See-Is-What-You-Get, but
What-You-\emph{Mean}-Is-What-You-Get:\\
you write the content, the computer does the typesetting
\item Produces a \texttt{pdf}: no problems with fonts, formulas, program versions
\item Easier to keep consistent style, fonts, highlighting, etc.
\item Math typesetting in \TeX\ is the best:
\begin{equation*}
\mathrm{i}\,\hslash\frac{\partial}{\partial t} \Psi(\mathbf{r},t) =
-\frac{\hslash^2}{2\,m}\nabla^2\Psi(\mathbf{r},t)
+ V(\mathbf{r})\Psi(\mathbf{r},t)
\end{equation*}
\end{itemize}
\end{frame}
\section{Editing}
\begin{frame}[fragile]{Selecting the Class}
After the last update to the graphic profile, the \texttt{sintef} theme for
Beamer has been updated into a full-fledged class.
To start working with \texttt{sintefbeamer}, start a \LaTeX\ document with the preamble:
\begin{block}{Minimum Beamer Document}
\begin{lstlisting}[language=TeX]
\documentclass{beamer}
\begin{document}
\begin{frame}{Hello, world!}
\end {frame}
\end{document}\end{lstlisting}
\end{block}
\end{frame}
\begin{frame}[fragile]{Title page}
To set a typical title page, you call some commands in the preamble:
\begin{block}{The Commands for the Title Page}
\begin{lstlisting}[language=TeX]
\title{Sample Title}
\subtitle{Sample subtitle}
\author{First Author, Second Author}
\date{Defaults to today's}\end{lstlisting}
\end{block}
You can then write out the title page with \verb|\maketitle|.
You can set a different background image than the default one with the \verb|\titlebackground| command, set before \verb|\maketitle|.
In the \texttt{backgrounds} folder, you can find a lot of standard backgrounds for SINTEF presentation title pages.
\end{frame}
\begin{frame}[fragile]{Writing a Simple Slide}
\framesubtitle{It's really easy!}
\begin{itemize}[<+->]
\item A typical slide has bulleted lists
\item These can be uncovered in sequence
\end{itemize}
\begin{block}{Code for a Page with an Itemised List}<+->
\begin{lstlisting}[language=TeX]
\begin{frame}
\frametitle{Writing a Simple Slide}
\framesubtitle{It's really easy!}
\begin{itemize}[<+->]
\item A typical slide has bulleted lists
\item These can be uncovered in sequence
\end{itemize}
\end{frame}\end{lstlisting}
\end{block}
\end{frame}
\begin{frame}[fragile]{Adding images}
Adding images works like in normal \LaTeX:
\begin{columns}
\begin{column}{0.7\textwidth}
\begin{block}{Code for Adding Images}
\begin{lstlisting}[language=TeX]
\usepackage{graphicx}
% ...
\includegraphics
[width=\textwidth]{gallery/img.jpg}
\end{lstlisting}
\end{block}
\end{column}
\begin{column}{0.3\textwidth}
\vskip5pt\includegraphics[width=\textwidth]{gallery/img.jpg}
\end{column}
\end{columns}
\end{frame}
\begin{frame}[fragile]{Splitting in Columns}
Splitting the page is easy and common; typically, one side has a picture and the other text:
\begin{columns}
\begin{column}{0.6\textwidth}
This is the first column
\end{column}
\begin{column}{0.3\textwidth}
And this the second
\end{column}
\end{columns}
\begin{block}{Column Code}
\begin{lstlisting}[language=TeX]
\begin{columns}
\begin{column}{0.6\textwidth}
This is the first column
\end{column}
\begin{column}{0.3\textwidth}
And this the second
\end{column}
% There could be more!
\end{columns}\end{lstlisting}
\end{block}
\end{frame}
\begin{frame}[fragile]
\frametitle{Fonts}
\begin{itemize}
\item The paramount task of fonts is being readable
\item There are good ones...
\begin{itemize}
\item {\textrm{Use serif fonts only with high-definition projectors}}
\item {\textsf{Use sans-serif fonts otherwise (or if you simply prefer them)}}
\end{itemize}
\item ... and not so good ones:
\begin{itemize}
\item {\texttt{Never use monospace for normal text}}
\item {\frakfamily Gothic, calligraphic or weird fonts: should always: be
avoided}
\end{itemize}
\end{itemize}
\end{frame}
\begin{frame}[fragile]{Look}
\begin{itemize}
\item To change the colour of the title dash, give one of the class options \texttt{cyandash} (default), \texttt{greendash}, \texttt{magentadash}, \texttt{yellowdash}, or \texttt{nodash}.
\item To change between the light and dark themes, give the class options \texttt{light} (default) or \texttt{dark}. It is not possible to switch theme for one slide because of the design of Beamer---and it's probably a good thing.
\item To insert a final slide, use \verb|\backmatter|.
\item The aspect ratio defaults to 16:9, but you can change it to 4:3 for old projectors by passing the class option \texttt{aspectratio=43}; any other values accepted by Beamer are also possible.
\end{itemize}
\end{frame}
\section{Summary}
\begin{frame}
\frametitle{Good Luck!}
\begin{itemize}
\item Enough for an introduction! You should know enough by now
\item If you have corrections or suggestions, \bhref{mailto:[email protected]}{send them to me!}
\end{itemize}
\end{frame}
\QApage
\end{document}