-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathlecturefig.cls
More file actions
72 lines (58 loc) · 1.64 KB
/
Copy pathlecturefig.cls
File metadata and controls
72 lines (58 loc) · 1.64 KB
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
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{lecturefig}[2019/07/01 The Lecture Figure Class] % YYYY/MM/DD
\IfFileExists{luatex85.sty}{\RequirePackage{luatex85}}{}
\LoadClass{beamer}
\RequirePackage[T1]{fontenc}
\RequirePackage[utf8]{inputenc}
\RequirePackage{beamertools}
\RequirePackage[active,tightpage]{preview}
\RequirePackage{wasysym}
\RequirePackage{marvosym}
\RequirePackage{helvet}
\RequirePackage{lmodern}
\RequirePackage[scaled=0.85]{beramono}
\RequirePackage{convention} % texmf-local
\RequirePackage{tikz}
\PreviewEnvironment{tikzpicture}
\usetikzlibrary{
calc,
fit,
decorations.pathreplacing,
backgrounds,
decorations.text,
shapes,
shapes.misc,
shapes.geometric,
positioning,
tikzmark,
matrix,
arrows,
arrows.meta,
sra
}
\pgfdeclarelayer{background2}
\pgfdeclarelayer{background}
\pgfdeclarelayer{foreground}
\pgfsetlayers{background2,background,main,foreground}
\RequirePackage{sra-color}
\RequirePackage{pgffor}
\tikzset{
>=Stealth,
every tikzpicture/.style={\sffamily},
}
\newcommand{\tikznode}[2][]{%
\tikz[baseline]\node[anchor=base,#1]{#2};%
}
\setbeamercolor{structure}{fg=luhblue,bg={}}
\setbeamercolor{alerted text}{fg=srared}
\colorlet{beamergreen}{luhgreen!80!black}
\setbeamercolor{example text}{fg=beamergreen}
\newenvironment<>{visible}[1][]{\begin{scope}[visible on=#2,#1]}{\end{scope}}
% Include the commons file
\def\@@lecturenumber#1-#2\@nnil{\if&\else\def\@lecturenumber{#1}\fi}
\expandafter\@@lecturenumber\jobname-xxx\@nnil
\IfFileExists{fig/\@lecturenumber-common.sty}{
\RequirePackage{fig/\@lecturenumber-common}
}{
\typeout{No commons file found..}
}