forked from gomezgoiri/deusto-style
-
Notifications
You must be signed in to change notification settings - Fork 0
/
deusto.sty
78 lines (63 loc) · 2.64 KB
/
deusto.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
\usetheme{default}
%\useinnertheme{inmargin}
%\useinnertheme[shadow=true]{rounded}
\usepackage{\tplPath commands}
\setbeamersize{text margin left=2em,text margin right=2em}
% suppress navigation bar
\beamertemplatenavigationsymbolsempty
% overriden when sb calls to setSubjectColor
\setbeamertemplate{background canvas}{\includegraphics[width=\paperwidth]{\tplPath img/header.png}}
% frame title styling
\setbeamertemplate{frametitle}{\vspace{0.4cm} \color{white} \insertframetitle}
%\setbeamertemplate{itemize items}[ball]
%\setbeamertemplate{enumerate items}[circle]
%\setbeamertemplate{items}[square]
\renewcommand{\emph}{\alert} % emphasis: bold and blue
% FONTS
% Ideas taken from http://www.tug.dk/FontCatalogue/allfonts.html
\usepackage{helvet}
%\usepackage[T1]{fontenc}
%\usepackage{uncial}
%\setbeamerfont{title}{size={\Huge},series={\bfseries},family={\unclfamily}}
%\input baseTemplates/AnnSton.fd
%\setbeamerfont{title}{size={\Huge},series=\bfseries,family={\usefont{U}{AnnSton}{xl}{n}}}
\setbeamerfont{title}{size={\LARGE},series={\bfseries}}
\setbeamerfont{author}{size={\footnotesize}}
%\setbeamerfont{institute}{series={\bfseries}}
\setbeamerfont{date}{size={\footnotesize}}
\setbeamerfont{frametitle}{series=\bfseries}
\setbeamerfont{alerted text}{series=\bfseries}
%\DeclareTextFontCommand{\emph}{\bfseries}
% COLORS (from http://colorschemedesigner.com/previous/colorscheme2)
\definecolor{deustocolor}{RGB}{44,75,155} % #2C4A9B
\definecolor{colsch2}{RGB}{55,93,194} % #375DC2
\definecolor{colsch3}{RGB}{100,119,172} % #6477AC
\definecolor{colsch4}{RGB}{135,161,231} % #87A1E7
\definecolor{colsch5}{RGB}{33,56,117} % #213875
%\usecolortheme{default}
%\setbeamercolor{title}{bg=deustocolor, fg=black}
\setbeamercolor{block body}{fg=black}
\setbeamercolor{structure}{fg=black}
\setbeamercolor{item}{fg=deustocolor}%{fg=beamer@blendedblue}
\setbeamercolor{title}{fg=black}
\setbeamercolor{frametitle}{fg=white}
\setbeamercolor{alerted text}{fg=colsch2}
% footer styling
\setbeamercolor{section in footer}{fg=white,bg=colsch5}
\setbeamercolor{subsection in footer}{fg=white,bg=deustocolor}
\setbeamercolor{pagenumber in footer}{fg=white,bg=colsch2}
\defbeamertemplate*{footline}{deusto}
{
\leavevmode%
\hbox{%
\begin{beamercolorbox}[wd=.33\paperwidth,ht=2.25ex,dp=1ex,center]{section in footer}%
\inserttitle
\end{beamercolorbox}%
\begin{beamercolorbox}[wd=.34\paperwidth,ht=2.25ex,dp=1ex,center]{subsection in footer}%
\insertsectionhead
\end{beamercolorbox}%
\begin{beamercolorbox}[wd=.34\paperwidth,ht=2.25ex,dp=1ex,center]{pagenumber in footer}%
\insertframenumber{} / \inserttotalframenumber\hspace*{2ex}
\end{beamercolorbox}}%
\vskip0pt%
}