-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathbeamerinnerthemeSimplePlus.sty
78 lines (69 loc) · 2.47 KB
/
beamerinnerthemeSimplePlus.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
%-------------------------------------------------------------
% Package: beamertheme-SimplePlus
% Author: Pin-Yen Huang (pyhuang97@gmail.com)
% Version: 1.1, 2025-01-07
% Link: https://github.com/pm25/SimplePlus-BeamerTheme
% This is free and unencumbered software released into the
% public domain; see <http://unlicense.org> for details.
%-------------------------------------------------------------
%--------------------------------------
% Inner Theme Settings
%--------------------------------------
\pgfdeclareverticalshading[lower.bg,upper.bg]{bmb@transition}{200cm}{%
color(0pt)=(lower.bg); color(2pt)=(lower.bg); color(4pt)=(lower.bg)}
\setbeamersize{text margin left=2em,text margin right=2em}
\setbeamertemplate{footline}[frame number]
\setbeamertemplate{navigation symbols}{}
\setbeamertemplate{blocks}[rounded][shadow=false]
\setbeamertemplate{enumerate items}[default]
\setbeamertemplate{enumerate subitem}[default]
\setbeamertemplate{itemize items}[circle]
\setbeamertemplate{itemize subitem}[circle]
% table of contents (overview) settings
\setbeamertemplate{section in toc}[sections numbered]
\setbeamertemplate{subsection in toc}{%
\leavevmode
\leftskip=3.2em
\rlap{\hskip-2em\inserttocsectionnumber.\inserttocsubsectionnumber}
\inserttocsubsection\par
}
% frame title customization
\setbeamertemplate{frametitle}{%
\vspace*{0.5em}
\bfseries\insertframetitle\par
\vskip-6pt
\hrulefill\vspace{-0.1em}
}
% title page customization
\setbeamertemplate{title page}{%
\vspace{6em}
\begingroup
\centering
% ------------------------
\begin{beamercolorbox}[sep=10pt,center]{title}
\usebeamerfont{title}\inserttitle\par%
\ifx\insertsubtitle\@empty%
\else%
\vskip0.25em%
{\usebeamerfont{subtitle}\usebeamercolor[fg]{subtitle}\insertsubtitle\par}%
\fi%
\end{beamercolorbox}%
\vskip0.5em\par
% ------------------------
\begin{beamercolorbox}[sep=8pt,center]{author}
\usebeamerfont{author}\insertauthor
\end{beamercolorbox}
\vskip-1em
% ------------------------
\begin{beamercolorbox}[sep=8pt,center]{institute}
\usebeamerfont{institute}\insertinstitute
\end{beamercolorbox}
% ------------------------
\begin{beamercolorbox}[sep=8pt,center]{date}
\usebeamerfont{date}\insertdate
\end{beamercolorbox}\vskip0.5em
% ------------------------
{\usebeamercolor[fg]{titlegraphic}\inserttitlegraphic\par}
\endgroup
\vfill
}