initial commit

This commit is contained in:
Justin Dretvic 2024-03-16 18:06:27 +01:00
parent 1eb1e40eea
commit 34aedbc357
14 changed files with 1297 additions and 0 deletions

View File

@ -0,0 +1,22 @@
MIT License
Copyright (c) 2020 Martin Helsø
Copyright (c) 2020 Tim Träris, Valentin Weber
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@ -0,0 +1,105 @@
# UnFUG
Beamer theme for the Unix Friends and Users Group.
This theme was forked from [UiB by Martin Helso](https://github.com/martinhelso/UiB).
## Logo
The logo can be removed from a specific `frame`
using the macro `\hidelogo` outside of the `frame` like this:
```LaTeX
\hidelogo
\begin{frame}
...
\end{frame}
```
Use `\showlogo` in the same manner to make the logo appear again.
## Table of Contents
The table of contents is populated automatically using sections and subsections.
You can insert the table of contents again and highlight the current section like this:
```LaTeX
\begin{frame}{Table of contents}
\tableofcontents[currentsection]
\end{frame}
```
## Section page
The command `\SectionFrame` inserts a plain frame with the centered section title on green background.
The command `\SectionFrameAlt` inserts a regular frame with the centered section title.
If you want to replicate this page style but don't want to create a section for it, you can use `\SectionFrameWithText{<yourtext>}` or `\SectionFrameAltWithText{<yourtext>}` to override the centered title text.
## Enumerated references
The command `\enumref` inserts a reference to an enumerated item
in the shape of a green box,
like the ones used in the `enumerate` environment.
## Options
Options are given as
```LaTeX
\usetheme[option]{UnFUG}
```
### Font
By default,
almost all text is typeset in a sans serif.
The option `MathSerif` enables serifs for mathematical symbols,
whereas `Serif` enables serifs for all text.
### Logo
By default,
the logo appears in the lower right corner.
The option `logotop` moves the logo to the top right corner.
### Numbered environments
By default,
the environments listed below are unnumbered.
The option `numbered` adds numbers,
whereas `AMS` adds numbers and typesets the environment names
in the style of the American Mathematical Society.
### Title frame
Presentations automatically start with a title frame.
It can be disabled with the option `NoTitlePage`.
### Language
If one of the options
* `american`
* `english`
* `UKenglish`
* `USenglish`
* `german`
are given,
the environments listed below are translated into the specified language.
## Environments
An _environment_ is initialized with
```LaTeX
\begin{environment}
...
\end{environment}
```
The following environments are predefined by `beamer`:
* `corollary`
* `definition`
* `definitions`
* `example`
* `examples`
* `fact`
* `lemma`
* `theorem`
In addition, `HFU` defines these environments:
* `assumption`
* `axiom`
* `calculation`
* `computation`
* `conjecture`
* `facts`
* `hypothesis`
* `notation`
* `observation`
* `proposition`
* `property`
* `remark`
* `remarks`

View File

@ -0,0 +1,736 @@
% Theme for the Unix Group and Users Group
% Version 2.2
% Copyright (c) 2020 Martin Helsø
% Copyright (c) 2020 Tim Träris
% Copyright (c) 2022 Valentin Weber
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\RequirePackage{calc}
\RequirePackage{etoolbox}
\RequirePackage[utf8]{inputenc}
\RequirePackage[LGR, T1]{fontenc}
\RequirePackage{datetime2}
\RequirePackage{thmtools}
\RequirePackage{tikz}
\hypersetup{colorlinks,
urlcolor = unfuglink,
linkcolor =,
citecolor =}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Standard headers:
\DeclareOptionBeamer{american}
{
\def \unfuglang {eng}
\def \unfuglangII {american}
}
\DeclareOptionBeamer{english}
{
\def \unfuglang {eng}
\def \unfuglangII {english}
}
\DeclareOptionBeamer{UKenglish}
{
\def \unfuglang {eng}
\def \unfuglangII {UKenglish}
}
\DeclareOptionBeamer{USenglish}
{
\def \unfuglang {eng}
\def \unfuglangII {USenglish}
}
\DeclareOptionBeamer{german}
{
\def \unfuglang {de}
\def \unfuglangII {ngerman}
}
\urlstyle{same}
%% Vertical text alignment:
\DeclareOptionBeamer{c}{ \beamer@centeredtrue }
\DeclareOptionBeamer{t}{ \beamer@centeredfalse }
%% Theorem numbers:
\DeclareOptionBeamer{unnumbered}{ \def \unfugtheorem {} }
\DeclareOptionBeamer{numbered} { \def \unfugtheorem {numbered} }
\DeclareOptionBeamer{AMS} { \def \unfugtheorem {ams style} }
%% Font:
\providebool{neohellenic}
\providebool{latinmodern}
\DeclareOptionBeamer{SansSerif}
{
\def \unfugfont {default}
\setbool{neohellenic}{true}
\setbool{latinmodern}{false}
\AtBeginDocument{\sbox0{\(\mathsf{\xdef\mathsfgroup{\the\mathgroup}}\)}}
\def\operator@font{\mathgroup\mathsfgroup}
}
\DeclareOptionBeamer{unfugSerif}
{
\def \unfugfont {professionalfonts}
\setbool{neohellenic}{false}
\setbool{latinmodern}{false}
\AtBeginDocument{\sbox0{\(\mathrm{\xdef\mathrmgroup{\the\mathgroup}}\)}}
\def\operator@font{\mathgroup\mathrmgroup}
}
\DeclareOptionBeamer{Serif}
{
\def \unfugfont {serif}
\setbool{neohellenic}{false}
\setbool{latinmodern}{true}
\AtBeginDocument{\sbox0{\(\mathrm{\xdef\mathrmgroup{\the\mathgroup}}\)}}
\def\operator@font{\mathgroup\mathrmgroup}
}
%% Automatic title frame:
\DeclareOptionBeamer{TitlePage} { \def \unfugfirstframe {\TitlePage} }
\DeclareOptionBeamer{NoTitlePage} { \def \unfugfirstframe {} }
%% Top Logo positioning
\providebool{logotop}
\DeclareOptionBeamer{logotop}{
\setbool{logotop}{true}
}
\ExecuteOptionsBeamer{english}
\ExecuteOptionsBeamer{t}
\ExecuteOptionsBeamer{unnumbered}
\ExecuteOptionsBeamer{SansSerif}
\ExecuteOptionsBeamer{TitlePage}
\ProcessOptionsBeamer
\AtBeginDocument{ \unfugfirstframe }
\RequirePackage[\unfuglangII]{babel}
% Use a neohellenic font from the Greek Font Society
% for small, greek letters. It is a sans serif that
% matches Helvetica better in style and weight than
% the standard Computer Modern.
\ifbool{neohellenic}
{
\DeclareSymbolFont{neomath}{OML}{neohellenic}{m}{n}
\DeclareMathSymbol{\alpha}\mathord{neomath}{"0B}
\DeclareMathSymbol{\beta}\mathord{neomath}{"0C}
\DeclareMathSymbol{\gamma}\mathord{neomath}{"0D}
\DeclareMathSymbol{\delta}\mathord{neomath}{"0E}
\DeclareMathSymbol{\epsilon}\mathord{neomath}{"0F}
\DeclareMathSymbol{\zeta}\mathord{neomath}{"10}
\DeclareMathSymbol{\eta}\mathord{neomath}{"11}
\DeclareMathSymbol{\theta}\mathord{neomath}{"12}
\DeclareMathSymbol{\theta}\mathord{neomath}{"12}
\DeclareMathSymbol{\iota}\mathord{neomath}{"13}
\DeclareMathSymbol{\kappa}\mathord{neomath}{"14}
\DeclareMathSymbol{\lambda}\mathord{neomath}{"15}
\DeclareMathSymbol{\mu}\mathord{neomath}{"16}
\DeclareMathSymbol{\nu}\mathord{neomath}{"17}
\DeclareMathSymbol{\xi}\mathord{neomath}{"18}
\DeclareMathSymbol{\pi}\mathord{neomath}{"19}
\DeclareMathSymbol{\rho}\mathord{neomath}{"1A}
\DeclareMathSymbol{\sigma}\mathord{neomath}{"1B}
\DeclareMathSymbol{\tau}\mathord{neomath}{"1C}
\DeclareMathSymbol{\upsilon}\mathord{neomath}{"1D}
\DeclareMathSymbol{\phi}\mathord{neomath}{"1E}
\DeclareMathSymbol{\chi}\mathord{neomath}{"1F}
\DeclareMathSymbol{\psi}\mathord{neomath}{"20}
\DeclareMathSymbol{\omega}\mathord{neomath}{"21}
\DeclareMathSymbol{\varepsilon}\mathord{neomath}{"22}
\DeclareMathSymbol{\vartheta}\mathord{neomath}{"23}
\DeclareMathSymbol{\varpi}\mathord{neomath}{"24}
\DeclareMathSymbol{\varrho}\mathord{neomath}{"25}
\DeclareMathSymbol{\varsigma}\mathord{neomath}{"26}
\DeclareMathSymbol{\varphi}\mathord{neomath}{"27}
}
{}
\ifbool{latinmodern}
{
\renewcommand{\rmdefault}{lmr} % Latin Modern Roman
}
{
\renewcommand{\rmdefault}{pbk} % Bookman
}
\renewcommand{\sfdefault}{phv} % Helvetica
\renewcommand{\ttdefault}{pcr} % Courier
%% Allow more stretching
\setlength{\emergencystretch}{3em}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Official colours:
\definecolor{unfugyellow} {HTML}{ffff00}
\definecolor{unfugorange}{HTML}{ff6400}
\definecolor{unfugblue} {HTML}{000064}
\definecolor{unfugdarkblue} {HTML}{000032}
\definecolor{unfugblack} {HTML}{000000}
\definecolor{unfuggray} {HTML}{dddddd}
\definecolor{unfuglink} {HTML}{ff6400}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\mode<presentation>
\useinnertheme{rectangles}
\usefonttheme{\unfugfont}
\setbeamertemplate{theorems}[\unfugtheorem]
\setbeamertemplate{qed symbol}{\(\blacksquare\)}
\setbeamertemplate{navigation symbols}{}
\setbeamertemplate{caption label separator}{: }
\setbeamersize{text margin left = 3.845mm,
text margin right = 3.845mm}
%% Standard colours:
\colorlet{alert}{unfugorange}
\setbeamercolor{structure}{fg = unfugblue}
\setbeamercolor{block title}{fg = white,
bg = unfugblue}
\setbeamercolor{block body} {bg = unfuggray}
\setbeamercolor{block title example}{fg = white,
bg = unfugdarkblue}
\setbeamercolor{block body example} {bg = unfuggray}
\setbeamercolor{block title alerted}{fg = white,
bg = unfugorange}
\setbeamercolor{block body alerted} {bg = unfuggray}
\setbeamercolor{alerted text} {fg = unfugorange}
\setbeamercolor{footnote mark}{fg = unfugblue}
\setbeamercolor{section in head/foot}{fg = white,
bg = unfugdarkblue}
\setbeamercolor{section in toc}{fg = black}
\setbeamercolor{bibliography entry location}{fg = structure}
%% Custom colours:
\setbeamercolor*{section page}{fg = white, bg = structure}
\setbeamercolor{section page alt}{fg = unfugorange, bg = white}
%% Standard fonts:
\setbeamerfont{author} {size = \LARGE,
series = \normalfont\bfseries}
\setbeamerfont{date} {size = \large,
series = \normalfont\mdseries}
\setbeamerfont{title} {size = \huge,
series = \bfseries}
\setbeamerfont{subtitle} {size = \LARGE,
series = \normalfont\mdseries}
\setbeamerfont{frametitle}{size = \LARGE,
series = \bfseries}
\setbeamerfont{title in head/foot} {series = \bfseries}
\setbeamerfont{author in head/foot}{series = \bfseries}
\setbeamerfont{date in head/foot} {series = \bfseries}
\setbeamerfont{section in toc} {series = \bfseries}
%% Custom fonts:
\setbeamerfont*{section page}{size = \Huge,
series = \bfseries}
\setbeamerfont{mastodon} {size = \footnotesize,
series=\normalfont\bfseries}
%% Defining the "mastodon" macro for use on the title slide
\def\@mastodon{}
\newcommand{\mastodon}[2]{\def\@mastodon{\href{https://#2/@#1}{@{#1}@{#2}}\\}} % Included a line break in order to make good formatting possible even when the command is not used.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\insertcustomerlogo}{}
\newcommand{\customerlogo}[1]{\renewcommand{\insertcustomerlogo}{\includegraphics[height = 0.12\paperheight]{#1}}}
\setbeamertemplate{title page}
{
\begin{center}
\usebeamerfont{title}
\inserttitle
\\
\usebeamerfont{subtitle}
\insertsubtitle
\end{center}
\begin{beamercolorbox}[wd = \paperwidth,
ht = 11 mm,
dp = \dimexpr 0.4\paperheight - 11 mm \relax,
leftskip = 1 em,
rightskip = 1 em]
{section in head/foot}
\begin{minipage}[t][0.28\paperheight]{\textwidth}
\centering
\usebeamerfont{author}
\insertauthor
\\
\usebeamerfont{mastodon}
\vspace{0.5ex}
\@mastodon
\usebeamerfont{date}
\vspace{0.5ex}
\insertdate
\vfill
\insertcustomerlogo
\hfill
\includegraphics[height = 0.12\paperheight]{unfug-images/Logo_unfug_ws.pdf}
\end{minipage}
\end{beamercolorbox}
\vspace*{-1.3em}
}
\newcommand{\TitlePage}
{{
\begin{frame}[b, plain, noframenumbering]
\titlepage
\end{frame}
}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setbeamertemplate{frametitle}
{
\vbox
{
\strut\insertframetitle\strut
}
%\vskip-1.3ex
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setbeamertemplate{headline}{ \vspace*{1.7 mm} }
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setbeamertemplate{footline}
{
\leavevmode
\hbox
{%
\begin{beamercolorbox}[wd = 0.33\paperwidth,
ht = 2.25ex,
dp = 1ex,
rightskip=.3cm plus1fill]
{section in head/foot}
\usebeamerfont{author in head/foot}
\hspace*{5ex}
\insertshortauthor
\end{beamercolorbox}%
\begin{beamercolorbox}[wd = 0.34\paperwidth,
ht = 2.25ex,
dp = 1ex,
leftskip=.3cm plus1fill,
rightskip=.3cm plus1fill]
{section in head/foot}
\usebeamerfont{title in head/foot}
\insertshorttitle
\end{beamercolorbox}%
\begin{beamercolorbox}[wd = 0.33\paperwidth,
ht = 2.25ex,
dp = 1ex,
leftskip=.3cm plus1fill]
{section in head/foot}
\usebeamerfont{date in head/foot}
\insertshortdate
\hspace*{2em}
\insertframenumber{} / \inserttotalframenumber
\hspace*{5ex}
\end{beamercolorbox}
}
\vskip0pt
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\hidelogo}{\logo{}}
\newcommand{\showlogo}{
\logo{
\ifbool{logotop}{
% logo right top
\ifdimequal{\beamer@paperheight}{10cm}{
\pgfputat{\pgfxy(-0.07,8.2)}{\llap{\includegraphics[height = 0.08\paperheight]{unfug-images/Logo_unfug_sw.pdf}}}
}{
\ifdimequal{\beamer@paperheight}{9.6cm}{
\pgfputat{\pgfxy(-0.07,7.8)}{\llap{\includegraphics[height = 0.08\paperheight]{unfug-images/Logo_unfug_sw.pdf}}}
}{
\ifdimequal{\beamer@paperheight}{9cm}{
\pgfputat{\pgfxy(-0.07,7.2)}{\llap{\includegraphics[height = 0.08\paperheight]{unfug-images/Logo_unfug_sw.pdf}}}
}{
\ClassWarningNoLine{UnFUG-Beamer}{logotop is not available.}
}
}
}
}{
% logo right bottom
\includegraphics[height = 0.08\paperheight]{unfug-images/Logo_unfug_sw.pdf}
}
}
}
\showlogo
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Redefine blocks with larger indentations,
%% and some environmental colours:
\setbeamertemplate{block begin}
{
\setbeamercolor{itemize item} {fg = block title.bg}
\setbeamercolor{itemize subitem} {fg = block title.bg}
\setbeamercolor{itemize subsubitem}{fg = block title.bg}
\setbeamercolor{item projected}{fg = block title.fg,
bg = block title.bg}
\setbeamercolor{description item}{fg = alert}
\setbeamercolor{caption name} {fg = alert}
\unskip
\vskip1.3ex
\begin{beamercolorbox}[ht = 2.4 ex,
dp = 1 ex,
leftskip = 0.75 ex,
rightskip = 0.75 ex]
{block title}
\usebeamerfont*{block title}
\insertblocktitle
\end{beamercolorbox}
\nointerlineskip
\usebeamerfont{block body}
\begin{beamercolorbox}[dp = 1 ex,
leftskip = 0.75 ex,
rightskip = 0.75 ex,
vmode]
{block body}
\vspace*{1ex}
\begin{minipage}{\textwidth - 1.5ex}
}
\setbeamertemplate{block end}
{
\end{minipage}
\vskip0pt
\end{beamercolorbox}
\vskip1.3ex
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setbeamertemplate{block example begin}
{
\setbeamercolor{itemize item} {fg = block title example.bg}
\setbeamercolor{itemize subitem} {fg = block title example.bg}
\setbeamercolor{itemize subsubitem}{fg = block title example.bg}
\setbeamercolor{item projected}{fg = block title example.fg,
bg = block title example.bg}
\setbeamercolor{description item}{fg = alert}
\setbeamercolor{caption name} {fg = alert}
\unskip
\vskip1.3ex
\begin{beamercolorbox}[ht = 2.4 ex,
dp = 1 ex,
leftskip = 0.75 ex,
rightskip = 0.75 ex]
{block title example}
\usebeamerfont*{block title example}
\insertblocktitle
\end{beamercolorbox}
\nointerlineskip
\usebeamerfont{block body example}
\begin{beamercolorbox}[dp = 1 ex,
leftskip = 0.75 ex,
rightskip = 0.75 ex,
vmode]
{block body example}
\vspace*{1ex}
\begin{minipage}{\textwidth - 1.5ex}
}
\setbeamertemplate{block example end}
{
\end{minipage}
\vskip0pt
\end{beamercolorbox}
\vskip1.3ex
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setbeamertemplate{block alerted begin}
{
\setbeamercolor{itemize item} {fg = block title alerted.bg}
\setbeamercolor{itemize subitem} {fg = block title alerted.bg}
\setbeamercolor{itemize subsubitem}{fg = block title alerted.bg}
\setbeamercolor{item projected}{fg = block title alerted.fg,
bg = block title alerted.bg}
\setbeamercolor{description item}{fg = alert}
\setbeamercolor{caption name} {fg = alert}
\unskip
\vskip1.3ex
\begin{beamercolorbox}[ht = 2.4 ex,
dp = 1 ex,
leftskip = 0.75 ex,
rightskip = 0.75 ex]
{block title alerted}
\usebeamerfont*{block title alerted}
\insertblocktitle
\end{beamercolorbox}
\nointerlineskip
\usebeamerfont{block body alerted}
\begin{beamercolorbox}[dp = 1 ex,
leftskip = 0.75 ex,
rightskip = 0.75 ex,
vmode]
{block body alerted}
\vspace*{1ex}
\begin{minipage}{\textwidth - 1.5ex}
}
\setbeamertemplate{block alerted end}
{
\end{minipage}
\vskip0pt
\end{beamercolorbox}
\vskip1.3ex
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Reference enumerate items
\newcommand{\enumref}[1]
{{%
\leavevmode\unskip
\def\insertenumlabel{\ref{#1}}
\usebeamertemplate*{enumerate item}%
}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setbeamertemplate{section page}
{
\begin{center}
\vskip\baselineskip
\insertsection
\end{center}
}
\newcommand{\SectionFrame}
{{
\setbeamercolor{background canvas}{parent = section page}
\begin{frame}[c, plain, noframenumbering]
\sectionpage
\end{frame}
}}
\newcommand{\SectionFrameWithText}[1]
{{
\setbeamercolor{background canvas}{parent = section page}
\usebeamerfont{section page}
\usebeamercolor[fg]{section page}
\begin{frame}[c, plain, noframenumbering]
\begin{center}
\vskip\baselineskip
#1
\end{center}
\end{frame}
}}
\newcommand{\SectionFrameAlt}
{{
\usebeamerfont{section page}
\usebeamercolor[fg]{section page alt}
\begin{frame}[c]
\begin{center}
\vskip.75\baselineskip
\insertsection
\end{center}
\end{frame}
}}
\newcommand{\SectionFrameAltWithText}[1]
{{
\usebeamerfont{section page}
\usebeamercolor[fg]{section page alt}
\begin{frame}[c]
\begin{center}
\vskip.75\baselineskip
#1
\end{center}
\end{frame}
}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand<>{\ConclusionArrow}[1]
{{
\only#2{
\begin{tikzpicture}[line width=.2cm]
\tikzset{every edge/.append style = {>=stealth, align=left}}
\draw[unfugorange,arrows={-Triangle[length=0.5cm,width=.5cm]}] (0,0) - - (1,0);
\node[text width=\textwidth, anchor=west, right] at (1,0) {#1};
\end{tikzpicture}
}
}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\mode<all>
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Translate environment names to German:
\uselanguage {\unfuglang}
\languagepath{\unfuglang}
\deftranslation[to = de]{assumption} {Annahme}
\deftranslation[to = de]{Assumption} {Annahme}
\deftranslation[to = de]{axiom} {Axiom}
\deftranslation[to = de]{Axiom} {Axiom}
\deftranslation[to = de]{calculation}{Kalkulation}
\deftranslation[to = de]{Calculation}{Kalkulation}
\deftranslation[to = de]{computation}{Berechnung}
\deftranslation[to = de]{Computation}{Berechnung}
\deftranslation[to = de]{conjecture} {Vermutung}
\deftranslation[to = de]{Conjecture} {Vermutung}
\deftranslation[to = de]{corollary} {Folgerung}
\deftranslation[to = de]{Corollary} {Folgerung}
\deftranslation[to = de]{definition} {Definition}
\deftranslation[to = de]{Definition} {Definition}
\deftranslation[to = de]{definitions}{Definitionen}
\deftranslation[to = de]{Definitions}{Definitionen}
\deftranslation[to = de]{example} {Beispiel}
\deftranslation[to = de]{Example} {Beispiel}
\deftranslation[to = de]{examples} {Beispiele}
\deftranslation[to = de]{Examples} {Beispiele}
\deftranslation[to = de]{fact} {Fakt}
\deftranslation[to = de]{Fact} {Fakt}
\deftranslation[to = de]{facts} {Fakten}
\deftranslation[to = de]{Facts} {Fakten}
\deftranslation[to = de]{hypothesis} {Hypothese}
\deftranslation[to = de]{Hypothesis} {Hypothese}
\deftranslation[to = de]{notation} {Notation}
\deftranslation[to = de]{Notation} {Notation}
\deftranslation[to = de]{observation}{Beobachtung}
\deftranslation[to = de]{Observation}{Beobachtung}
\deftranslation[to = de]{property} {Eigenschaft}
\deftranslation[to = de]{Property} {Eigenschaft}
\deftranslation[to = de]{proposition}{Vorschlag}
\deftranslation[to = de]{Proposition}{Vorschlag}
\deftranslation[to = de]{remark} {Anmerkung}
\deftranslation[to = de]{Remark} {Anmerkung}
\deftranslation[to = de]{remarks} {Anmerkungen}
\deftranslation[to = de]{Remarks} {Anmerkungen}
\deftranslation[to = de]{theorem} {Satz}
\deftranslation[to = de]{Theorem} {Satz}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Define additional theorem-like environments:
\declaretheorem[style = plain,
sibling = theorem,
name = {\translate[to=\unfuglang]{Conjecture}}]
{conjecture}
\declaretheorem[style = plain,
sibling = theorem,
name = {\translate[to=\unfuglang]{Facts}}]
{facts}
\declaretheorem[style = plain,
sibling = theorem,
name = {\translate[to=\unfuglang]{Hypothesis}}]
{hypothesis}
\declaretheorem[style = plain,
sibling = theorem,
name = {\translate[to=\unfuglang]{Observation}}]
{observation}
\declaretheorem[style = plain,
sibling = theorem,
name = {\translate[to=\unfuglang]{Proposition}}]
{proposition}
\declaretheorem[style = definition,
name = {\translate[to=\unfuglang]{Assumption}}]
{assumption}
\declaretheorem[style = definition,
name = {\translate[to=\unfuglang]{Axiom}}]
{axiom}
\declaretheorem[style = definition,
name = {\translate[to=\unfuglang]{Property}}]
{property}
\declaretheorem[style = definition,
numbered = no,
name = {\translate[to=\unfuglang]{Calculation}}]
{calculation}
\declaretheorem[style = definition,
numbered = no,
name = {\translate[to=\unfuglang]{Computation}}]
{computation}
\declaretheorem[style = definition,
sibling = theorem,
name = {\translate[to=\unfuglang]{Notation}}]
{notation}
\declaretheorem[style = remark,
name = {\translate[to=\unfuglang]{Remark}}]
{remark}
\declaretheorem[style = remark,
sibling = remark,
name = {\translate[to=\unfuglang]{Remarks}}]
{remarks}
\endinput

View File

@ -0,0 +1,217 @@
\documentclass[UKenglish,aspectratio=169,logotop]{beamer}
\usetheme{UnFUG}
\usepackage{csquotes} % Quotation marks
\usepackage{microtype} % Improved typography
\usepackage{amssymb} % Mathematical symbols
\usepackage{mathtools} % Mathematical symbols
\usepackage[absolute, overlay]{textpos} % Arbitrary placement
\setlength{\TPHorizModule}{\paperwidth} % Textpos units
\setlength{\TPVertModule}{\paperheight} % Textpos units
\usepackage{tikz}
\usepackage{pgf}
\usetikzlibrary{overlay-beamer-styles} % Overlay effects for TikZ
\usetikzlibrary{positioning} % Positioning of nodes for TikZ
\usetikzlibrary{arrows.meta} % more arrow styles
\author{Valentin Weber}
\title{Beamer example}
\subtitle{Usage of the theme \texttt{UnFUG}}
%\date{DD.MM.YYYY} % this is just a placeholder, use whatever format floats your boat
%\customerlogo{path-to-image} % this is just a placeholder. Appears on the right side of the title page.
%\mastodon{username}{instance} % this is just a placeholder. Will appear in username@instance format with a hyperlink to the profile included.
\begin{document}
\section{Overview}
% Use
%
% \begin{frame}[allowframebreaks]{Title}
%
% if the TOC does not fit one frame.
\begin{frame}{Table of contents}
\tableofcontents
\end{frame}
\section{Mathematics}
\subsection{Theorem}
\begin{frame}{Mathematics}
\begin{theorem}[Fermat's little theorem]
For a prime~\(p\) and \(a \in \mathbb{Z}\) it holds that \(a^p \equiv a \pmod{p}\).
\end{theorem}
\begin{proof}
The invertible elements in a field form a group under multiplication.
In particular, the elements
\begin{equation*}
1, 2, \ldots, p - 1 \in \mathbb{Z}_p
\end{equation*}
form a group under multiplication modulo~\(p\).
This is a group of order \(p - 1\).
For \(a \in \mathbb{Z}_p\) and \(a \neq 0\) we thus get \(a^{p-1} = 1 \in \mathbb{Z}_p\).
The claim follows.
\end{proof}
\end{frame}
\subsection{Example}
\begin{frame}{Mathematics}
\begin{example}
The function \(\phi \colon \mathbb{R} \to \mathbb{R}\) given by \(\phi(x) = 2x\) is continuous at the point \(x = \alpha\),
because if \(\epsilon > 0\) and \(x \in \mathbb{R}\) is such that \(\lvert x - \alpha \rvert < \delta = \frac{\epsilon}{2}\),
then
\begin{equation*}
\lvert \phi(x) - \phi(\alpha)\rvert = 2\lvert x - \alpha \rvert < 2\delta = \epsilon.
\end{equation*}
\end{example}
\end{frame}
\section{Highlighting}
\SectionFrame
\begin{frame}{Highlighting}
Sometimes it is useful to \alert{highlight} certain words in the text.
\begin{alertblock}{Important message}
If a lot of text should be \alert{highlighted}, it is a good idea to put it in a box.
\end{alertblock}
It is easy to match the \structure{colour theme}.
\end{frame}
\section{Lists}
\begin{frame}{Lists}
\begin{itemize}
\item
Bullet lists are marked with a red box.
\end{itemize}
\begin{enumerate}
\item
\label{enum:item}
Numbered lists are marked with a white number inside a red box.
\end{enumerate}
\begin{description}
\item[Description] highlights important words with red text.
\end{description}
Items in numbered lists like \enumref{enum:item} can be referenced with a red box.
\begin{example}
\begin{itemize}
\item
Lists change colour after the environment.
\end{itemize}
\end{example}
\vspace{2ex}
\ConclusionArrow{Key messages or conclusions can be highlighted by using an arrow}
\end{frame}
\section{Effects}
\begin{frame}{Effects}
\begin{columns}[onlytextwidth]
\begin{column}{0.49\textwidth}
\begin{enumerate}[<+-|alert@+>]
\item
Effects that control
\item
when text is displayed
\item
are specified with <> and a list of slides.
\end{enumerate}
\begin{theorem}<2>
This theorem is only visible on slide number 2.
\end{theorem}
\end{column}
\begin{column}{0.49\textwidth}
Use \textbf<2->{textblock} for arbitrary placement of objects.
\pause
\medskip
It creates a box
with the specified width (here in a percentage of the slide's width)
and upper left corner at the specified coordinate (x, y)
(here x is a percentage of width and y a percentage of height).
\end{column}
\end{columns}
\begin{textblock}{0.3}(0.45, 0.55)
\includegraphics<1, 3>[width = \textwidth]{unfug-images/Logo_unfug_sw.pdf}
\end{textblock}
\end{frame}
\section{Diskussion und Fragen}
\SectionFrameAlt
\section{References}
\begin{frame}[allowframebreaks]{References}
\begin{thebibliography}{}
% Article is the default.
\setbeamertemplate{bibliography item}[book]
\bibitem{Hartshorne1977}
Hartshorne, R.
\newblock \emph{Algebraic Geometry}.
\newblock Springer-Verlag, 1977.
\setbeamertemplate{bibliography item}[article]
\bibitem{Helso2020}
Helsø, M.
\newblock \enquote{Rational quartic symmetroids}.
\newblock \emph{Adv. Geom.}, 20(1):71--89, 2020.
\setbeamertemplate{bibliography item}[online]
\bibitem{HR2018}
Helsø, M.\ and Ranestad, K.
\newblock \emph{Rational quartic spectrahedra}, 2018.
\newblock \url{https://arxiv.org/abs/1810.11235}
\setbeamertemplate{bibliography item}[triangle]
\bibitem{AM1969}
Atiyah, M.\ and Macdonald, I.
\newblock \emph{Introduction to commutative algebra}.
\newblock Addison-Wesley Publishing Co., Reading, Mass.-London-Don
Mills, Ont., 1969
\setbeamertemplate{bibliography item}[text]
\bibitem{Artin1966}
Artin, M.
\newblock \enquote{On isolated rational singularities of surfaces}.
\newblock \emph{Amer. J. Math.}, 80(1):129--136, 1966.
\end{thebibliography}
\end{frame}
\end{document}

Binary file not shown.

After

Width:  |  Height:  |  Size: 839 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 358 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 213 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 546 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 160 KiB

View File

@ -0,0 +1,201 @@
\documentclass[UKenglish,aspectratio=43,logotop]{beamer}
\usetheme{UnFUG}
\usepackage{csquotes} % Quotation marks
\usepackage{microtype} % Improved typography
\usepackage{amssymb} % Mathematical symbols
\usepackage{mathtools} % Mathematical symbols
\usepackage[absolute, overlay]{textpos} % Arbitrary placement
\setlength{\TPHorizModule}{\paperwidth} % Textpos units
\setlength{\TPVertModule}{\paperheight} % Textpos units
\usepackage{tikz}
\usepackage{pgf}
\usetikzlibrary{overlay-beamer-styles} % Overlay effects for TikZ
\usetikzlibrary{positioning} % Positioning of nodes for TikZ
\usetikzlibrary{arrows.meta} % more arrow styles
\author{Justin Dretvic}
\title{Something Something Privacy}
\subtitle{Nett To Knows}
\date{21.12.2023} % this is just a placeholder, use whatever format floats your boat
%\customerlogo{path-to-image} % this is just a placeholder. Appears on the right side of the title page.
%\mastodon{username}{instance} % this is just a placeholder. Will appear in username@instance format with a hyperlink to the profile included.
% => Patriot Act 2001
% stattSafe-Harbor-Verfahren
% Privacy Shield
% Privacy Framework
% Luka App
% AOL
\begin{document}
\section{Overview}
% \begin{frame}[allowframebreaks]{Title}
% if the TOC does not fit one frame.
\begin{frame}{Table of contents}
\tableofcontents
\end{frame}
\section{Vorwort}
\SectionFrameAlt
\section{Historische Ereignisse}
\SectionFrameAlt
\begin{frame}{1958 - Das Herrenreiter Urteil}
\begin{columns}[c]
\begin{column}{0.45\textwidth}
\begin{itemize}
\item 14. Februar 1958
\item Präzedenzfall für das allgemeine Persönlichkeitsrecht
\end{itemize}
\includegraphics[width=1\textwidth]{images/okasane.jpg}
\end{column}
\begin{column}{0.45\textwidth}
\includegraphics[width=0.95\textwidth]{images/herrenreiter.png}
\end{column}
\end{columns}
\end{frame}
\begin{frame}{1967 - Folge-Kongress der Computer-Hersteller}
\begin{itemize}
\item 1967 IEEE INTERNATIONAL CONVENTION RECORD - Part 12 \\ \url{https://www.multicians.org/fano1967.html}
\item \enquote{\textit{The issue of privacy is very much in people's minds [...]}}
\item \enquote{\textit{If computers are to help people master the complexity in our society, their mass memories must contain detailed information about the operation of society including the affairs of individuals.}}
\end{itemize}
\end{frame}
% https://www.multicians.org/fano1967.html
\begin{frame}{1986 - Volkszählungsgesetz}
\centering
\includegraphics[width=0.85\textwidth]{images/volkszaehlung.jpg} \\
\enquote{Recht auf informationelle Selbstbestimmung}
\end{frame}
% https://www.bpb.de/kurz-knapp/hintergrund-aktuell/248750/vor-30-jahren-protest-gegen-volkszaehlung/
\begin{frame}{2006 - Terrorbekämpfung}
\begin{itemize}
\item Terrorismusbekämpfungsergänzungsgesetz (TBEG)
\item \enquote{Schäuble-Katalog} 01.03.2007
\item Datensätze im 7-stelligen Bereich
\item Zugangsberechtigte Behörden
\only<1>{
\begin{itemize}
\item BKA
\item Verfassungsschutz
\item Militärischer Abschirmdienst
\item Bundesnachrichtendienst
\item Zollkriminalamt
\item Landesämter für Verfassungsschutz
\item Landeskriminalämter
\end{itemize}
}
\only<2->{
\item Datensätze
\begin{itemize}
\item Personenidentifizierung
\item \enquote{Vorsorge DNA-Datei}
\item Strafverzeichnisse
\end{itemize}
}
\end{itemize}
\end{frame}
% https://www.heise.de/hintergrund/Von-der-Anti-Terror-Gesetzgebung-ueber-die-Anti-Terror-Datei-zum-Schaeuble-Katalog-302578.html
% https://www.heise.de/news/Bundestag-verabschiedet-neue-Anti-Terrorgesetze-122836.html
% https://link.springer.com/content/pdf/10.1007/s11623-007-0192-z.pdf
\section{Rechtliche Grundsätze}
\SectionFrameAlt
\begin{frame}{Grundsätze einer Verarbeitung}
Nach Art. 5 Abs. 1 und 2 DS-GVO
\begin{itemize}
\item Rechtmäßigkeit / Transparenz / \\ Verarbeitung nach Treu und Glauben
\item Zweckbindung
\item Datenminimierung
\item Richtigkeit
\item Speicherbegrenzung
\item Integrität und Vertraulichkeit
\end{itemize}
\vspace{1ex}
\begin{itemize}
\item Rechenschaftspflicht
\end{itemize}
\end{frame}
\begin{frame}{Rechtmäßigkeit einer Verarbeitung}
Nach Art. 6 Abs. 1 DS-GVO
\begin{itemize}
\item Einwilligung nach Zweck
\item Erfüllung eines Vertrages
\item rechtliche Verpflichtung
\item Schutz lebenswichtiger Interessen
\item öffentliches Interesse
\item berechtigtes Interesse (Interessensabwägung)
\end{itemize}
\end{frame}
\begin{frame}{Einwilligungen}
Nach Art. 7 DS-GVO
\begin{itemize}
\item nachweisbar
\item verständlich
\item widerrufbar
\item freiwillig
\end{itemize}
\end{frame}
\section{Tracking Techniken}
\SectionFrameAlt
\begin{frame}{JavaScript}
\centering\includegraphics[width=0.5\textwidth]{images/javascript.png}
\end{frame}
\begin{frame}{Cookies}
\begin{textblock}{0.3}(0.65, 0.55)
\includegraphics[width = \textwidth]{images/cookies.png}
\end{textblock}
\end{frame}
\begin{frame}{Beacons}
Diese Folie trackt dich, aber wie?
\only<2>{
\begin{textblock}{0.3}(0.65, 0.55)
\begin{figure}
\centering
\includegraphics{images/pixel.png}
\caption{Mein weißer Pixel}
\label{fig:enter-label}
\end{figure}
\end{textblock}
}
\end{frame}
\section{Diskussion und Fragen}
\SectionFrameAlt
% \section{References}
% \begin{frame}[allowframebreaks]{References}
% \begin{thebibliography}{}
%
% \setbeamertemplate{bibliography item}[online]
%
% \bibitem{HR2018}
% Helsø, M.\ and Ranestad, K.
% \newblock \emph{Rational quartic spectrahedra}, 2018.
% \newblock \url{https://arxiv.org/abs/1810.11235}
% \end{thebibliography}
%\end{frame}
\end{document}

View File

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
role="img"
xmlns="http://www.w3.org/2000/svg"
width="1000mm"
height="1000mm"
viewBox="0 0 1000 1000"
style="max-width:1.6em; height: auto;">
<path
id="path"
style="opacity:1;vector-effect:none;fill:#000000;fill-opacity:1;"
d="M 75 0C 75 0 75 0 75 0C 33 0 0 33 0 75C 0 75 0 925 0 925C 0 967 33 1000 75 1000C 75 1000 925 1000 925 1000C 967 1000 1000 967 1000 925C 1000 925 1000 75 1000 75C 1000 33 967 0 925 0C 925 0 75 0 75 0 M 502 18C 623 19 740 32 808 64C 808 64 942 124 942 330C 942 330 944 482 924 587C 911 654 807 727 688 741C 626 749 565 756 500 753C 394 748 310 727 310 727C 310 738 310 747 312 757C 326 862 416 868 501 871C 588 874 665 850 665 850C 665 850 668 928 668 928C 668 928 608 960 500 966C 441 969 367 965 281 942C 95 893 63 694 58 493C 57 433 58 377 58 330C 58 124 193 64 193 64C 261 32 377 19 499 18C 499 18 502 18 502 18M 256 224C 230 254 217 295 217 346C 217 346 217 595 217 595C 217 595 315 595 315 595C 315 595 315 353 315 353C 315 302 337 276 380 276C 427 276 451 307 451 368C 451 368 451 500 451 500C 451 500 549 500 549 500C 549 500 549 368 549 368C 549 307 573 276 620 276C 663 276 685 302 685 353C 685 353 685 595 685 595C 685 595 783 595 783 595C 783 595 783 346 783 346C 783 295 770 254 744 224C 717 194 682 179 639 179C 588 179 550 199 525 237C 525 237 500 279 500 279C 500 279 475 237 475 237C 450 199 412 179 361 179C 318 179 283 194 256 224C 256 224 256 224 256 224"
transform="">
</path>
</svg>

After

Width:  |  Height:  |  Size: 1.5 KiB