-
Notifications
You must be signed in to change notification settings - Fork 0
/
beamerthemeLankton.sty
113 lines (94 loc) · 3.95 KB
/
beamerthemeLankton.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
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
% adapted Philippe Dreuw and Thomas Deselaers
% further adapted from edits by James Malcolm
% finally, Shawn Lankton made some edits (www.shawnlankton.com)
\ProvidesPackage{beamerthemeLankton}
\usefonttheme{professionalfonts}
\usepackage{siunitx}
\usepackage{newtxtext,newtxmath}
\usepackage{bm}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\mode<presentation>
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\definecolor{cloud}{rgb}{.8901960 .8862745 .8862745}
\definecolor{sky}{rgb}{0.45882 .89803921 1.00000}
\definecolor{donut}{rgb}{.9294117 .6313725 .4588235}
\definecolor{chocolate}{rgb}{.4274509 .2666666 .2705882}
\definecolor{butter}{rgb}{0.98824, 0.91373, 0.30980} % #fce94f
\definecolor{orange}{rgb}{0.98824, 0.68627, 0.24314} % #fcaf3e
\setbeamercolor{headline}{bg=white}
\setbeamercolor{footline}{bg=white}
\setbeamerfont{footline}{size=\large}
\setbeamercolor{separation line}{bg=white}
\setbeamercolor{title in headline}{fg=black}
\setbeamercolor{author in headline}{fg=black}
\setbeamercolor{institute in headline}{fg=cloud}
\setbeamercolor{framesubtitle}{fg=black, bg=cloud}
\setbeamercolor{author in head/foot}{fg=orange,bg=white}
\setbeamercolor{title in head/foot}{fg=black,bg=white}
\setbeamercolor{website in footline}{fg=black,bg=white}
\setbeamercolor{email in footline}{fg=black,bg=white}
\setbeamercolor*{normal text}{fg=black, bg=white}
\setbeamercolor*{block body}{fg=black,bg=white}
\setbeamercolor*{block title}{fg=black,bg=sky}
\setbeamerfont{block title}{size=\large,series=\sf}
\setbeamercolor{upper separation line head}{fg=black}
% \setbeamertemplate{blocks}[rounded][shadow=true]
% \setbeamertemplate{itemize items}[triangle]
\setbeamertemplate{navigation symbols}{} % no navigation on a poster
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setbeamertemplate{block begin}{%
\begin{beamercolorbox}[rounded=true,leftskip=1ex,colsep*=.5ex]{block title}%
\raisebox{0ex}[2.1ex][0.2ex]{\usebeamerfont*{block title}{\raisebox{0in}[0in]{\large \insertblocktitle}}}
\end{beamercolorbox}%
{\ifbeamercolorempty[bg]{block body}{}{\nointerlineskip\vskip-0.5pt}}%
\usebeamerfont{block body}%
\begin{beamercolorbox}[rounded=true,colsep*=.5ex,sep=.5ex,vmode]{block body}%
\ifbeamercolorempty[bg]{block body}{\vskip-.25ex}{\vskip-.5ex}\vbox{}%
}
\setbeamertemplate{block end}{
\end{beamercolorbox}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setbeamertemplate{headline}{
% \leavevmode
% \begin{beamercolorbox}[wd=\paperwidth]{headline}
% \begin{columns}[T]
% \begin{column}{.03\paperwidth}
% \end{column}
% \begin{column}{.20\paperwidth}
% %\vspace{1in}\raisebox{0.42in}{\includegraphics[width=\textwidth]{logo.pdf}}
% \end{column}
% \begin{column}{.75\paperwidth}
% \vskip8ex
% \raggedleft
% \usebeamercolor{title in headline}{\color{fg}\large{\inserttitle}\\[-0.5ex]}
% \usebeamercolor{author in headline}{\vspace{36pt}\color{fg}\normalsize\insertauthor}
% \end{column}
% \begin{column}{.03\paperwidth}
% \end{column}
% \end{columns}
% \end{beamercolorbox}
% \vspace{-2in}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setbeamertemplate{footline}{
\begin{beamercolorbox}[wd=\paperwidth]{upper separation line foot}
\rule{0pt}{2pt}
\end{beamercolorbox}
\leavevmode%
\begin{beamercolorbox}[ht=4ex,leftskip=1cm,rightskip=1cm]{author in head/foot}%
\usebeamercolor{website in footline}{\color{fg} \footleft}
\hfill
\usebeamercolor{email in footline}{\color{fg} \footright}
\vskip1ex
\end{beamercolorbox}
\vskip0pt%
\begin{beamercolorbox}[wd=\paperwidth]{lower separation line foot}
\rule{0pt}{2pt}
\end{beamercolorbox}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Display a grid to help align images ... and it looks nice with this color scheme
%\beamertemplategridbackground[1cm]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \Mode<all>