-
Notifications
You must be signed in to change notification settings - Fork 7
/
demo.tex
117 lines (72 loc) · 2.39 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
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
\documentclass{beamer}
\usetheme{simple}
\usepackage{lmodern}
\usepackage[scale=2]{ccicons}
% TODO:
% position adjustement
% change colours
%
% Watermark background (simple theme)
\setwatermark{\includegraphics[height=8cm]{img/Heckert_GNU_white.png}}
\title{A simple beamer theme}
\subtitle{}
\date{\today}
\author{Facundo Mu\~noz}
\institute{\url{http://github.com/famuvie}}
\begin{document}
\maketitle
\begin{frame}{simple}
\framesubtitle{A beamer theme}
\texttt{simple} is a minimalist Beamer theme that features
\begin{columns}
\column{.5\textwidth}
\begin{itemize}
\item a \alert{watermark} logo in the background
\item slide \alert{numbers}
\item \emph{emph}asized and \alert{alert}ed text
\end{itemize}
\column{.5\textwidth}
\begin{block}{And of course...}
blocks, columns, and all Beamer power
\end{block}
\end{columns}
\end{frame}
\setwatermark{\fontsize{125pt}{125pt}\selectfont{Simple}}
\begin{frame}[fragile]{watermark}
\framesubtitle{not only for images}
\begin{itemize}
\item You can place \emph{any} \LaTeX{} \alert{contents} as a watermark
\end{itemize}
\begin{block}{In preamble}
\begin{verbatim}
\setwatermark{\includegraphics[height=8cm]{%
img/Heckert_GNU_white.png}}
\end{verbatim}
\end{block}
\begin{block}{Just before this frame}
\begin{verbatim}
\setwatermark{\fontsize{125pt}{125pt}%
\selectfont{Simple}}
\end{verbatim}
\end{block}
\end{frame}
\setwatermark[hoffset=-3cm,voffset=-2cm]{\fontsize{125pt}{125pt}\selectfont{Simple}}
\begin{frame}{Options}
\framesubtitle{Fine adjustement of the watermark position}
\begin{itemize}
\item \texttt{hoffset}
\item \texttt{voffset}
\end{itemize}
They admit any \emph{positive} or \emph{negative} spacing \alert{unit}
Note that some \alert{warnings} about \emph{badboxes} might be generated at compilation
\end{frame}
\begin{frame}{License}
\begin{block}{Get the source of this theme and the demo presentation from}
\begin{center}\url{http://github.com/famuvie/beamerthemesimple}\end{center}
\end{block}
The theme \emph{itself} is licensed under a
\href{http://creativecommons.org/licenses/by-sa/4.0/}{Creative Commons
Attribution-ShareAlike 4.0 International License}.
\begin{center}\ccbysa\end{center}
\end{frame}
\end{document}