-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathslides.cls
146 lines (128 loc) · 3.87 KB
/
slides.cls
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{slides}
\LoadClassWithOptions{beamer}
\directlua{pdf.setminorversion(7)}
\RequirePackage[backend = biber, style = numeric, sortcites = true, maxnames = 9]{biblatex}
\RequirePackage[locale = PL]{siunitx}
\RequirePackage[autostyle]{csquotes}
\RequirePackage[polish]{babel}
\RequirePackage{unicode-math}
\RequirePackage{interval}
\RequirePackage{setspace}
\RequirePackage{ragged2e}
\RequirePackage{textcomp}
\RequirePackage{fontspec}
\RequirePackage{graphicx}
\RequirePackage{multirow}
\RequirePackage{multicol}
\RequirePackage{lmodern}
\RequirePackage{gensymb}
\RequirePackage{comment}
\RequirePackage{xpatch}
\RequirePackage{calc}
\DeclareSIUnit[quantity-product=-]\bitOwych{bitowych}
\DeclareSIUnit[quantity-product=-]\bitOwego{bitowego}
\DeclareSIUnit[quantity-product=-]\bitOwaa{bitową}
\DeclareSIUnit[quantity-product=-]\bitOwa{bitowa}
\DeclareSIUnit[quantity-product=-]\bitOwe{bitowe}
\DeclareSIUnit[quantity-product=-]\bitOwy{bitowy}
\DeclareSIUnit[quantity-product=-]\bitOw{bitów}
\DeclareSIUnit[quantity-product=-]\bitY{bity}
\DeclareSIUnit[quantity-product=-]\bit{bit}
\DeclareSIUnit[quantity-product=-]\numTej{tej}
\DeclareSIUnit[quantity-product=]\percent{\char"0025}
\DeclareSIUnit\degreeCelsius{\char"2103}
\babelprovide[transforms = oneletter.nobreak]{polish}
\babelprovide[justification = unhyphenated]{polish}
\hypersetup{hidelinks}
\usetheme{boxes}
\usecolortheme{seahorse}
\useinnertheme{rectangles}
\usefonttheme{professionalfonts}
\xpatchcmd{\interval}{interval,}{interval,scaled,}{}{}
\newcommand\itemref[1]{{\renewcommand{\insertenumlabel}{\ref{#1}}\usebeamertemplate{enumerate item}}}
\newcommand{\lastpage}{\usebeamertemplate{last page}}
\newcommand{\makecaption}[2]{\caption{\label{#1}#2}}
\newcommand{\emb}[1]{\left(#1\right)}
\newcommand{\bsigma}{\char"1D6D4}
\newcommand{\newsection}[2]{\section{#2}}
\renewcommand{\arraystretch}{1.30}
\setlength{\parskip}{3pt}
\setlength{\floatsep}{6pt}
\setlength{\intextsep}{6pt}
\setlength{\textfloatsep}{6pt}
\setlength{\abovecaptionskip}{0pt}
\setlength{\belowcaptionskip}{0pt}
\setlength{\headheight}{6pt}
\setlength{\tabcolsep}{6pt}
\setlength{\jot}{6pt}
\sisetup
{
retain-explicit-plus = true,
reset-text-family = false,
reset-text-series = false,
reset-text-shape = false,
space-before-unit = true,
tight-spacing = true,
use-xspace = true,
per-mode = fraction,
inline-per-mode = fraction,
list-exponents = combine-bracket,
list-units = single,
range-exponents = combine-bracket,
range-units = bracket,
range-phrase = \,;\,,
quantity-product = ~,
exponent-product = \cdot,
mode = match
}
\intervalconfig
{
left closed fence = [,
right closed fence = ],
left open fence = (,
right open fence = ),
separator symbol = ;
}
\setbeamertemplate{title page}
{
\vbox{}
\vfill
\begingroup
\centering
\usebeamertemplate{title}
\vskip 1em \par
\begin{tabular}[c]{r @{~:~} l}
\small\textbf{Autor} & \usebeamerfont{author}\fullauthor \\
\small\textbf{Promotor} & \usebeamerfont{author}\fullpromoter \\
\end{tabular}
\usebeamertemplate{institute}
\usebeamertemplate{date}
\vskip 1em \par
\usebeamertemplate{titlegraphic}
\endgroup
\vfill
}
\setbeamertemplate{last page}
{
\vbox{}
\vfill
\begingroup
\centering
\begin{beamercolorbox}[sep = 8pt, center]{title}
\usebeamerfont{title}Dziękuję za uwagę
\end{beamercolorbox}
\vskip 3em \par
\usebeamerfont{author}\fullauthor\par
\usebeamertemplate{institute}
\usebeamerfont{institute}\fullcontact\par
\vskip 1em \par
\usebeamertemplate{titlegraphic}
\endgroup
\vfill
}
\setbeamerfont{subsection in toc}{size = \scriptsize}
\beamertemplatenavigationsymbolsempty
\setbeamertemplate{caption}[numbered]
\setbeamertemplate{footline}[frame number]
\setbeamertemplate{frametitle continuation}{}