-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdemo.tex
87 lines (75 loc) · 2.05 KB
/
demo.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
\documentclass{beamer}
\usetheme[bgphoto]{polimi}
% Full instructions available at:
% https://github.com/elauksap/beamerthemepolimi
% Set custom font (requires to compile with XeLaTeX).
\usepackage{ifxetex}
\ifxetex
\usepackage{fontspec}
\setsansfont[Scale=0.95]{Arial}
\fi
\usepackage{lipsum}
\title{Title}
\subtitle{Subtitle}
\author{Author}
\date{dd mm yyyy}
\begin{document}
\begin{frame}
\maketitle
% If the theme option "nologo" is specified, a custom logo
% can be added with the following commands:
%\begin{tikzpicture}[overlay, remember picture]
% \node at (current page.north) [anchor=north, inner sep=2cm]
% {
% \includegraphics[width=0.3\paperwidth]{logo_centrato_BN_negativo.png}
% };
%\end{tikzpicture}
\end{frame}
\begin{frame}{Table of contents}
\tableofcontents
\end{frame}
\section{Section 1}
% Section page.
\begin{frame}[plain]{}
\sectionpage
\end{frame}
\begin{frame}{Slide 1}
\lipsum[1]
\end{frame}
\subsection{Subsection 1.1}
\begin{frame}[plain]{}
\subsectionpage
\end{frame}
\begin{frame}
This frame has an empty title.
\vfill
\begin{itemize}
\item item 1
\begin{itemize}
\item item 1.1
\item item 1.2
\end{itemize}
\item item 2
\item item 3
\end{itemize}
\end{frame}
\subsection{Subsection 1.2}
% Slide without numbering.
\begin{frame}[nonumber]{Slide 1.2 without numbering}
\lipsum[2]
\end{frame}
\section[Short]{Section 2}
\begin{frame}{Slide 2}
\begin{block}{Block}
Text.
\end{block}
\pause
\begin{alertblock}{Alert block}
Alert \alert{text}.
\end{alertblock}
\pause
\begin{exampleblock}{Example block}
Example \textcolor{greenPolimi}{text}.
\end{exampleblock}
\end{frame}
\end{document}