-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbeamerthemehutch-pdflatex.sty
78 lines (62 loc) · 2.34 KB
/
beamerthemehutch-pdflatex.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
% Insipired by Cameron Bracken's theme originally posted
% here: http://cameron.bracken.bz/beamer-template
% January 2009
% Modifications done by Martin Bjeldbak Madsen
% June 2014
% Further modifications done by George Higgins Hutchinson
% July 2018
% Further modifications done by Parth T. Nobel
% March 2019
% This version of the theme is meant for use with pdfLaTeX
% or other non-unicode-aware compilers
\mode<presentation>
\RequirePackage{tgpagella}
\useoutertheme[subsection=false,shadow]{miniframes}
\useinnertheme{default}
\usefonttheme{professionalfonts}
%\usefonttheme{serif}
\usepackage{newtxtext}
\usepackage{newtxmath}
\renewcommand{\familydefault}{\sfdefault}
\setbeamertemplate{footline} % show slide number on all slides but the first
{%
\ifnum\c@framenumber=1
\else
\begin{beamercolorbox}[wd=0.95\paperwidth,right,dp=2ex]{page number}
\insertframenumber/\inserttotalframenumber
\end{beamercolorbox}
\fi%
\begin{beamercolorbox}[colsep=1.25pt]{lower separation line foot}
\end{beamercolorbox}
}
% Display a slide before the current section with overview inf
\AtBeginSection[]
{%
\begin{frame}
\frametitle{Overview}
\tableofcontents[currentsection,hideothersubsections]
\end{frame}
}
%\setbeamerfont{title like}{shape=\scshape}
%\setbeamerfont{frametitle}{shape=\scshape}
\setbeamerfont{section in head/foot}{shape=\scshape,size=\tiny}
\setbeamertemplate{navigation symbols}{} % hide bottom nav buttons
\setbeamercovered{transparent} % don't hide strip-teased bullet points
% COLORS from the UCB Brand Guidelines
\definecolor{berkeleyblue}{HTML}{003262}
\definecolor{foundersrock}{HTML}{3B7EA1} % UCB Brand Guidelines
\definecolor{medalist}{HTML}{C4820E} % UCB Brand Guidelines
\definecolor{bayfog}{HTML}{DDD5C7} %Also from UCB Brand Guidelines
\definecolor{barcolor}{named}{berkeleyblue}
\setbeamercolor{lower separation line head}{bg=barcolor}
\setbeamercolor{lower separation line foot}{bg=barcolor}
\setbeamercolor{normal text}{fg=black,bg=white}
\setbeamercolor{alerted text}{fg=red}
\setbeamercolor{example text}{fg=black}
%\setbeamercolor{structure}{fg=black}
\setbeamercolor{title}{fg=berkeleyblue}
\setbeamercolor{frametitle}{fg=medalist}
\setbeamercolor{structure}{fg=foundersrock}
\setbeamercolor{palette tertiary}{fg=black,bg=bayfog}
\setbeamercolor{palette quaternary}{fg=black,bg=bayfog}
\mode<all>