-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbeamerthemekthpq.sty
38 lines (29 loc) · 1.01 KB
/
beamerthemekthpq.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
% Copyright (c) 2023-2025 Isaac Ren. Licensed under the MIT license (see LICENSE.txt).
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{beamerthemekthpq}[2023/10/05]
\mode<presentation>
% DEFAULT PAPER SETTINGS
% Ratio should be 16:9
\geometry{paperwidth=254mm,paperheight=143mm}
% Settings
\DeclareOption*{\PassOptionsToPackage{\CurrentOption}{kthpq-files/beamerfontthemekthpq}}
\ProcessOptions\relax
\usepackage{kthpq-files/beamerfontthemekthpq}
\usepackage{kthpq-files/beamerinnerthemekthpq}
\usepackage{kthpq-files/beamerouterthemekthpq}
\usepackage{kthpq-files/beamercolorthemekthpq}
% Macros
\newcommand*{\inserttitlepage}[1][center]{%
{\setbeamertemplate{headline}{}
\setbeamertemplate{footline}{}
\setbeamertemplate{title page}[#1]
\setbeamercolor{background canvas}{use=title, bg=title.bg}
\frame[b]{\titlepage}}%
}
\newcommand*{\insertsectionpage}{%
{\setbeamertemplate{headline}{}
\setbeamertemplate{footline}{}
\setbeamercolor{background canvas}{use=section title, bg=section title.bg}
\frame[b]{\sectionpage}}%
}
\mode<all>