Commit 3815d34a authored by Adrian C. Hinrichs's avatar Adrian C. Hinrichs

Merge branch 'dev-projektion' into 'master'

Polynom: Several touch-ups & adjustments

See merge request !21
parents 22f37688 a9da0124
\mode<presentation> \mode<presentation>
% Yes, these definitions are from the rwth-template
% \definecolor{rwth} {RGB}{ 0 84 159}
% \definecolor{rwth-75}{RGB}{ 64 127 183}
% \definecolor{rwth-50}{RGB}{142 186 229}
% \definecolor{rwth-25}{RGB}{199 221 242}
% \definecolor{rwth-10}{RGB}{232 241 250}
\definecolor{polynom-blue}{RGB}{41 98 255} \definecolor{polynom-blue}{RGB}{41 98 255}
\definecolor{polynom-space-grey}{RGB}{51 51 51} \definecolor{polynom-space-grey}{RGB}{21 21 21}
\definecolor{polynom-white}{RGB}{255 255 255} \definecolor{polynom-white}{RGB}{255 255 255}
\definecolor{polynom-blue-dark}{RGB}{0 39 148} \definecolor{polynom-blue-dark}{RGB}{0 39 148}
\definecolor{polynom-blue-darker}{RGB}{0 32 96} \definecolor{polynom-blue-darker}{RGB}{0 32 96}
...@@ -18,18 +11,6 @@ ...@@ -18,18 +11,6 @@
\definecolor{black} {RGB}{ 0 0 0} \definecolor{black} {RGB}{ 0 0 0}
\definecolor{black-75}{RGB}{100 101 103} \definecolor{black-75}{RGB}{100 101 103}
% \definecolor{grun} {RGB}{ 87 171 39}
% \definecolor{grun-75}{RGB}{141 192 96}
% \definecolor{grun-50}{RGB}{184 214 152}
% \definecolor{grun-25}{RGB}{221 235 206}
% \definecolor{grun-10}{RGB}{242 247 236}
% \definecolor{rot} {RGB}{204 7 30}
% \definecolor{rot-75}{RGB}{216 92 65}
% \definecolor{rot-50}{RGB}{230 150 121}
% \definecolor{rot-25}{RGB}{243 205 187}
% \definecolor{rot-10}{RGB}{250 235 227}
% Main colors % Main colors
\setbeamercolor*{normal text}{fg=polynom-space-grey} \setbeamercolor*{normal text}{fg=polynom-space-grey}
...@@ -63,14 +44,6 @@ ...@@ -63,14 +44,6 @@
\setbeamercolor*{block title}{fg=palette primary.fg, bg=polynom-white} \setbeamercolor*{block title}{fg=palette primary.fg, bg=polynom-white}
\setbeamercolor{block body}{bg=polynom-white} \setbeamercolor{block body}{bg=polynom-white}
% \setbeamercolor*{example text}{fg=grun}
% \setbeamercolor{block title example}{bg=grun-25}
% \setbeamercolor{block body example}{bg=grun-10}
% \setbeamercolor*{alerted text}{fg=rot}
% \setbeamercolor{block title alerted}{bg=rot-25}
% \setbeamercolor{block body alerted}{bg=rot-10}
% banner page % banner page
\setbeamercolor{banner page}{bg=polynom-white, fg=polynom-space-grey} \setbeamercolor{banner page}{bg=polynom-white, fg=polynom-space-grey}
\setbeamercolor{banner page invert}{bg=polynom-space-grey, fg=white} \setbeamercolor{banner page invert}{bg=polynom-space-grey, fg=white}
......
...@@ -6,11 +6,11 @@ ...@@ -6,11 +6,11 @@
\definecolor{polynom-blue-dark}{RGB} {24 57 148} \definecolor{polynom-blue-dark}{RGB} {24 57 148}
\definecolor{polynom-blue-darker}{RGB} {15 37 96} \definecolor{polynom-blue-darker}{RGB} {15 37 96}
\definecolor{polynom-space-grey}{RGB}{51 51 51} \definecolor{polynom-space-grey}{RGB}{21 21 21}
\definecolor{polynom-white}{RGB}{255 255 255} \definecolor{polynom-white}{RGB}{255 255 255}
\definecolor{polynom-red-lighter}{RGB} {255 176 161} \definecolor{polynom-red-lighter}{RGB}{255 176 161}
\definecolor{polynom-red-light}{RGB}{255 112 85} \definecolor{polynom-red-light}{RGB} {255 112 85}
\definecolor{polynom-red}{RGB} {255 62 25} \definecolor{polynom-red}{RGB} {255 62 25}
\definecolor{polynom-red-dark}{RGB} {148 36 15} \definecolor{polynom-red-dark}{RGB} {148 36 15}
\definecolor{polynom-red-darker}{RGB} {96 23 9} \definecolor{polynom-red-darker}{RGB} {96 23 9}
...@@ -21,44 +21,38 @@ ...@@ -21,44 +21,38 @@
\definecolor{polynom-green-dark}{RGB} {68 97 10} \definecolor{polynom-green-dark}{RGB} {68 97 10}
\definecolor{polynom-green-darker}{RGB} {32 45 4} \definecolor{polynom-green-darker}{RGB} {32 45 4}
\definecolor{black} {RGB}{ 0 0 0} \definecolor{black}{RGB}{0 0 0}
\setbeamercolor*{normal text}{fg=polynom-space-grey} \setbeamercolor*{normal text}{fg=polynom-space-grey}
\newcommand{\setPaletteBlue}{ \newcommand{\setPaletteBlue}{
\setbeamercolor*{structure}{fg=polynom-blue} \setbeamercolor*{structure}{fg=polynom-blue}
\setbeamercolor{palette primary}{ fg=polynom-white,bg=polynom-blue} \setbeamercolor{palette primary} {fg=polynom-white,bg=polynom-blue}
\setbeamercolor{palette secondary}{ fg=polynom-white,bg=polynom-blue-dark} \setbeamercolor{palette secondary} {fg=polynom-white,bg=polynom-blue-dark}
\setbeamercolor{palette tertiary}{ fg=polynom-white,bg=polynom-blue-darker} \setbeamercolor{palette tertiary} {fg=polynom-white,bg=polynom-blue-darker}
\setbeamercolor{palette \setbeamercolor{palette quaternary} {fg=polynom-white,bg=polynom-blue-darker}
quaternary}{fg=polynom-white,bg=polynom-blue-darker}
} }
\newcommand{\setPaletteRed}{ \newcommand{\setPaletteRed}{
\setbeamercolor*{structure}{fg=polynom-red} \setbeamercolor*{structure}{fg=polynom-red}
\setbeamercolor{palette primary}{ fg=polynom-white,bg=polynom-red} \setbeamercolor{palette primary} {fg=polynom-white,bg=polynom-red}
\setbeamercolor{palette secondary}{ fg=polynom-white,bg=polynom-red-dark} \setbeamercolor{palette secondary} {fg=polynom-white,bg=polynom-red-dark}
\setbeamercolor{palette tertiary}{ fg=polynom-white,bg=polynom-red-darker} \setbeamercolor{palette tertiary} {fg=polynom-white,bg=polynom-red-darker}
\setbeamercolor{palette \setbeamercolor{palette quaternary} {fg=polynom-white,bg=polynom-red-darker}
quaternary}{fg=polynom-white,bg=polynom-red-darker}
} }
\newcommand{\setPaletteGreen}{ \newcommand{\setPaletteGreen}{
\setbeamercolor*{structure}{fg=polynom-green} \setbeamercolor*{structure}{fg=polynom-green}
\setbeamercolor{palette primary}{ fg=polynom-white,bg=polynom-green} \setbeamercolor{palette primary} {fg=polynom-white,bg=polynom-green}
\setbeamercolor{palette secondary}{ fg=polynom-white,bg=polynom-green-dark} \setbeamercolor{palette secondary} {fg=polynom-white,bg=polynom-green-dark}
\setbeamercolor{palette tertiary}{ fg=polynom-white,bg=polynom-green-darker} \setbeamercolor{palette tertiary} {fg=polynom-white,bg=polynom-green-darker}
\setbeamercolor{palette \setbeamercolor{palette quaternary} {fg=polynom-white,bg=polynom-green-darker}
quaternary}{fg=polynom-white,bg=polynom-green-darker}
} }
\setPaletteBlue \setPaletteBlue
% Sidebar % Sidebar
\setbeamercolor*{sidebar}{parent=palette primary} \setbeamercolor*{sidebar}{parent=palette primary}
\setbeamercolor*{palette sidebar primary}{use=normal text,fg=normal text.fg} \setbeamercolor*{palette sidebar primary} {use=normal text,fg=normal text.fg}
\setbeamercolor*{palette sidebar secondary}{use=normal text,fg=normal text.fg} \setbeamercolor*{palette sidebar secondary} {use=normal text,fg=normal text.fg}
\setbeamercolor*{palette sidebar tertiary}{use=normal text,fg=normal text.fg} \setbeamercolor*{palette sidebar tertiary} {use=normal text,fg=normal text.fg}
\setbeamercolor*{palette sidebar quaternary}{use=normal text,fg=normal text.fg} \setbeamercolor*{palette sidebar quaternary}{use=normal text,fg=normal text.fg}
% Outer structure % Outer structure
...@@ -88,7 +82,6 @@ ...@@ -88,7 +82,6 @@
\setbeamercolor{banner page}{bg=polynom-white, fg=polynom-space-grey} \setbeamercolor{banner page}{bg=polynom-white, fg=polynom-space-grey}
\setbeamercolor{banner page invert}{bg=polynom-space-grey, fg=white} \setbeamercolor{banner page invert}{bg=polynom-space-grey, fg=white}
\setbeamercolor{footline}{bg=polynom-white, fg=polynom-space-grey} \setbeamercolor{footline}{bg=polynom-white, fg=polynom-space-grey}
\setbeamercolor{footline invert}{bg=polynom-space-grey, \setbeamercolor{footline invert}{bg=polynom-space-grey,
fg=polynom-white} fg=polynom-white}
......
...@@ -6,11 +6,11 @@ ...@@ -6,11 +6,11 @@
\definecolor{polynom-blue-dark}{RGB} {24 57 148} \definecolor{polynom-blue-dark}{RGB} {24 57 148}
\definecolor{polynom-blue-darker}{RGB} {15 37 96} \definecolor{polynom-blue-darker}{RGB} {15 37 96}
\definecolor{polynom-space-grey}{RGB}{51 51 51} \definecolor{polynom-space-grey}{RGB}{21 21 21}
\definecolor{polynom-white}{RGB}{255 255 255} \definecolor{polynom-white}{RGB}{255 255 255}
\definecolor{polynom-red-lighter}{RGB} {255 176 161} \definecolor{polynom-red-lighter}{RGB}{255 176 161}
\definecolor{polynom-red-light}{RGB}{255 112 85} \definecolor{polynom-red-light}{RGB} {255 112 85}
\definecolor{polynom-red}{RGB} {255 62 25} \definecolor{polynom-red}{RGB} {255 62 25}
\definecolor{polynom-red-dark}{RGB} {148 36 15} \definecolor{polynom-red-dark}{RGB} {148 36 15}
\definecolor{polynom-red-darker}{RGB} {96 23 9} \definecolor{polynom-red-darker}{RGB} {96 23 9}
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
\definecolor{polynom-green-dark}{RGB} {68 97 10} \definecolor{polynom-green-dark}{RGB} {68 97 10}
\definecolor{polynom-green-darker}{RGB} {32 45 4} \definecolor{polynom-green-darker}{RGB} {32 45 4}
\definecolor{black} {RGB}{ 0 0 0} \definecolor{black}{RGB}{0 0 0}
\setbeamercolor*{normal text}{fg=polynom-space-grey} \setbeamercolor*{normal text}{fg=polynom-space-grey}
...@@ -30,35 +30,32 @@ ...@@ -30,35 +30,32 @@
\newcommand{\setPaletteBlue}{ \newcommand{\setPaletteBlue}{
\setbeamercolor*{structure}{fg=polynom-blue} \setbeamercolor*{structure}{fg=polynom-blue}
\setbeamercolor{palette primary}{ fg=polynom-white,bg=polynom-blue} \setbeamercolor{palette primary} {fg=polynom-white,bg=polynom-blue}
\setbeamercolor{palette secondary}{ fg=polynom-white,bg=polynom-blue-dark} \setbeamercolor{palette secondary} {fg=polynom-white,bg=polynom-blue-dark}
\setbeamercolor{palette tertiary}{ fg=polynom-white,bg=polynom-blue-darker} \setbeamercolor{palette tertiary} {fg=polynom-white,bg=polynom-blue-darker}
\setbeamercolor{palette \setbeamercolor{palette quaternary} {fg=polynom-white,bg=polynom-blue-darker}
quaternary}{fg=polynom-white,bg=polynom-blue-darker}
} }
\newcommand{\setPaletteRed}{ \newcommand{\setPaletteRed}{
\setbeamercolor*{structure}{fg=polynom-red} \setbeamercolor*{structure}{fg=polynom-red}
\setbeamercolor{palette primary}{ fg=polynom-white,bg=polynom-red} \setbeamercolor{palette primary} {fg=polynom-white,bg=polynom-red}
\setbeamercolor{palette secondary}{ fg=polynom-white,bg=polynom-red-dark} \setbeamercolor{palette secondary} {fg=polynom-white,bg=polynom-red-dark}
\setbeamercolor{palette tertiary}{ fg=polynom-white,bg=polynom-red-darker} \setbeamercolor{palette tertiary} {fg=polynom-white,bg=polynom-red-darker}
\setbeamercolor{palette \setbeamercolor{palette quaternary} {fg=polynom-white,bg=polynom-red-darker}
quaternary}{fg=polynom-white,bg=polynom-red-darker}
} }
\newcommand{\setPaletteGreen}{ \newcommand{\setPaletteGreen}{
\setbeamercolor*{structure}{fg=polynom-green} \setbeamercolor*{structure}{fg=polynom-green}
\setbeamercolor{palette primary}{ fg=polynom-white,bg=polynom-green} \setbeamercolor{palette primary} {fg=polynom-white,bg=polynom-green}
\setbeamercolor{palette secondary}{ fg=polynom-white,bg=polynom-green-dark} \setbeamercolor{palette secondary} {fg=polynom-white,bg=polynom-green-dark}
\setbeamercolor{palette tertiary}{ fg=polynom-white,bg=polynom-green-darker} \setbeamercolor{palette tertiary} {fg=polynom-white,bg=polynom-green-darker}
\setbeamercolor{palette \setbeamercolor{palette quaternary} {fg=polynom-white,bg=polynom-green-darker}
quaternary}{fg=polynom-white,bg=polynom-green-darker}
} }
\setPaletteBlue \setPaletteBlue
% Sidebar % Sidebar
\setbeamercolor*{sidebar}{parent=palette primary} \setbeamercolor*{sidebar}{parent=palette primary}
\setbeamercolor*{palette sidebar primary}{use=normal text,fg=normal text.fg} \setbeamercolor*{palette sidebar primary} {use=normal text,fg=normal text.fg}
\setbeamercolor*{palette sidebar secondary}{use=normal text,fg=normal text.fg} \setbeamercolor*{palette sidebar secondary} {use=normal text,fg=normal text.fg}
\setbeamercolor*{palette sidebar tertiary}{use=normal text,fg=normal text.fg} \setbeamercolor*{palette sidebar tertiary} {use=normal text,fg=normal text.fg}
\setbeamercolor*{palette sidebar quaternary}{use=normal text,fg=normal text.fg} \setbeamercolor*{palette sidebar quaternary}{use=normal text,fg=normal text.fg}
% Outer structure % Outer structure
......
...@@ -63,6 +63,6 @@ ...@@ -63,6 +63,6 @@
\setbeamerfont{banner}{size*={60pt}{90pt},series=\bfseries} \setbeamerfont{banner}{size*={60pt}{90pt},series=\bfseries}
\setbeamerfont{footline}{size*={16pt}{24pt}} \setbeamerfont{footline}{size*={13pt}{24pt}}
\mode<all> \mode<all>
...@@ -6,10 +6,10 @@ ...@@ -6,10 +6,10 @@
\RequirePackage{ifxetex} \RequirePackage{ifxetex}
% For conditionals % For conditionals
\def\prjktn@inner@false{f} \def\polynom@inner@false{f}
\def\prjktn@inner@true{t} \def\polynom@inner@true{t}
\DeclareOptionBeamer{sectiontitles}{\def\prjktn@inner@sectiontitles{#1}} \DeclareOptionBeamer{sectiontitles}{\def\polynom@inner@sectiontitles{#1}}
\ExecuteOptionsBeamer{sectiontitles=t} % default value \ExecuteOptionsBeamer{sectiontitles=t} % default value
\ProcessOptionsBeamer \ProcessOptionsBeamer
% t= true, anything else disables them, t is default % t= true, anything else disables them, t is default
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
% #1: Color % #1: Color
% #2: Image path (can be empty)) % #2: Image path (can be empty))
\newcommand{\prjktn@titlepagebox}[2]{ \newcommand{\polynom@titlepagebox}[2]{
\tikz[overlay, remember picture] { \tikz[overlay, remember picture] {
\fill[color=#1] ($(current page.north west)$) rectangle \fill[color=#1] ($(current page.north west)$) rectangle
($(current page.north east)+(0,-\titlebarheight)$); ($(current page.north east)+(0,-\titlebarheight)$);
...@@ -32,14 +32,14 @@ ...@@ -32,14 +32,14 @@
} }
} }
\newcommand{\prjktn@fullpagebox}[1]{ \newcommand{\polynom@fullpagebox}[1]{
\tikz[overlay, remember picture] { \tikz[overlay, remember picture] {
\fill[color=#1] ($(current page.north west)$) rectangle \fill[color=#1] ($(current page.north west)$) rectangle
($(current page.south east)$); ($(current page.south east)$);
} }
} }
\newcommand{\prjktn@inversetitlepagebox}[2]{ \newcommand{\polynom@inversetitlepagebox}[2]{
\tikz[overlay, remember picture] { \tikz[overlay, remember picture] {
\fill[color=#1] ($(current page.south west)$) rectangle \fill[color=#1] ($(current page.south west)$) rectangle
($(current page.north east)+(0,-\titlebarheight)$); ($(current page.north east)+(0,-\titlebarheight)$);
...@@ -52,14 +52,9 @@ ...@@ -52,14 +52,9 @@
% #1: Title % #1: Title
% #2: Subtitle or Author % #2: Subtitle or Author
\newcommand{\poly@titlepagetitle}[2]{ \newcommand{\polynom@titlepagetitle}[2]{
\tikz[overlay, remember picture]{ \tikz[overlay, remember picture]{
\node[anchor=east, text width=.7\paperwidth, align=right] (title) at ($(current page.south west)+(0.7\paperwidth,.5\paperheight-.5\titlebarheight)$)
% Insert title
% TODO text field should be bound on the left to prevent it
% (a) from overfilling the hbox and
% (b) extending the safe-space of the page itself
\node[anchor=east, text width=.6\paperwidth, align=right] (title) at ($(current page.south west)+(0.7\paperwidth,.5\paperheight-.5\titlebarheight)$)
{\usebeamerfont{title}#1}; {\usebeamerfont{title}#1};
% Paint Line % Paint Line
...@@ -70,13 +65,13 @@ ...@@ -70,13 +65,13 @@
\usebeamercolor{subtitle} \usebeamercolor{subtitle}
% Insert subtitle % Insert subtitle
\node[color=fg,anchor=west, text width=.2\paperwidth] (subtitle) at ($(current page.south west) \node[color=fg,anchor=west, text width=.25\paperwidth] (subtitle) at ($(current page.south west)
+ (0.75\paperwidth,.5\paperheight-.5\titlebarheight)$) + (0.75\paperwidth,.5\paperheight-.5\titlebarheight)$)
{\usebeamerfont{subtitle}#2}; {\usebeamerfont{subtitle}\baselineskip=24pt#2\par};
} }
} }
\newcommand{\prjktn@debug@cross}{ \newcommand{\polynom@debug@cross}{
\tikz[overlay, remember picture] { \tikz[overlay, remember picture] {
\draw[color=red] (current page.north) \draw[color=red] (current page.north)
-- (current page.south); -- (current page.south);
...@@ -92,8 +87,8 @@ ...@@ -92,8 +87,8 @@
%%% %%%
\defbeamertemplate{title page}{polynom}[1][]{ \defbeamertemplate{title page}{polynom}[1][]{
\usebeamercolor{palette primary} \usebeamercolor{palette primary}
\prjktn@titlepagebox{bg}{#1} \polynom@titlepagebox{bg}{#1}
\poly@titlepagetitle{\inserttitle}{\insertsubtitle} \polynom@titlepagetitle{\inserttitle}{\insertsubtitle}
%\usebeamertemplate{footline}[polynom] %\usebeamertemplate{footline}[polynom]
} }
...@@ -107,10 +102,10 @@ ...@@ -107,10 +102,10 @@
\defbeamertemplate{section title}{polynom}[1][]{ \defbeamertemplate{section title}{polynom}[1][]{
\usebeamercolor{palette primary} \usebeamercolor{palette primary}
\prjktn@titlepagebox{bg}{#1} \polynom@titlepagebox{bg}{#1}
\poly@titlepagetitle{\insertsectionhead}{} \polynom@titlepagetitle{\insertsectionhead}{}
} }
\if\prjktn@inner@sectiontitles\prjktn@inner@true \if\polynom@inner@sectiontitles\polynom@inner@true
\AtBeginSection[]{ \AtBeginSection[]{
\setbeamertemplate{section title}[polynom][\insertnextsectionimage] \setbeamertemplate{section title}[polynom][\insertnextsectionimage]
\begin{frame}[plain,noframenumbering] \begin{frame}[plain,noframenumbering]
...@@ -126,10 +121,10 @@ ...@@ -126,10 +121,10 @@
%%% %%%
\defbeamertemplate{subsection title}{polynom}{ \defbeamertemplate{subsection title}{polynom}{
\usebeamercolor{palette secondary} \usebeamercolor{palette secondary}
\prjktn@titlepagebox{bg}{} \polynom@titlepagebox{bg}{}
\poly@titlepagetitle{\insertsubsectionhead}{} \polynom@titlepagetitle{\insertsubsectionhead}{}
} }
\if\prjktn@inner@sectiontitles\prjktn@inner@true \if\polynom@inner@sectiontitles\polynom@inner@true
\AtBeginSubsection[]{ \AtBeginSubsection[]{
\setbeamertemplate{subsection title}[polynom]{} \setbeamertemplate{subsection title}[polynom]{}
\begin{frame}[plain,noframenumbering] \begin{frame}[plain,noframenumbering]
...@@ -144,10 +139,10 @@ ...@@ -144,10 +139,10 @@
%%% %%%
\defbeamertemplate{subsubsection title}{polynom}{ \defbeamertemplate{subsubsection title}{polynom}{
\usebeamercolor{palette tertiary} \usebeamercolor{palette tertiary}
\prjktn@titlepagebox{bg}{} \polynom@titlepagebox{bg}{}
\poly@titlepagetitle{\insertsubsubsectionhead}{} \polynom@titlepagetitle{\insertsubsubsectionhead}{}
} }
\if\prjktn@inner@sectiontitles\prjktn@inner@true \if\polynom@inner@sectiontitles\polynom@inner@true
\AtBeginSubsubsection[]{ \AtBeginSubsubsection[]{
\setbeamertemplate{subsubsection title}[polynom]{} \setbeamertemplate{subsubsection title}[polynom]{}
\begin{frame}[plain,noframenumbering] \begin{frame}[plain,noframenumbering]
...@@ -163,7 +158,7 @@ ...@@ -163,7 +158,7 @@
%%% %%%
\defbeamertemplate{banner page}{polynom}[1][]{ \defbeamertemplate{banner page}{polynom}[1][]{
\usebeamercolor{banner page} \usebeamercolor{banner page}
\prjktn@fullpagebox{bg} \polynom@fullpagebox{bg}
\tikz[text width=0.75\paperwidth, text centered, overlay, remember picture]{ \tikz[text width=0.75\paperwidth, text centered, overlay, remember picture]{
\node (finalOne) at ($(current page.south west)+(0.5\paperwidth,0.5\paperheight)$) \node (finalOne) at ($(current page.south west)+(0.5\paperwidth,0.5\paperheight)$)
{\usebeamerfont{banner}#1}; {\usebeamerfont{banner}#1};
...@@ -181,7 +176,7 @@ ...@@ -181,7 +176,7 @@
%%% %%%
\defbeamertemplate{banner page invert}{polynom}[1][]{ \defbeamertemplate{banner page invert}{polynom}[1][]{
\usebeamercolor{banner page invert} \usebeamercolor{banner page invert}
\prjktn@fullpagebox{bg} \polynom@fullpagebox{bg}
\tikz[text=fg, text centered, text width=0.75\paperwidth, overlay, remember picture]{ \tikz[text=fg, text centered, text width=0.75\paperwidth, overlay, remember picture]{
\node (finalOne) at ($(current page.south west)+(0.5\paperwidth,0.5\paperheight)$) \node (finalOne) at ($(current page.south west)+(0.5\paperwidth,0.5\paperheight)$)
{\usebeamerfont{banner}#1}; {\usebeamerfont{banner}#1};
...@@ -199,7 +194,7 @@ ...@@ -199,7 +194,7 @@
%%% %%%
\defbeamertemplate{empty page}{polynom}[1][]{ \defbeamertemplate{empty page}{polynom}[1][]{
\usebeamercolor{banner page} \usebeamercolor{banner page}
\prjktn@fullpagebox{bg} \polynom@fullpagebox{bg}
} }
%%% %%%
...@@ -207,16 +202,21 @@ ...@@ -207,16 +202,21 @@
%%% %%%
\defbeamertemplate{empty page invert}{polynom}[1][]{ \defbeamertemplate{empty page invert}{polynom}[1][]{
\usebeamercolor{banner page invert} \usebeamercolor{banner page invert}
\prjktn@fullpagebox{bg} \polynom@fullpagebox{bg}
} }
%%% %%%
% Items % Items
% this is new, since polynom evolved to be alot
% more geometric, a square seemed to be more fitting
% than the default circle.
% But as always, do as you like
%%% %%%
\ifxetex \ifxetex
\renewcommand{\textbullet}{} \renewcommand{\textbullet}{}
%\renewcommand{\textbullet}{•}
\fi \fi
......
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
\hspace{1em} \hspace{1em}
\vspace{.5em} \vspace{.5em}
\begin{beamercolorbox}[wd=5em,ht=2.5ex,dp=1.125ex,center]{framenumber} \begin{beamercolorbox}[wd=5em,ht=2.5ex,dp=1.125ex,center]{framenumber}
\insertframenumber \textbf{\footnotesize\insertframenumber}
\end{beamercolorbox} \end{beamercolorbox}
} }
...@@ -71,13 +71,14 @@ ...@@ -71,13 +71,14 @@
\usebeamerfont{footline} \usebeamerfont{footline}
\hspace{\leftmargin} \hspace{\leftmargin}
{\usebeamercolor{footline invert}\color{fg} {\usebeamercolor{footline invert}\color{fg}
\insertdate \insertdate
\hfill \hfill
\insertauthor} \insertauthor
}
\hspace{1em} \hspace{1em}
\vspace{.5em} \vspace{.5em}
\begin{beamercolorbox}[wd=5em,ht=2.5ex,dp=1.125ex,center]{framenumber} \begin{beamercolorbox}[wd=5em,ht=2.5ex,dp=1.125ex,center]{framenumber}
\insertframenumber \textbf{\footnotesize\insertframenumber}
\end{beamercolorbox} \end{beamercolorbox}
} }
\setbeamertemplate{footline}[polynom] \setbeamertemplate{footline}[polynom]
......
No preview for this file type
...@@ -4,13 +4,6 @@ ...@@ -4,13 +4,6 @@
\usefonttheme[onlymath]{serif} \usefonttheme[onlymath]{serif}
\boldmath{} \boldmath{}
% Please refer to the manual of minted, if you want to compile this
% documentation from source and have to install it!
% https://github.com/gpoore/minted/blob/master/source/minted.pdf
\usepackage{minted}
\usepackage{tgadventor} \usepackage{tgadventor}
\title{Polynom} \title{Polynom}
...@@ -33,7 +26,7 @@ ...@@ -33,7 +26,7 @@
\section{Motivation} \section{Motivation}
\begin{frame} \begin{frame}
This theme is developed to match PowerPoint-Templates by Alexander This theme is developed to match PowerPoint-Templates by Alexander
Bartolomey GitLab / Hub. Bartolomey GitLab / GitHub.
It is developed because of the lack of clean LaTeX-Templates that It is developed because of the lack of clean LaTeX-Templates that
are designed with 16:9 in mind. (Also I did not want to use the are designed with 16:9 in mind. (Also I did not want to use the
...@@ -45,79 +38,76 @@ ...@@ -45,79 +38,76 @@
font support are very beneficial for the creation of presentations. font support are very beneficial for the creation of presentations.
Nevertheless, we will try to keep the theme working on standard Nevertheless, we will try to keep the theme working on standard
\LaTeX, but the theme will propably be less tested on \LaTeX \LaTeX, but the theme will probably be less tested on \LaTeX
\end{frame} \end{frame}
\section{Features} \section{Features}
\begin{frame}[fragile=singleslide]
\begin{frame}