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>
% 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-space-grey}{RGB}{51 51 51}
\definecolor{polynom-space-grey}{RGB}{21 21 21}
\definecolor{polynom-white}{RGB}{255 255 255}
\definecolor{polynom-blue-dark}{RGB}{0 39 148}
\definecolor{polynom-blue-darker}{RGB}{0 32 96}
......@@ -18,18 +11,6 @@
\definecolor{black} {RGB}{ 0 0 0}
\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
\setbeamercolor*{normal text}{fg=polynom-space-grey}
......@@ -63,14 +44,6 @@
\setbeamercolor*{block title}{fg=palette primary.fg, 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
\setbeamercolor{banner page}{bg=polynom-white, fg=polynom-space-grey}
\setbeamercolor{banner page invert}{bg=polynom-space-grey, fg=white}
......
......@@ -6,11 +6,11 @@
\definecolor{polynom-blue-dark}{RGB} {24 57 148}
\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-red-lighter}{RGB} {255 176 161}
\definecolor{polynom-red-light}{RGB}{255 112 85}
\definecolor{polynom-red-lighter}{RGB}{255 176 161}
\definecolor{polynom-red-light}{RGB} {255 112 85}
\definecolor{polynom-red}{RGB} {255 62 25}
\definecolor{polynom-red-dark}{RGB} {148 36 15}
\definecolor{polynom-red-darker}{RGB} {96 23 9}
......@@ -21,44 +21,38 @@
\definecolor{polynom-green-dark}{RGB} {68 97 10}
\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}
\newcommand{\setPaletteBlue}{
\setbeamercolor*{structure}{fg=polynom-blue}
\setbeamercolor{palette primary}{ fg=polynom-white,bg=polynom-blue}
\setbeamercolor{palette secondary}{ fg=polynom-white,bg=polynom-blue-dark}
\setbeamercolor{palette tertiary}{ fg=polynom-white,bg=polynom-blue-darker}
\setbeamercolor{palette
quaternary}{fg=polynom-white,bg=polynom-blue-darker}
\setbeamercolor{palette primary} {fg=polynom-white,bg=polynom-blue}
\setbeamercolor{palette secondary} {fg=polynom-white,bg=polynom-blue-dark}
\setbeamercolor{palette tertiary} {fg=polynom-white,bg=polynom-blue-darker}
\setbeamercolor{palette quaternary} {fg=polynom-white,bg=polynom-blue-darker}
}
\newcommand{\setPaletteRed}{
\setbeamercolor*{structure}{fg=polynom-red}
\setbeamercolor{palette primary}{ fg=polynom-white,bg=polynom-red}
\setbeamercolor{palette secondary}{ fg=polynom-white,bg=polynom-red-dark}
\setbeamercolor{palette tertiary}{ fg=polynom-white,bg=polynom-red-darker}
\setbeamercolor{palette
quaternary}{fg=polynom-white,bg=polynom-red-darker}
\setbeamercolor{palette primary} {fg=polynom-white,bg=polynom-red}
\setbeamercolor{palette secondary} {fg=polynom-white,bg=polynom-red-dark}
\setbeamercolor{palette tertiary} {fg=polynom-white,bg=polynom-red-darker}
\setbeamercolor{palette quaternary} {fg=polynom-white,bg=polynom-red-darker}
}
\newcommand{\setPaletteGreen}{
\setbeamercolor*{structure}{fg=polynom-green}
\setbeamercolor{palette primary}{ fg=polynom-white,bg=polynom-green}
\setbeamercolor{palette secondary}{ fg=polynom-white,bg=polynom-green-dark}
\setbeamercolor{palette tertiary}{ fg=polynom-white,bg=polynom-green-darker}
\setbeamercolor{palette
quaternary}{fg=polynom-white,bg=polynom-green-darker}
\setbeamercolor{palette primary} {fg=polynom-white,bg=polynom-green}
\setbeamercolor{palette secondary} {fg=polynom-white,bg=polynom-green-dark}
\setbeamercolor{palette tertiary} {fg=polynom-white,bg=polynom-green-darker}
\setbeamercolor{palette quaternary} {fg=polynom-white,bg=polynom-green-darker}
}
\setPaletteBlue
% Sidebar
\setbeamercolor*{sidebar}{parent=palette primary}
\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 tertiary}{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 tertiary} {use=normal text,fg=normal text.fg}
\setbeamercolor*{palette sidebar quaternary}{use=normal text,fg=normal text.fg}
% Outer structure
......@@ -88,7 +82,6 @@
\setbeamercolor{banner page}{bg=polynom-white, fg=polynom-space-grey}
\setbeamercolor{banner page invert}{bg=polynom-space-grey, fg=white}
\setbeamercolor{footline}{bg=polynom-white, fg=polynom-space-grey}
\setbeamercolor{footline invert}{bg=polynom-space-grey,
fg=polynom-white}
......
......@@ -6,11 +6,11 @@
\definecolor{polynom-blue-dark}{RGB} {24 57 148}
\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-red-lighter}{RGB} {255 176 161}
\definecolor{polynom-red-light}{RGB}{255 112 85}
\definecolor{polynom-red-lighter}{RGB}{255 176 161}
\definecolor{polynom-red-light}{RGB} {255 112 85}
\definecolor{polynom-red}{RGB} {255 62 25}
\definecolor{polynom-red-dark}{RGB} {148 36 15}
\definecolor{polynom-red-darker}{RGB} {96 23 9}
......@@ -21,7 +21,7 @@
\definecolor{polynom-green-dark}{RGB} {68 97 10}
\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}
......@@ -30,35 +30,32 @@
\newcommand{\setPaletteBlue}{
\setbeamercolor*{structure}{fg=polynom-blue}
\setbeamercolor{palette primary}{ fg=polynom-white,bg=polynom-blue}
\setbeamercolor{palette secondary}{ fg=polynom-white,bg=polynom-blue-dark}
\setbeamercolor{palette tertiary}{ fg=polynom-white,bg=polynom-blue-darker}
\setbeamercolor{palette
quaternary}{fg=polynom-white,bg=polynom-blue-darker}
\setbeamercolor{palette primary} {fg=polynom-white,bg=polynom-blue}
\setbeamercolor{palette secondary} {fg=polynom-white,bg=polynom-blue-dark}
\setbeamercolor{palette tertiary} {fg=polynom-white,bg=polynom-blue-darker}
\setbeamercolor{palette quaternary} {fg=polynom-white,bg=polynom-blue-darker}
}
\newcommand{\setPaletteRed}{
\setbeamercolor*{structure}{fg=polynom-red}
\setbeamercolor{palette primary}{ fg=polynom-white,bg=polynom-red}
\setbeamercolor{palette secondary}{ fg=polynom-white,bg=polynom-red-dark}
\setbeamercolor{palette tertiary}{ fg=polynom-white,bg=polynom-red-darker}
\setbeamercolor{palette
quaternary}{fg=polynom-white,bg=polynom-red-darker}
\setbeamercolor{palette primary} {fg=polynom-white,bg=polynom-red}
\setbeamercolor{palette secondary} {fg=polynom-white,bg=polynom-red-dark}
\setbeamercolor{palette tertiary} {fg=polynom-white,bg=polynom-red-darker}
\setbeamercolor{palette quaternary} {fg=polynom-white,bg=polynom-red-darker}
}
\newcommand{\setPaletteGreen}{
\setbeamercolor*{structure}{fg=polynom-green}
\setbeamercolor{palette primary}{ fg=polynom-white,bg=polynom-green}
\setbeamercolor{palette secondary}{ fg=polynom-white,bg=polynom-green-dark}
\setbeamercolor{palette tertiary}{ fg=polynom-white,bg=polynom-green-darker}
\setbeamercolor{palette
quaternary}{fg=polynom-white,bg=polynom-green-darker}
\setbeamercolor{palette primary} {fg=polynom-white,bg=polynom-green}
\setbeamercolor{palette secondary} {fg=polynom-white,bg=polynom-green-dark}
\setbeamercolor{palette tertiary} {fg=polynom-white,bg=polynom-green-darker}
\setbeamercolor{palette quaternary} {fg=polynom-white,bg=polynom-green-darker}
}
\setPaletteBlue
% Sidebar
\setbeamercolor*{sidebar}{parent=palette primary}
\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 tertiary}{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 tertiary} {use=normal text,fg=normal text.fg}
\setbeamercolor*{palette sidebar quaternary}{use=normal text,fg=normal text.fg}
% Outer structure
......
......@@ -63,6 +63,6 @@
\setbeamerfont{banner}{size*={60pt}{90pt},series=\bfseries}
\setbeamerfont{footline}{size*={16pt}{24pt}}
\setbeamerfont{footline}{size*={13pt}{24pt}}
\mode<all>
......@@ -6,10 +6,10 @@
\RequirePackage{ifxetex}
% For conditionals
\def\prjktn@inner@false{f}
\def\prjktn@inner@true{t}
\def\polynom@inner@false{f}
\def\polynom@inner@true{t}
\DeclareOptionBeamer{sectiontitles}{\def\prjktn@inner@sectiontitles{#1}}
\DeclareOptionBeamer{sectiontitles}{\def\polynom@inner@sectiontitles{#1}}
\ExecuteOptionsBeamer{sectiontitles=t} % default value
\ProcessOptionsBeamer
% t= true, anything else disables them, t is default
......@@ -21,7 +21,7 @@
% #1: Color
% #2: Image path (can be empty))
\newcommand{\prjktn@titlepagebox}[2]{
\newcommand{\polynom@titlepagebox}[2]{
\tikz[overlay, remember picture] {
\fill[color=#1] ($(current page.north west)$) rectangle
($(current page.north east)+(0,-\titlebarheight)$);
......@@ -32,14 +32,14 @@
}
}
\newcommand{\prjktn@fullpagebox}[1]{
\newcommand{\polynom@fullpagebox}[1]{
\tikz[overlay, remember picture] {
\fill[color=#1] ($(current page.north west)$) rectangle
($(current page.south east)$);
}
}
\newcommand{\prjktn@inversetitlepagebox}[2]{
\newcommand{\polynom@inversetitlepagebox}[2]{
\tikz[overlay, remember picture] {
\fill[color=#1] ($(current page.south west)$) rectangle
($(current page.north east)+(0,-\titlebarheight)$);
......@@ -52,14 +52,9 @@
% #1: Title
% #2: Subtitle or Author
\newcommand{\poly@titlepagetitle}[2]{
\newcommand{\polynom@titlepagetitle}[2]{
\tikz[overlay, remember picture]{
% 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)$)
\node[anchor=east, text width=.7\paperwidth, align=right] (title) at ($(current page.south west)+(0.7\paperwidth,.5\paperheight-.5\titlebarheight)$)
{\usebeamerfont{title}#1};
% Paint Line
......@@ -70,13 +65,13 @@
\usebeamercolor{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)$)
{\usebeamerfont{subtitle}#2};
{\usebeamerfont{subtitle}\baselineskip=24pt#2\par};
}
}
\newcommand{\prjktn@debug@cross}{
\newcommand{\polynom@debug@cross}{
\tikz[overlay, remember picture] {
\draw[color=red] (current page.north)
-- (current page.south);
......@@ -92,8 +87,8 @@
%%%
\defbeamertemplate{title page}{polynom}[1][]{
\usebeamercolor{palette primary}
\prjktn@titlepagebox{bg}{#1}
\poly@titlepagetitle{\inserttitle}{\insertsubtitle}
\polynom@titlepagebox{bg}{#1}
\polynom@titlepagetitle{\inserttitle}{\insertsubtitle}
%\usebeamertemplate{footline}[polynom]
}
......@@ -107,10 +102,10 @@
\defbeamertemplate{section title}{polynom}[1][]{
\usebeamercolor{palette primary}
\prjktn@titlepagebox{bg}{#1}
\poly@titlepagetitle{\insertsectionhead}{}
\polynom@titlepagebox{bg}{#1}
\polynom@titlepagetitle{\insertsectionhead}{}
}
\if\prjktn@inner@sectiontitles\prjktn@inner@true
\if\polynom@inner@sectiontitles\polynom@inner@true
\AtBeginSection[]{
\setbeamertemplate{section title}[polynom][\insertnextsectionimage]
\begin{frame}[plain,noframenumbering]
......@@ -126,10 +121,10 @@
%%%
\defbeamertemplate{subsection title}{polynom}{
\usebeamercolor{palette secondary}
\prjktn@titlepagebox{bg}{}
\poly@titlepagetitle{\insertsubsectionhead}{}
\polynom@titlepagebox{bg}{}
\polynom@titlepagetitle{\insertsubsectionhead}{}
}
\if\prjktn@inner@sectiontitles\prjktn@inner@true
\if\polynom@inner@sectiontitles\polynom@inner@true
\AtBeginSubsection[]{
\setbeamertemplate{subsection title}[polynom]{}
\begin{frame}[plain,noframenumbering]
......@@ -144,10 +139,10 @@
%%%
\defbeamertemplate{subsubsection title}{polynom}{
\usebeamercolor{palette tertiary}
\prjktn@titlepagebox{bg}{}
\poly@titlepagetitle{\insertsubsubsectionhead}{}
\polynom@titlepagebox{bg}{}
\polynom@titlepagetitle{\insertsubsubsectionhead}{}
}
\if\prjktn@inner@sectiontitles\prjktn@inner@true
\if\polynom@inner@sectiontitles\polynom@inner@true
\AtBeginSubsubsection[]{
\setbeamertemplate{subsubsection title}[polynom]{}
\begin{frame}[plain,noframenumbering]
......@@ -163,7 +158,7 @@
%%%
\defbeamertemplate{banner page}{polynom}[1][]{
\usebeamercolor{banner page}
\prjktn@fullpagebox{bg}
\polynom@fullpagebox{bg}
\tikz[text width=0.75\paperwidth, text centered, overlay, remember picture]{
\node (finalOne) at ($(current page.south west)+(0.5\paperwidth,0.5\paperheight)$)
{\usebeamerfont{banner}#1};
......@@ -181,7 +176,7 @@
%%%
\defbeamertemplate{banner page invert}{polynom}[1][]{
\usebeamercolor{banner page invert}
\prjktn@fullpagebox{bg}
\polynom@fullpagebox{bg}
\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)$)
{\usebeamerfont{banner}#1};
......@@ -199,7 +194,7 @@
%%%
\defbeamertemplate{empty page}{polynom}[1][]{
\usebeamercolor{banner page}
\prjktn@fullpagebox{bg}
\polynom@fullpagebox{bg}
}
%%%
......@@ -207,16 +202,21 @@
%%%
\defbeamertemplate{empty page invert}{polynom}[1][]{
\usebeamercolor{banner page invert}
\prjktn@fullpagebox{bg}
\polynom@fullpagebox{bg}
}
%%%
% 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
\renewcommand{\textbullet}{}
\renewcommand{\textbullet}{}
%\renewcommand{\textbullet}{•}
\fi
......
......@@ -63,7 +63,7 @@
\hspace{1em}
\vspace{.5em}
\begin{beamercolorbox}[wd=5em,ht=2.5ex,dp=1.125ex,center]{framenumber}
\insertframenumber
\textbf{\footnotesize\insertframenumber}
\end{beamercolorbox}
}
......@@ -73,11 +73,12 @@
{\usebeamercolor{footline invert}\color{fg}
\insertdate
\hfill
\insertauthor}
\insertauthor
}
\hspace{1em}
\vspace{.5em}
\begin{beamercolorbox}[wd=5em,ht=2.5ex,dp=1.125ex,center]{framenumber}
\insertframenumber
\textbf{\footnotesize\insertframenumber}
\end{beamercolorbox}
}
\setbeamertemplate{footline}[polynom]
......
No preview for this file type
......@@ -4,13 +4,6 @@
\usefonttheme[onlymath]{serif}
\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}
\title{Polynom}
......@@ -33,7 +26,7 @@
\section{Motivation}
\begin{frame}
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
are designed with 16:9 in mind. (Also I did not want to use the
......@@ -45,79 +38,76 @@
font support are very beneficial for the creation of presentations.
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}
\section{Features}
\begin{frame}
\begin{frame}[fragile=singleslide]
\framesubtitle{Clean and pleasing:}
\frametitle{Framedesign}
To use stapled Headlines, you have to specify
To use stacked headlines, you have to specify
\begin{itemize}
\item the upper line with \texttt{\textbackslash framesubtitle\{...\}}
\item the lowe (main) line with \texttt{\textbackslash frametitle\{...\}}
\item the upper line with \verb|\framesubtitle{...}|
\item the lowe (main) line with \verb|\frametitle{...}|
\end{itemize}
\end{frame}
\begin{frame}{Math in Polynom}
Looks verry nice, thanks to serifs and boldfaced letters
Looks very nice, thanks to serifs and boldfaced letters
\[ A=U\Sigma V^T\]
for every matrix \( A\in \mathbb{R}^{m\times n}\) with
\[\Sigma:=\mathrm{diag}(\sigma_1,\dots,\sigma_p) \in \mathbb{R}^{m\times n}, p = \min(m,n)\]
\end{frame}
\subsection{Section Titles}
\begin{frame}{Section Titles}
\begin{frame}[fragile=singleslide]{Section Titles}
\begin{itemize}
\item Activated by default
\begin{itemize}
\item deactivated by calling polynom with \texttt{\textbackslash usetheme[sectiontitles=f]\{polynom\}}
\item deactivated by calling polynom with \verb|\usetheme[sectiontitles=f]{polynom}|
\end{itemize}
\item For Sections, Subsections and Subsubsections
\end{itemize}
\end{frame}
\begin{frame}
\frametitle{Images on Sectiontitles}
\begin{frame}[fragile=singleslide]
\frametitle{Images on section titles}
\framesubtitle{Special Feature}
To add an image to the title of the next section, call
\mintinline{LaTeX}{\nextsectionimage{\#1}}, where
\mintinline{LaTeX}{\#1} is the image file, as you would specify it
for \mintinline{LaTeX}{\includegraphics}. Keep in mind, that the image height
\verb|\nextsectionimage{#1}|, where
\verb|#1| is the image file, as you would specify it
for \verb|\includegraphics|. Keep in mind, that the image height
\alert{always} will be matched to the height of the bar, which has
an aspect-ratio of 8:3.\\
See next slide for an example (Photo by \href{https://unsplash.com/photos/NRQV-hBF10M?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText}{Bailey Zindel} on \href{https://unsplash.com/?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText}{Unsplash})
See next slide for an example (Photo by \href{https://unsplash.com/photos/NRQV-hBF10M}{Bailey Zindel} on \href{https://unsplash.com/}{Unsplash})
\end{frame}
\nextsectionimage{docu_landscape}
\section{Font Selection}
\begin{frame}{Main font}
As a main font, we to use a heavy bold-face geometric typeface. We
might use Googles Product Sans, but since it is not available due to
licensing, there are several alternativs:
\begin{frame}[fragile=singleslide]{Main Font}
As a main font, we advise the usage of a heavy bold-face geometric typeface.
We formerly used Googles Product Sans, but since it is not available for free
due to licensing, there are several alternatives:
\begin{itemize}
\item \href{http://www.tug.dk/FontCatalogue/texgyreadventor/}{\TeX
Gyre Adventor} (Free) (Works for \LaTeX and Xe\LaTeX, used in this document)
\item Futura PT Heacy
\item Helvetica LT
\item Futura PT Heavy
\item Helvetica, using \verb|\usepackage{helvet}|
\item \href{https://www.1001fonts.com/gillius-adf-font.html}{Gillius
ADF} (Free)
\item \href{https://fonts.google.com/specimen/Karla}{Karla} (Free)
\item \href{https://fonts.google.com/specimen/Montserrat}{Montserrat} (Free)
\end{itemize}
\end{frame}
\begin{frame}{Mono Font}
Any monospace font you like, we prefere
\begin{frame}{Monospaced Font}
Any monospaced font you like, we prefer
\href{https://mozilla.github.io/Fira/}{Fira Mono}. Please do not use
\href{https://github.com/tonsky/FiraCode}{Fira Code} or other fonts with programming ligatures for your
presentations because viewers, who do not know them, can (and will!)
get confused by XeLaTeX ligature support, e.g. condensing !== to
three horizontal lines with one skewed vertical right through it.
\href{https://github.com/tonsky/FiraCode}{Fira Code} or other fonts with
programming ligatures for your presentations because viewers who do not
know them can (and will!) get confused by XeLaTeX ligature support, e.g.
condensing !== to three horizontal lines with one skewed vertical right
through it.
\end{frame}
\begin{frame}{Textsizes}
......@@ -134,70 +124,75 @@
{\Huge Huge}
\end{frame}
\section{Color-Palette}
\section{Color Palette}
\newcommand{\clrbx}[1]{
\begin{beamercolorbox}[wd=5em,ht=5ex,dp=1.125ex,center]{#1}
\small#1
\end{beamercolorbox}}
\newcommand{\paletteColors}{
\clrbx{palette primary}
\clrbx{palette secondary}
\clrbx{palette tertiary}
\clrbx{palette quaternary}}
\newcommand{\clrbx}[1]{%
\parbox{5em}{%
\begin{beamercolorbox}[wd=5em,ht=5ex,dp=1.125ex,center]{#1}%
\small#1%
\end{beamercolorbox}%
}%
}
\newcommand{\paletteColors}{%
\begin{center}
\clrbx{palette primary} %
\clrbx{palette secondary}%
\clrbx{palette tertiary}%
\clrbx{palette quaternary}%
\end{center}
}
\begin{frame}{Default Color-Theme}
\begin{frame}{Default Color Theme}
The default palette consists of the following colors:\\
\paletteColors\\
\paletteColors
\end{frame}
\input{beamercolorthemepolynomseconddegree.sty}
\begin{frame}{Color Theme polynomseconddegree}
Load it via
\mintinline{LaTeX}{\usebeamercolortheme{polynomseconddegree}}. The
main-palette consists of the following colors:\\
\paletteColors\\
\begin{frame}[fragile]{Color Theme \texttt{polynomseconddegree}}
Load it via \verb|\usebeamercolortheme{polynomseconddegree}|.
The main palette consists of the following colors:\\
\paletteColors
\texttt{polynomseconddegree} provides additional colors-schemes,
\texttt{polynomseconddegree} provides additional colors schemes,
which you can switch dynamically, the default one can be restored by by
\mintinline{LaTeX}{\setPaletteBlue}
\verb|\setPaletteBlue|
\end{frame}
\setPaletteRed
\begin{frame}{Color Theme polynomseconddegree}
\begin{frame}[fragile]{Color Theme \texttt{polynomseconddegree}}
\framesubtitle{Red}
To use the red color-scheme, call \mintinline{LaTeX}{\setPaletteRed}
To use the red color scheme, call \verb|\setPaletteRed|
before the first frame you want to use it on (also affects
section-titles etc.) \\
\paletteColors\\
section titles etc.)\\
\paletteColors
\end{frame}
\setPaletteGreen
\begin{frame}{Color Theme polynomseconddegree}
\begin{frame}[fragile]{Color Theme \texttt{polynomseconddegree}}
\framesubtitle{Green}
To use the green color-scheme, call \mintinline{LaTeX}{\setPaletteGreen}
To use the green color scheme, call \verb|\setPaletteGreen|