-
Notifications
You must be signed in to change notification settings - Fork 44
/
demo-ntnu-plain.tex
32 lines (26 loc) · 1.35 KB
/
demo-ntnu-plain.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
\documentclass[aspectratio=169]{beamer}
\usepackage[english]{babel}
\usepackage{booktabs,listings}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\lstset{basicstyle=\ttfamily}
\setlength{\parskip}{.5\baselineskip}
\usetheme[slogan=english, style=plain,mathfont=serif]{NTNU}
%
% Edit your meta data here
%
\title{\LaTeX{}-Beamer Style for NTNU}
\subtitle{Demo of the \texttt{plain} style}
\author{Ronny Bergmann}
\date{\today}
\begin{document}
\maketitle
\begin{frame}[fragile]{A slide in \texttt{plain} style}
This style is set up with
\lstinline!\usetheme[slogan=english, style=plain, mathfont=serif]{NTNU}!
Here you can see that the \texttt{plain} (default) style has just a logo in the bottom left and a slide number in the bottom right.
The slogan can be english or norwegian depending on the \lstinline!slogan=! option. Here it is set to \lstinline!english! (default).
The slide number can also have the total number of slides setting \lstinline!frametotal=true!, which is \lstinline!false! (the default) here.
The font in math mode is here set by \lstinline!mathfont=serif! (default: \lstinline!sans!) and looks like this: \[\mathrm{e}^{-\frac{a}{2}x^2} = \sqrt{\frac{1}{2\pi a}} \int_{-\infty}^\infty\mathrm{d}y\, \mathrm{e}^{-\left(\frac{y^2}{2a} +iy x\right)}\]
\end{frame}
\end{document}