-
Notifications
You must be signed in to change notification settings - Fork 44
/
demo-ntnu-horizontal.tex
31 lines (26 loc) · 1.34 KB
/
demo-ntnu-horizontal.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
\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=norsk, style=horizontal]{NTNU}
%
% Edit your meta data here
%
\title{\LaTeX{}-Beamer Style for NTNU}
\subtitle{Demo of the \texttt{horizontal} style}
\author{Ronny Bergmann}
\date{\today}
\begin{document}
\maketitle
\begin{frame}[fragile]{A slide in \texttt{horizontal} style}
This style is set up with
\lstinline!\usetheme[slogan=norsk, style=horizontal]{NTNU}!
Here you can see that the \texttt{horizontal} style has a horizontal line in the footer with the logo in white and the name of the university on the title (see previous slide).
The slogan can be english or norwegian depending on the \lstinline!slogan=! option, here it is set to \lstinline!norsk!.
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=sans! (default) 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}