Better fancy support
- fancy and nonavigation are now simple options instead of key-value pair - Section frame are based on tikz now - Some dark theme color rework
@ -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}
|
% key-value: background: {none(default), ribon}
|
||||||
\DeclareOptionBeamer{backround}{\def\beamer@kenotom@backround{#1}}
|
\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}
|
% Option: navigation
|
||||||
\DeclareOptionBeamer{navigation}{\def\beamer@kenotom@navigation{#1}}
|
\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{SectionTitleColor}{KenotomGreenLight}
|
||||||
\colorlet{BlockTitleColor}{KenotomGrey}
|
\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)
|
% Default background (We overwrite it temporary inside kenotom frame environments)
|
||||||
\ifnum \isequal{\beamer@kenotom@backround}{ribon}=0
|
\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}
|
||||||
|
@ -5,9 +5,9 @@
|
|||||||
% author: Christos Choutouridis <c.choutouridis@kenotom.com>
|
% author: Christos Choutouridis <c.choutouridis@kenotom.com>
|
||||||
%
|
%
|
||||||
|
|
||||||
\documentclass[11pt,aspectratio=169,xcolor={table,dvipsnames},t]{beamer}
|
\documentclass[11pt,aspectratio=43,xcolor={table,dvipsnames},t]{beamer}
|
||||||
|
|
||||||
\usetheme[backround=ribon,theme=dark,navigation=enable,fancy=enable]{Kenotom}
|
\usetheme[background=none, theme=dark, fancy]{Kenotom}
|
||||||
|
|
||||||
\title{Your presentation title}
|
\title{Your presentation title}
|
||||||
\subtitle{Your subtitle (if there's one)}
|
\subtitle{Your subtitle (if there's one)}
|
||||||
|
BIN
media/City.png
Normal file
After Width: | Height: | Size: 64 KiB |
Before Width: | Height: | Size: 5.0 MiB After Width: | Height: | Size: 11 MiB |
70
media/svg/City.svg
Normal file
After Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 2.9 MiB After Width: | Height: | Size: 2.9 MiB |
110
media/svg/SectionBackground_old.svg
Normal file
After Width: | Height: | Size: 2.9 MiB |