|
@@ -24,24 +24,23 @@ |
|
|
% key-value: theme: {classic(default), light, dark}
|
|
|
% key-value: theme: {classic(default), light, dark}
|
|
|
\DeclareOptionBeamer{theme}{\def\beamer@kenotom@theme{#1}}
|
|
|
\DeclareOptionBeamer{theme}{\def\beamer@kenotom@theme{#1}}
|
|
|
|
|
|
|
|
|
% key-value: backround: {none(default), ribon}
|
|
|
|
|
|
\DeclareOptionBeamer{backround}{\def\beamer@kenotom@backround{#1}}
|
|
|
|
|
|
|
|
|
% key-value: background: {none(default), ribon}
|
|
|
|
|
|
\DeclareOptionBeamer{background}{\def\beamer@kenotom@background{#1}}
|
|
|
|
|
|
|
|
|
% key-value: title: {normal(default), small, large}
|
|
|
% key-value: title: {normal(default), small, large}
|
|
|
\DeclareOptionBeamer{title}{\def\beamer@kenotom@title{#1}}
|
|
|
\DeclareOptionBeamer{title}{\def\beamer@kenotom@title{#1}}
|
|
|
|
|
|
|
|
|
% key-value: navigation: {enable(default), disable}
|
|
|
|
|
|
\DeclareOptionBeamer{navigation}{\def\beamer@kenotom@navigation{#1}}
|
|
|
|
|
|
|
|
|
% Option: navigation
|
|
|
|
|
|
\DeclareOptionBeamer{nonavigation}{\def\beamer@kenotom@nonavigation{}}
|
|
|
|
|
|
|
|
|
|
|
|
% Option: fancy
|
|
|
|
|
|
\DeclareOptionBeamer{fancy}{\def\beamer@kenotom@fancy{}}
|
|
|
|
|
|
|
|
|
% key-value: fancy: {disable(default), enable}
|
|
|
|
|
|
\DeclareOptionBeamer{fancy}{\def\beamer@kenotom@fancy{#1}}
|
|
|
|
|
|
|
|
|
|
|
|
% Set default options
|
|
|
% Set default options
|
|
|
\ExecuteOptionsBeamer{theme=classic}
|
|
|
\ExecuteOptionsBeamer{theme=classic}
|
|
|
\ExecuteOptionsBeamer{backround=none}
|
|
|
|
|
|
|
|
|
\ExecuteOptionsBeamer{background=none}
|
|
|
\ExecuteOptionsBeamer{title=normal}
|
|
|
\ExecuteOptionsBeamer{title=normal}
|
|
|
\ExecuteOptionsBeamer{navigation=enable}
|
|
|
|
|
|
\ExecuteOptionsBeamer{fancy=disable}
|
|
|
|
|
|
|
|
|
|
|
|
\ProcessOptionsBeamer
|
|
|
\ProcessOptionsBeamer
|
|
|
|
|
|
|
|
@@ -93,7 +92,7 @@ |
|
|
}
|
|
|
}
|
|
|
|
|
|
|
|
|
% [1]: Banner image
|
|
|
% [1]: Banner image
|
|
|
\newcommand{\SetBackroundPlain}[1]{%
|
|
|
|
|
|
|
|
|
\newcommand{\SetBackgroundPlain}[1]{%
|
|
|
\setbeamertemplate{background}{%
|
|
|
\setbeamertemplate{background}{%
|
|
|
\begin{tikzpicture}[overlay,remember picture]
|
|
|
\begin{tikzpicture}[overlay,remember picture]
|
|
|
% Banner
|
|
|
% Banner
|
|
@@ -141,7 +140,7 @@ |
|
|
%
|
|
|
%
|
|
|
% [1]: Color
|
|
|
% [1]: Color
|
|
|
% [2]: Text
|
|
|
% [2]: Text
|
|
|
%\newcommand{\InsertBackroundToText}[2]{%
|
|
|
|
|
|
|
|
|
%\newcommand{\InsertBackgroundToText}[2]{%
|
|
|
%% \colorbox{#1}{%
|
|
|
%% \colorbox{#1}{%
|
|
|
%% \parbox{\dimexpr\textwidth-2\fboxsep\relax}{#2}
|
|
|
%% \parbox{\dimexpr\textwidth-2\fboxsep\relax}{#2}
|
|
|
% \colorbox{#1}{#2}
|
|
|
% \colorbox{#1}{#2}
|
|
@@ -158,16 +157,21 @@ |
|
|
\colorlet{TitleColor}{KenotomGreyLight}
|
|
|
\colorlet{TitleColor}{KenotomGreyLight}
|
|
|
\colorlet{TitleColorFancy}{KenotomWhite}
|
|
|
\colorlet{TitleColorFancy}{KenotomWhite}
|
|
|
\colorlet{TitleColorAux}{KenotomGreenLight}
|
|
|
\colorlet{TitleColorAux}{KenotomGreenLight}
|
|
|
\colorlet{FrameTitleColor}{KenotomGrey}
|
|
|
|
|
|
\colorlet{BlockTitleColor}{KenotomGrey}
|
|
|
|
|
|
|
|
|
\colorlet{SectionTitleColor}{KenotomGreenLight}
|
|
|
|
|
|
\colorlet{FrameTitleColor}{KenotomGreenLight}
|
|
|
|
|
|
\colorlet{BlockTitleColor}{KenotomGreenLight}
|
|
|
|
|
|
|
|
|
\colorlet{TextColor}{KenotomGreenGreyLight}
|
|
|
\colorlet{TextColor}{KenotomGreenGreyLight}
|
|
|
\colorlet{StructureColor}{KenotomGreenLight}
|
|
|
\colorlet{StructureColor}{KenotomGreenLight}
|
|
|
|
|
|
|
|
|
|
|
|
\colorlet{SectionFrameOpacityColor}{KenotomGreenGreyDark}
|
|
|
|
|
|
\colorlet{GraphicBoxColor}{KenotomGreyDark1}
|
|
|
|
|
|
\colorlet{GraphicLineColor}{KenotomGreenLight}
|
|
|
|
|
|
|
|
|
\colorlet{NavigationColor}{KenotomGreen}
|
|
|
\colorlet{NavigationColor}{KenotomGreen}
|
|
|
\colorlet{NavigationColorFancy}{KenotomWhite}
|
|
|
|
|
|
|
|
|
\colorlet{NavigationColorFancy}{KenotomGreen}
|
|
|
\colorlet{NavigationArrowsColor}{KenotomGreyLight}
|
|
|
\colorlet{NavigationArrowsColor}{KenotomGreyLight}
|
|
|
\colorlet{NavigationArrowsColorFancy}{KenotomWhite}
|
|
|
|
|
|
|
|
|
\colorlet{NavigationArrowsColorFancy}{KenotomGreyLight}
|
|
|
|
|
|
|
|
|
\colorlet{TableCaptionColor}{KenotomGreyDark1}
|
|
|
\colorlet{TableCaptionColor}{KenotomGreyDark1}
|
|
|
\colorlet{TableCaptionTextColor}{KenotomWhite}
|
|
|
\colorlet{TableCaptionTextColor}{KenotomWhite}
|
|
@@ -178,12 +182,17 @@ |
|
|
\colorlet{TitleColor}{KenotomGrey}
|
|
|
\colorlet{TitleColor}{KenotomGrey}
|
|
|
\colorlet{TitleColorFancy}{KenotomWhite}
|
|
|
\colorlet{TitleColorFancy}{KenotomWhite}
|
|
|
\colorlet{TitleColorAux}{KenotomGreen}
|
|
|
\colorlet{TitleColorAux}{KenotomGreen}
|
|
|
|
|
|
\colorlet{SectionTitleColor}{KenotomWhite!90!KenotomGreenLight}
|
|
|
\colorlet{FrameTitleColor}{KenotomGrey}
|
|
|
\colorlet{FrameTitleColor}{KenotomGrey}
|
|
|
\colorlet{BlockTitleColor}{KenotomGrey}
|
|
|
\colorlet{BlockTitleColor}{KenotomGrey}
|
|
|
|
|
|
|
|
|
\colorlet{TextColor}{KenotomGrey}
|
|
|
\colorlet{TextColor}{KenotomGrey}
|
|
|
\colorlet{StructureColor}{KenotomGreen}
|
|
|
\colorlet{StructureColor}{KenotomGreen}
|
|
|
|
|
|
|
|
|
|
|
|
\colorlet{SectionFrameOpacityColor}{KenotomGreenLight}
|
|
|
|
|
|
\colorlet{GraphicBoxColor}{KenotomGreyDark1}
|
|
|
|
|
|
\colorlet{GraphicLineColor}{KenotomGreenLight}
|
|
|
|
|
|
|
|
|
\colorlet{NavigationColor}{KenotomGreen}
|
|
|
\colorlet{NavigationColor}{KenotomGreen}
|
|
|
\colorlet{NavigationColorFancy}{KenotomWhite}
|
|
|
\colorlet{NavigationColorFancy}{KenotomWhite}
|
|
|
\colorlet{NavigationArrowsColor}{KenotomGrey}
|
|
|
\colorlet{NavigationArrowsColor}{KenotomGrey}
|
|
@@ -198,12 +207,22 @@ |
|
|
\colorlet{TitleColor}{KenotomGreyDark1}
|
|
|
\colorlet{TitleColor}{KenotomGreyDark1}
|
|
|
\colorlet{TitleColorFancy}{KenotomWhite}
|
|
|
\colorlet{TitleColorFancy}{KenotomWhite}
|
|
|
\colorlet{TitleColorAux}{KenotomGreen}
|
|
|
\colorlet{TitleColorAux}{KenotomGreen}
|
|
|
|
|
|
\colorlet{SectionTitleColor}{KenotomWhite!90!KenotomGreenLight}
|
|
|
|
|
|
\colorlet{TitleColorFancy}{KenotomWhite}
|
|
|
\colorlet{FrameTitleColor}{KenotomGreyDark2}
|
|
|
\colorlet{FrameTitleColor}{KenotomGreyDark2}
|
|
|
\colorlet{BlockTitleColor}{KenotomGreyDark2}
|
|
|
\colorlet{BlockTitleColor}{KenotomGreyDark2}
|
|
|
|
|
|
|
|
|
\colorlet{TextColor}{KenotomGreenGrey}
|
|
|
|
|
|
|
|
|
\colorlet{TextColor}{KenotomGreyDark1}
|
|
|
\colorlet{StructureColor}{KenotomGreen}
|
|
|
\colorlet{StructureColor}{KenotomGreen}
|
|
|
|
|
|
|
|
|
|
|
|
\colorlet{SectionFrameOpacityColor}{KenotomGreenLight}
|
|
|
|
|
|
\colorlet{GraphicBoxColor}{KenotomGreyDark1}
|
|
|
|
|
|
\colorlet{GraphicLineColor}{KenotomGreenLight}
|
|
|
|
|
|
|
|
|
|
|
|
\colorlet{SectionFrameOpacityColor}{KenotomGreen}
|
|
|
|
|
|
\colorlet{GraphicBoxColor}{KenotomGreyDark1}
|
|
|
|
|
|
\colorlet{GraphicLineColor}{KenotomGreenLight}
|
|
|
|
|
|
|
|
|
\colorlet{NavigationColor}{KenotomGreen}
|
|
|
\colorlet{NavigationColor}{KenotomGreen}
|
|
|
\colorlet{NavigationColorFancy}{KenotomWhite}
|
|
|
\colorlet{NavigationColorFancy}{KenotomWhite}
|
|
|
\colorlet{NavigationArrowsColor}{KenotomGreyDark1}
|
|
|
\colorlet{NavigationArrowsColor}{KenotomGreyDark1}
|
|
@@ -247,8 +266,8 @@ |
|
|
|
|
|
|
|
|
\addtobeamertemplate{footnote}{}{\vspace{2ex}}
|
|
|
\addtobeamertemplate{footnote}{}{\vspace{2ex}}
|
|
|
|
|
|
|
|
|
% Default backround (We overwrite it temporary inside kenotom frame environments)
|
|
|
|
|
|
\ifnum \isequal{\beamer@kenotom@backround}{ribon}=0
|
|
|
|
|
|
|
|
|
% Default background (We overwrite it temporary inside kenotom frame environments)
|
|
|
|
|
|
\ifnum \isequal{\beamer@kenotom@background}{ribon}=0
|
|
|
\SetBackgroundImage{media/BannerLogoLink.png}{media/Ribon.png}{0.04}{0.15}
|
|
|
\SetBackgroundImage{media/BannerLogoLink.png}{media/Ribon.png}{0.04}{0.15}
|
|
|
\else %None
|
|
|
\else %None
|
|
|
\SetBackgroundPlain{media/BannerLogoLink.png}
|
|
|
\SetBackgroundPlain{media/BannerLogoLink.png}
|
|
@@ -260,7 +279,7 @@ |
|
|
\setsansfont[Scale=MatchLowercase]{Open Sans}
|
|
|
\setsansfont[Scale=MatchLowercase]{Open Sans}
|
|
|
|
|
|
|
|
|
% General
|
|
|
% General
|
|
|
\ifnum \isequal{\beamer@kenotom@navigation}{disable}=0
|
|
|
|
|
|
|
|
|
\ifdefined \beamer@kenotom@nonavigation
|
|
|
\setbeamertemplate{navigation symbols}{}
|
|
|
\setbeamertemplate{navigation symbols}{}
|
|
|
\fi
|
|
|
\fi
|
|
|
\setbeamertemplate{caption}[numbered]
|
|
|
\setbeamertemplate{caption}[numbered]
|
|
@@ -304,7 +323,7 @@ |
|
|
\setbeamerfont{institute}{size=\InstituteSize}
|
|
|
\setbeamerfont{institute}{size=\InstituteSize}
|
|
|
|
|
|
|
|
|
\renewcommand{\maketitle}{%
|
|
|
\renewcommand{\maketitle}{%
|
|
|
\ifnum \isequal{\beamer@kenotom@fancy}{enable}=0
|
|
|
|
|
|
|
|
|
\ifdefined \beamer@kenotom@fancy
|
|
|
\TitleFrameFancy
|
|
|
\TitleFrameFancy
|
|
|
\else {% once
|
|
|
\else {% once
|
|
|
\SetBackgroundImage{media/BannerLink.png}{media/Ribon.png}{0.04}{0.4}
|
|
|
\SetBackgroundImage{media/BannerLink.png}{media/Ribon.png}{0.04}{0.4}
|
|
@@ -341,7 +360,7 @@ |
|
|
|
|
|
|
|
|
% Section frames
|
|
|
% Section frames
|
|
|
\AtBeginSection[]{%
|
|
|
\AtBeginSection[]{%
|
|
|
\ifnum \isequal{\beamer@kenotom@fancy}{enable}=0
|
|
|
|
|
|
|
|
|
\ifdefined \beamer@kenotom@fancy
|
|
|
\SectionFrameFancy
|
|
|
\SectionFrameFancy
|
|
|
\fi
|
|
|
\fi
|
|
|
}
|
|
|
}
|
|
@@ -355,7 +374,7 @@ |
|
|
|
|
|
|
|
|
\newcommand{\InsertFancySection}{%
|
|
|
\newcommand{\InsertFancySection}{%
|
|
|
\FancySectionSize
|
|
|
\FancySectionSize
|
|
|
\textcolor{TitleColorFancy}{
|
|
|
|
|
|
|
|
|
\textcolor{SectionTitleColor}{
|
|
|
\ifnum \thesection<10
|
|
|
\ifnum \thesection<10
|
|
|
\FancySectionFontStyle{0\thesection} \\
|
|
|
\FancySectionFontStyle{0\thesection} \\
|
|
|
\else
|
|
|
\else
|
|
@@ -442,7 +461,7 @@ |
|
|
\begin{column}{0.6\textwidth}
|
|
|
\begin{column}{0.6\textwidth}
|
|
|
\setlength{\TPHorizModule}{\textwidth}
|
|
|
\setlength{\TPHorizModule}{\textwidth}
|
|
|
\setlength{\TPVertModule}{\textheight}
|
|
|
\setlength{\TPVertModule}{\textheight}
|
|
|
\begin{textblock}{1}[0.5,0.5](0.5,0.35)
|
|
|
|
|
|
|
|
|
\begin{textblock}{1}[0.5,0.5](0.55,0.35)
|
|
|
\centering
|
|
|
\centering
|
|
|
\huge \textbf {\textcolor{KenotomGrey}{#2} \textcolor{KenotomGreen}{#3}}
|
|
|
\huge \textbf {\textcolor{KenotomGrey}{#2} \textcolor{KenotomGreen}{#3}}
|
|
|
\end{textblock}
|
|
|
\end{textblock}
|
|
@@ -461,7 +480,7 @@ |
|
|
}
|
|
|
}
|
|
|
|
|
|
|
|
|
\newcommand{\OutlineFrame}[3][subsections]{%
|
|
|
\newcommand{\OutlineFrame}[3][subsections]{%
|
|
|
\ifnum \isequal{\beamer@kenotom@fancy}{enable}=0
|
|
|
|
|
|
|
|
|
\ifdefined \beamer@kenotom@fancy
|
|
|
\OutlineFrameFancy[#1]{#2}{#3}
|
|
|
\OutlineFrameFancy[#1]{#2}{#3}
|
|
|
\else
|
|
|
\else
|
|
|
\begin{frame}{#2 #3}
|
|
|
\begin{frame}{#2 #3}
|
|
@@ -478,6 +497,27 @@ |
|
|
\newcommand{\SectionFrameFancy}{ {% once
|
|
|
\newcommand{\SectionFrameFancy}{ {% once
|
|
|
\SetBackgroundImage{media/nothing.png}{media/SectionBackground.png}{0}{1.0}
|
|
|
\SetBackgroundImage{media/nothing.png}{media/SectionBackground.png}{0}{1.0}
|
|
|
\setbeamercolor{navigation symbols}{fg=NavigationColorFancy, bg=NavigationArrowsColorFancy}
|
|
|
\setbeamercolor{navigation symbols}{fg=NavigationColorFancy, bg=NavigationArrowsColorFancy}
|
|
|
|
|
|
\addtobeamertemplate{background}{}{%
|
|
|
|
|
|
\begin{tikzpicture}[overlay,remember picture]
|
|
|
|
|
|
% Rectangular fill
|
|
|
|
|
|
\fill[SectionFrameOpacityColor, opacity=0.95]
|
|
|
|
|
|
(current page.south east) rectangle (0.3075\paperwidth, \paperheight);
|
|
|
|
|
|
% Circle fill
|
|
|
|
|
|
\fill[GraphicBoxColor, opacity=0.95]
|
|
|
|
|
|
(0.3075\paperwidth, -0.5\paperheight) circle (0.1537\paperwidth);
|
|
|
|
|
|
% Border lines
|
|
|
|
|
|
\draw[color=GraphicLineColor, line width=0.8mm]
|
|
|
|
|
|
(0.3075\paperwidth, -0.5\paperheight) circle (0.17\paperwidth);
|
|
|
|
|
|
\draw[color=GraphicLineColor, line width=0.8mm]
|
|
|
|
|
|
(0.4775\paperwidth, -0.5\paperheight) -- (0.9\paperwidth, -0.5\paperheight);
|
|
|
|
|
|
\fill[GraphicLineColor, opacity=0.95]
|
|
|
|
|
|
(0.9\paperwidth, -0.5\paperheight) circle (1.2mm);
|
|
|
|
|
|
% City
|
|
|
|
|
|
\node[anchor=center] at (0.3075\paperwidth, -0.5\paperheight) {%
|
|
|
|
|
|
\includegraphics[width=0.1945\paperwidth]{media/City.png}
|
|
|
|
|
|
};
|
|
|
|
|
|
\end{tikzpicture}
|
|
|
|
|
|
}
|
|
|
\begin{frame}
|
|
|
\begin{frame}
|
|
|
\setlength{\TPHorizModule}{\paperwidth}
|
|
|
\setlength{\TPHorizModule}{\paperwidth}
|
|
|
\setlength{\TPVertModule}{\paperheight}
|
|
|
\setlength{\TPVertModule}{\paperheight}
|
|
|