-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.sty
54 lines (42 loc) · 1.32 KB
/
package.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{presentation/package}
% This is used if you want to include this as a subpackage instead of installing it or working in the same directory
\RequirePackage{tikz}
\RequirePackage{graphicx}
\usetikzlibrary{decorations.pathmorphing}
\def\presentationhypersetup{
\hypersetup{
pdfdisplaydoctitle = true,
pdfpagemode = FullScreen,
pdftoolbar = false
}
}
% Settings
\graphicspath{{./presentation/}}
% WARNING: This must be part of the path - use appendtographicspath
% or include it in your graphics path!
\mode<presentation>
\RequirePackage{presentation/beamerinnerthemepresentation}
\RequirePackage{presentation/beamerouterthemepresentation}
\RequirePackage{presentation/beamercolorthemepresentation}
\setbeamertemplate{navigation symbols}{}
\setbeamertemplate{blocks}[rounded][shadow=true]
\makeatletter
\newcommand\appendtographicspath[1]{%
\g@addto@macro\Ginput@path{#1}%
}
\makeatother
\newcommand{\backupbegin}{
\newcounter{finalframe}
\setcounter{finalframe}{\value{framenumber}}
}
\newcommand{\backupend}{
\setcounter{framenumber}{\value{finalframe}}
}
\newcommand\githublogo{\raisebox{-.4ex}[1ex]{\includegraphics[height=2.2ex]{logos/githubshape.pdf}}}
\newcommand{\github}[1]{\href{https://github.com/#1}{\githublogo\texttt{/#1}}}
\mode<all>
\hypersetup{
colorlinks = true,
urlcolor = links,
linkcolor =
}