-
Notifications
You must be signed in to change notification settings - Fork 2
/
beamerouterthememoulardthesis.sty
54 lines (49 loc) · 1.34 KB
/
beamerouterthememoulardthesis.sty
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
\ProvidesPackage{beamerouterthememoulardthesis}[2012/09/04]
\RequirePackage{intcalc}
\useoutertheme{default}
% Custom title page.
\defbeamertemplate*{title page}{moulardthesis}[1][]
{
\vspace{60pt}
\hfill
\pgfsetfillopacity{0.75}
\begin{beamercolorbox}[sep=4pt,right]{title}
\usebeamerfont{title}\inserttitle\par%
\end{beamercolorbox}
\usebeamerfont{subtitle}\usebeamercolor[fg]{subtitle}\insertsubtitle\par
\bigskip
%
\begin{beamercolorbox}[sep=4pt,right]{title}
\usebeamerfont{author}\insertauthor\par%
\usebeamerfont{institute}\insertinstitute\par%
\usebeamerfont{date}\insertdate\par%
\end{beamercolorbox}
\pgfsetfillopacity{1.}
\usebeamercolor[fg]{titlegraphic}\inserttitlegraphic
}
% Custom frametitle.
\setbeamertemplate{frametitle}
{\vskip-3pt
\leavevmode
\hbox{%
\begin{beamercolorbox}[wd=\paperwidth,ht=1.8ex,dp=1ex]{frametitle}%
\raggedright\hspace*{3em}\insertframetitle
\end{beamercolorbox}
}%
}
% Custom footline.
\defbeamertemplate*{footline}{moulardthesis}{%
\leavevmode%
\hbox{%
\begin{beamercolorbox}[wd=.99\paperwidth,ht=2.5ex,dp=1ex,right]%
{title in head/foot}%
\hfill
\insertframenumber
\hspace*{.5cm}
\includegraphics%
[height=2ex]%
{src/slides/nyan\intcalcMod{\insertframenumber}{5}.jpg}
\end{beamercolorbox}
}%
\vskip0pt%
}