-
Notifications
You must be signed in to change notification settings - Fork 21
/
beamerthemeusyd.sty
56 lines (46 loc) · 1.31 KB
/
beamerthemeusyd.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
% Name : beamerthemeusyd.sty
% Author : Malcolm Ramsay ([email protected])
% Version : 0.1.1
\mode<presentation>
\RequirePackage{tikz}
\RequirePackage{graphicx}
\RequirePackage{etoolbox}
% Default logo and graphic
\gdef\USYD@logo{USYDLogo}
\gdef\USYD@affiliationlogo{}
\gdef\USYD@titlegraphic{USYDTitle}
\gdef\USYD@titlegraphicbackground{usydwhite}
% Commands to define custom logo and graphics
\def\logo#1{\gdef\USYD@logo{#1}}
\def\affiliationlogo#1{\gdef\USYD@affiliationlogo{#1}}
\def\titlegraphic#1{\gdef\USYD@titlegraphic{#1}}
\def\titlegraphicbackground#1{\gdef\USYD@titlegraphicbackground{#1}}
% Declare options for choosing the theme. This gets the option
% from the square brackets before the name of the theme. That is,
% \usetheme[<option>]{usyd}
% There are currently two possible options, logobar and split,
% which define the beamer outer theme to use.
\newif\if@logobar
\@logobarfalse
\DeclareOption{logobar}{\@logobartrue}
\newif\if@split
\@splitfalse
\DeclareOption{split}{\@splittrue}
\ProcessOptions
% Select inner theme
\useinnertheme{usyd}
\if@logobar
\useoutertheme{usyd-logobar}
\else\if@split
\useoutertheme{usyd-split}
\else
\useoutertheme{usyd}
\fi\fi
\usecolortheme{usyd}
\usefonttheme{usyd}
\hypersetup{
colorlinks=true,
urlcolor=usydblue,
linkcolor=,
}
\mode<all>