-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathbeamerthemeNotebook.sty
59 lines (50 loc) · 1.83 KB
/
beamerthemeNotebook.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
%% Copyright (c) 2011–2023 Kazuki Maeda <[email protected]>
%%
%% Distributable under the MIT License:
%% http://www.opensource.org/licenses/mit-license.php
%%
\ProvidesPackage{beamerthemeNotebook}[2023/03/10 ]
\mode<presentation>
\RequirePackage{kmbeamer_common}
\usecolortheme{Notebook}
\setbeamersize{text margin left=2.1em,text margin right=2.1em}
\setbeamerfont{title}{size=\normalsize,series=\bfseries}
\setbeamerfont{frametitle}{size=\small,series=\bfseries}
\setbeamerfont{block title}{size=\normalsize,series=\bfseries}
\setbeamerfont{headline}{size*={6}{\z@},series=\bfseries}
\setbeamertemplate{background canvas}{\includegraphics[width=\paperwidth,height=\paperheight,keepaspectratio=false]{kmbeamer_bg_Notebook}}
\setbeamertemplate{itemize item}{\usebeamercolor[fg]{structure}$\circ$}
\setbeamertemplate{frametitle}{\boldmath\insertframetitle}
\setbeamertemplate{headline}{%
\setbox\kmbmr@tmpboxa\hbox{\ifnum\insertsectionnumber>0\boldmath\insertsectionnumber.~\insertsection\fi}
\setbox\kmbmr@tmpboxb\hbox{\boldmath\insertframenumber$/$\inserttotalframenumber}
\ht\kmbmr@tmpboxa=1mm\dp\kmbmr@tmpboxa=0mm
\ht\kmbmr@tmpboxb=1mm\dp\kmbmr@tmpboxb=0mm
\vspace{2mm}
\hspace{4mm}\noindent\box\kmbmr@tmpboxa\hfill\box\kmbmr@tmpboxb\hspace{4mm}
\vspace{-1mm}
}
\setbeamertemplate{footline}{\vspace{1.5mm}}
\setbeamertemplate{title page}{%
\renewcommand\thefootnote{\fnsymbol{footnote}}
\setcounter{footnote}{1} % \dagger
\vfill
\begin{center}
\usebeamercolor[fg]{structure}\bfseries\boldmath\inserttitle
\scriptsize\insertsubtitle
\end{center}
\vfill
\begin{center}
\insertauthor\ \ifx\insertinstitute\@empty\else(\insertinstitute)\fi
\end{center}
\vfill
\begin{center}
\small\insertdate
\end{center}
\vfill
\renewcommand\thefootnote{\arabic{footnote}}
\setcounter{footnote}{0}
}
\mode
<all>
\endinput