-
Notifications
You must be signed in to change notification settings - Fork 4
/
YGbeamer.sty
79 lines (71 loc) · 1.97 KB
/
YGbeamer.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
% Yannis Galanakis
% February 2021
%----------------------------------------------------------------------------------
\ProvidesPackage{YGbeamer}
\usepackage[english]{babel}
\usepackage{metalogo}
\usepackage{listings}
\usepackage{fontspec}
\usepackage{tikz}
\usepackage{hyperref}
\usetikzlibrary{fit, % new
tikzmark} % new
\usepackage{booktabs,
cellspace, % new
multirow}
\usepackage{pgfplots}
\usepackage{pgfplotstable}
\usepackage{psfrag}
\usetikzlibrary{intersections,patterns,pgfplots.fillbetween}
\usetikzlibrary{decorations.pathreplacing, calc}
\usepackage{fontawesome5}
\usepackage{qrcode}
\usepgfplotslibrary{dateplot}
\usepackage{datetime}
\usepackage[scale=2]{ccicons}
\newdateformat{monthyeardate}{%
\monthname[\THEMONTH], \THEYEAR}
\usepackage{animate}
\usepackage{subcaption}
% font
\setmainfont{Yanone Kaffeesatz}
\setmonofont{DejaVu Sans Mono}
\setsansfont[]{Fira Sans}
%\setmonofont[]{Fira Mono}
%\setmainfont{Source Sans Pro Light}[Mapping=tex-text,
% BoldFont = SourceSansPro-Regular,
% ItalicFont= Source Sans Pro Light Italic]
%appendix numbering (increase individual slide number but not total number)
\newcommand{\backupbegin}{
\newcounter{finalframe}
\setcounter{finalframe}{\value{framenumber}}
}
\newcommand{\backupend}{
\setcounter{framenumber}{\value{finalframe}}
}
\pgfplotsset{compat=newest}
% To set the highlighting boxes red.
\tikzset{%
hl/.style={
align=center,
set fill color=gray!10,
set border color=erose,
% left offset = {,.5},
right offset={0.3,-0.3},
},
}
\pgfplotsset{
discard if not/.style 2 args={
x filter/.code={
\edef\tempa{\thisrow{#1}}
\edef\tempb{#2}
\ifx\tempa\tempb
\else
\def\pgfmathresult{inf}
\fi
}
}
}
\usetikzlibrary{arrows}
\usetikzlibrary{decorations}