\documentclass{beamer}
\usepackage{amsfonts,amsmath,oldgerm}
\usetheme{sintef}
\newcommand{\testcolor}[1]{\colorbox{#1}{\textcolor{#1}{test}}~\texttt{#1}}
\usefonttheme[onlymath]{serif}
\titleimage*{images/default}
\newcommand{\hrefcol}[2]{\textcolor{sintefgreen}{\href{#1}{#2}}}
\title{An Introduction to the SINTEF Beamer Style}
\subtitle{Using \LaTeX\ to prepare slides}
\author{\href{mailto:federico.zenith@sintef.no}{Federico Zenith}}
\institute{SINTEF Mathematics \& Cybernetics}
\date{Written on \today}
\begin{document}
\maketitle
\begin{frame}{Beamer for SINTEF slides}
\begin{itemize}
\item We assume you can use \LaTeX; if you cannot,
\hrefcol{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
\hrefcol{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}
\begin{frame}[fragile]{Getting Started}
\framesubtitle{Selecting the SINTEF Theme}
To start working with \texttt{sintefbeamer}, start a \LaTeX\ document with the
preamble:
\begin{block}{Minimum SINTEF Beamer Document}
\verb|\documentclass{beamer}|\\
\verb|\usetheme{sintef}|\\
\verb|\begin{document}|\\
\verb|\begin{frame}{Hello, world!}|\\
\verb|\end{frame}|\\
\verb|\end{document}|\\
\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{verbatim}
\title{Sample Title}
\subtitle{Sample subtitle}
\author{First Author, Second Author}
\date{\today} % Can also be (ab)used for conference name &c.
\end{verbatim}
\end{block}
You can then write out the title page with \verb|\maketitle|.
To set a title image in the right half of the title page, use the
\verb|\titleimage| command before \verb|\maketitle|; its only argument is
the name (or path) of a graphic file.
If you use the \textbf{starred version} \verb|\titleimage*|, the image
will be set as background.
You can download all of SINTEF's stock images from
\hrefcol{https://sintef.templafy.com/images}{Templafy}.
\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{verbatim}
\begin{frame}{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{verbatim}
\end{block}
\end{frame}
\themecolor{white}
\begin{frame}[fragile]{Changing Slide Style}
\begin{itemize}
\item You can select the white or blue \textbf{slide style} at any point in the
presentation with \verb|\themecolor{blue}| (default) or \verb|\themecolor{white}|
\item Just because you can, does not mean that you \emph{should}
\item Set one in the preamble, and stick with it
\item \ldots\ unless you know what you are doing
\end{itemize}
\end{frame}
\themecolor{blue}
\begin{frame}[fragile]{Blocks}
\begin{columns}
\begin{column}{0.3\textwidth}
\begin{block}{Standard Blocks}
These have a color coordinated with the footline (and grey in the blue theme)
\begin{verbatim}
\begin{block}{title}
content...
\end{block}
\end{verbatim}
\end{block}
\end{column}
\begin{column}{0.7\textwidth}
The standard template has blocks with four colours; these can be realised with the
\verb|colorblock| environment, which takes three arguments (first optional): font color
(default \verb|sintefblue|), block colour and block title.
\small
\begin{verbatim}
\begin{colorblock}[black]{sinteflightgreen}{title}
content...
\end{colorblock}
\end{verbatim}
The ``official'' colours of colour blocks are: \testcolor{sinteflighterred},
\testcolor{sinteflighteryellow}, \testcolor{sinteflightgreen}, and
\testcolor{cornflower}. (The last is not in the profile manual\ldots)
\end{column}
\end{columns}
\end{frame}
\begin{frame}{Colour blocks: standard colours}
\begin{columns}
\begin{column}{0.22\textwidth}
\begin{colorblock}{sinteflighterred}{\includegraphics[width=\columnwidth]{images/SINTEFemblemRGB.pdf} Overskrift}
\scriptsize Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris.
\end{colorblock}
\end{column}
\hfill
\begin{column}{0.22\textwidth}
\begin{colorblock}{sinteflighteryellow}{\includegraphics[width=\columnwidth]{images/SINTEFemblemRGB.pdf} Overskrift}
\scriptsize Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris.
\end{colorblock}
\end{column}
\hfill
\begin{column}{0.22\textwidth}
\begin{colorblock}{sinteflightgreen}{\includegraphics[width=\columnwidth]{images/SINTEFemblemRGB.pdf} Overskrift}
\scriptsize Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris.
\end{colorblock}
\end{column}
\hfill
\begin{column}{0.22\textwidth}
\begin{colorblock}{cornflower}{\includegraphics[width=\columnwidth]{images/SINTEFemblemRGB.pdf} Overskrift}
\scriptsize Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris.
\end{colorblock}
\end{column}
\end{columns}
\end{frame}
\begin{frame}[fragile]{Using Colours}
\begin{itemize}[<alert@2>]
\item You can use colours with the
\verb|\textcolor{<color name>}{text}| command
\item The colours are defined in the \texttt{sintefcolor} package:
\begin{itemize}
\item Primary colours: \testcolor{sintefblue} and its sidekick
\testcolor{sintefgrey}
\item Three shades of green: \testcolor{sinteflightgreen},
\testcolor{sintefgreen}, \testcolor{sintefdarkgreen}
\item Additional colours: \testcolor{sintefyellow}, \testcolor{sintefred},
\testcolor{sinteflilla}
\begin{itemize}
\item These have \verb|light| and \verb|lighter| versions
\end{itemize}
\end{itemize}
\item Do \emph{not} abuse colours: \verb|\emph{}| is usually enough
\item Use \verb|\alert{}| to bring the \alert<2->{focus} somewhere
\item<2- | alert@2> If you highlight too much, you don't highlight at all!
\end{itemize}
\end{frame}
\begin{frame}[fragile]{Adding images}
\begin{columns}
\begin{column}{0.7\textwidth}
Adding images works like in normal \LaTeX:
\begin{block}{Code for Adding Images}
\begin{verbatim}
\usepackage{graphicx}
% ...
\includegraphics[width=\textwidth]
{images/SINTEFLogoCentralRGB}
\end{verbatim}
\end{block}
\end{column}
\begin{column}{0.3\textwidth}
\includegraphics[width=\textwidth]
{images/SINTEFLogoCentralRGB}
\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{verbatim}
\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{verbatim}
\end{block}
\end{frame}
\begin{frame}[fragile]{Divider slides}
\framesubtitle{Previously called Section titles, even previously Chapters}
\begin{itemize}
\item When splitting up a very long presentation
\item You must specify a gradient (four default ones), a title, and may add an image
\item The ``official'' colour pairs are:
\begin{itemize}
\item \testcolor{cerulean} and \testcolor{mintgreen}
\item \testcolor{cerulean} and \testcolor{rosepink}
\item \testcolor{sintefgreen} and \testcolor{sandyellow}
\item \testcolor{honeydew} and \testcolor{cornflower}
\end{itemize}
\item Usage: \verb|\divider[image]{colour 1}{colour 2}{Title}|
\item If you have a particularly light colour (like the last pair above),
remember to change the theme to \verb|\themecolor{white}|
\end{itemize}
\end{frame}
\divider{cerulean}{rosepink}{Divider Page Example}
\themecolor{white}
\divider[images/default]{honeydew}{cornflower}{Divider Page Example with figure and theme swap}
\themecolor{blue}
% TODO Statement pages
\begin{frame}[fragile]{Statement slides}
\begin{itemize}
\item If you need some drama in your slides
\item Implemented as an environment, you can specify gradients
(same pairs as above for dividers), a background image,
if the text should be moved on the right side,
and whether to invert text colors.
\end{itemize}
\begin{block}{Statement examples}
\begin{verbatim}
\begin{statement}[gradientleft=cerulean,
gradientright=mintgreen]{A bold claim}
Supporting text here.
\end{statement}
\begin{statement}[image=images/default, position=right,
textcolors=inverted]{A bold claim}
Supporting text here.
\end{statement}\end{verbatim}
\end{block}
\end{frame}
\begin{statement}[gradientleft=cerulean, gradientright=mintgreen]{A bold claim}
Supporting text here.
\end{statement}
\begin{statement}[image=images/default, position=right, textcolors=inverted]{A bold claim}
Supporting text here.
\end{statement}
\begin{frame}[fragile]{Fonts}
\begin{itemize}
\item The recently introduced Aptos font does not currently have a free clone
\begin{itemize}
\item Default is Linux Libertine/Biolinum instead
\item You can use \verb|fontspec| with Xe\LaTeX\ if you \emph{really} want Aptos
\item (Including it in this package is of doubtful legality anyway)
\end{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 insert a final slide with the SINTEF motto, use
\texttt{$\backslash$backmatter}.
\begin{itemize}
\item You can change the motto with \verb|\setmotto| (e.g. to Norwegian)
\end{itemize}
\item The aspect ratio defaults to 16:9, and you should not change it to 4:3
for old projectors as it is inherently impossible to perfectly convert a
16:9 presentation to 4:3 one; spacings \emph{will} break
\begin{itemize}
\item The \texttt{aspectratio} argument to the \texttt{beamer} class is
overridden by the SINTEF theme
\item If you \emph{really} know what you are doing, check the package
code and look for the \texttt{geometry} class.
\end{itemize}
\end{itemize}
\end{frame}
\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,
\hrefcol{mailto:federico.zenith@sintef.no}{send them to me!}
\end{itemize}
\end{frame}
\backmatter
\end{document}