initial commit

This commit is contained in:
Justin Dretvic 2024-03-16 17:34:04 +01:00
parent 76083664d0
commit 1eb1e40eea
21 changed files with 1431 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 116 KiB

View File

@ -0,0 +1,723 @@
% Theme for the Unix Group and Users Campus Kamp '23
% Version 1.0
% 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 = unfuckred,
linkcolor =,
citecolor =}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Standard headers:
\DeclareOptionBeamer{american}
{
\def \unfucklang {eng}
\def \unfucklangII {american}
}
\DeclareOptionBeamer{english}
{
\def \unfucklang {eng}
\def \unfucklangII {english}
}
\DeclareOptionBeamer{UKenglish}
{
\def \unfucklang {eng}
\def \unfucklangII {UKenglish}
}
\DeclareOptionBeamer{USenglish}
{
\def \unfucklang {eng}
\def \unfucklangII {USenglish}
}
\DeclareOptionBeamer{german}
{
\def \unfucklang {de}
\def \unfucklangII {ngerman}
}
\urlstyle{same}
%% Vertical text alignment:
\DeclareOptionBeamer{c}{ \beamer@centeredtrue }
\DeclareOptionBeamer{t}{ \beamer@centeredfalse }
%% Theorem numbers:
\DeclareOptionBeamer{unnumbered}{ \def \unfucktheorem {} }
\DeclareOptionBeamer{numbered} { \def \unfucktheorem {numbered} }
\DeclareOptionBeamer{AMS} { \def \unfucktheorem {ams style} }
%% Font:
\providebool{neohellenic}
\providebool{latinmodern}
\DeclareOptionBeamer{SansSerif}
{
\def \unfuckfont {default}
\setbool{neohellenic}{true}
\setbool{latinmodern}{false}
\AtBeginDocument{\sbox0{\(\mathsf{\xdef\mathsfgroup{\the\mathgroup}}\)}}
\def\operator@font{\mathgroup\mathsfgroup}
}
\DeclareOptionBeamer{unfuckSerif}
{
\def \unfuckfont {professionalfonts}
\setbool{neohellenic}{false}
\setbool{latinmodern}{false}
\AtBeginDocument{\sbox0{\(\mathrm{\xdef\mathrmgroup{\the\mathgroup}}\)}}
\def\operator@font{\mathgroup\mathrmgroup}
}
\DeclareOptionBeamer{Serif}
{
\def \unfuckfont {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 \unfuckfirstframe {\TitlePage} }
\DeclareOptionBeamer{NoTitlePage} { \def \unfuckfirstframe {} }
%% Top Logo positioning
\providebool{logotop}
\DeclareOptionBeamer{logotop}{
\setbool{logotop}{true}
}
\ExecuteOptionsBeamer{english}
\ExecuteOptionsBeamer{t}
\ExecuteOptionsBeamer{unnumbered}
\ExecuteOptionsBeamer{SansSerif}
\ExecuteOptionsBeamer{TitlePage}
\ProcessOptionsBeamer
\AtBeginDocument{ \unfuckfirstframe }
\RequirePackage[\unfucklangII]{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{unfuckred} {HTML}{601b1b}
\definecolor{unfuckblue} {HTML}{201c5c}
\definecolor{unfuckblack} {HTML}{000000}
\definecolor{unfuckgray} {HTML}{e5e7eb}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\mode<presentation>
\useinnertheme{rectangles}
\usefonttheme{\unfuckfont}
\setbeamertemplate{theorems}[\unfucktheorem]
\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}{unfuckred}
\setbeamercolor{structure}{fg = unfuckblue}
\setbeamercolor{block title}{fg = white,
bg = unfuckblue}
\setbeamercolor{block body} {bg = unfuckgray}
\setbeamercolor{block title example}{fg = white,
bg = unfuckblue}
\setbeamercolor{block body example} {bg = unfuckgray}
\setbeamercolor{block title alerted}{fg = white,
bg = unfuckred}
\setbeamercolor{block body alerted} {bg = unfuckgray}
\setbeamercolor{alerted text} {fg = unfuckred}
\setbeamercolor{footnote mark}{fg = unfuckblue}
\setbeamercolor{section in head/foot}{fg = white,
bg = unfuckblue}
\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 = unfuckred, 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}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\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{date}
\vspace{0.5ex}
\insertdate
\vfill
\insertcustomerlogo
\hfill
\includegraphics[height = 0.12\paperheight]{unfuck-images/Logo_unfuck_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]{unfuck-images/Logo_unfuck_sw.pdf}}}
}{
\ifdimequal{\beamer@paperheight}{9.6cm}{
\pgfputat{\pgfxy(-0.07,7.8)}{\llap{\includegraphics[height = 0.08\paperheight]{unfuck-images/Logo_unfuck_sw.pdf}}}
}{
\ifdimequal{\beamer@paperheight}{9cm}{
\pgfputat{\pgfxy(-0.07,7.2)}{\llap{\includegraphics[height = 0.08\paperheight]{unfuck-images/Logo_unfuck_sw.pdf}}}
}{
\ClassWarningNoLine{UnFUG-Beamer}{logotop is not available.}
}
}
}
}{
% logo right bottom
\includegraphics[height = 0.08\paperheight]{unfuck-images/Logo_unfuck_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[unfuckred,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 {\unfucklang}
\languagepath{\unfucklang}
\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=\unfucklang]{Conjecture}}]
{conjecture}
\declaretheorem[style = plain,
sibling = theorem,
name = {\translate[to=\unfucklang]{Facts}}]
{facts}
\declaretheorem[style = plain,
sibling = theorem,
name = {\translate[to=\unfucklang]{Hypothesis}}]
{hypothesis}
\declaretheorem[style = plain,
sibling = theorem,
name = {\translate[to=\unfucklang]{Observation}}]
{observation}
\declaretheorem[style = plain,
sibling = theorem,
name = {\translate[to=\unfucklang]{Proposition}}]
{proposition}
\declaretheorem[style = definition,
name = {\translate[to=\unfucklang]{Assumption}}]
{assumption}
\declaretheorem[style = definition,
name = {\translate[to=\unfucklang]{Axiom}}]
{axiom}
\declaretheorem[style = definition,
name = {\translate[to=\unfucklang]{Property}}]
{property}
\declaretheorem[style = definition,
numbered = no,
name = {\translate[to=\unfucklang]{Calculation}}]
{calculation}
\declaretheorem[style = definition,
numbered = no,
name = {\translate[to=\unfucklang]{Computation}}]
{computation}
\declaretheorem[style = definition,
sibling = theorem,
name = {\translate[to=\unfucklang]{Notation}}]
{notation}
\declaretheorem[style = remark,
name = {\translate[to=\unfucklang]{Remark}}]
{remark}
\declaretheorem[style = remark,
sibling = remark,
name = {\translate[to=\unfucklang]{Remarks}}]
{remarks}
\endinput

View File

@ -0,0 +1,31 @@
\newcommand{\formanswer}[1]{
\ifnum\showAnswers>0
\newline \textbf{\textcolor{vstgreen}{ANTWORT:} #1}
\else
\newline {\color{vstgreen}\framebox(\hsize-14pt,2.5em){}\relax}
\fi
}
\def\showAnswers{0} % 1 für true, 0 für false
\begin{document}
\begin{itemize}
\item Entlang zum Haupteingang findet ihr die freundliche
Info-Dame. Erkundigt euch nach dem Namen des
\underline{ersten} Vorläufers der Hochschule!
\formanswer{Uhrmacherschule}
\end{itemize}
\end{document}
\def\showAnswers{1} % 1 für true, 0 für false
\begin{document}
\begin{itemize}
\item Entlang zum Haupteingang findet ihr die freundliche
Info-Dame. Erkundigt euch nach dem Namen des
\underline{ersten} Vorläufers der Hochschule!
\formanswer{Uhrmacherschule}
\end{itemize}
\end{document}

View File

@ -0,0 +1,57 @@
\semester{ \tbc{Semester} } % Das aktuelle Semester
\gremium{ \tbc{Gremium} } % Name des Gremiums
\ort{ \tbc{Ort} } % Ort der Sitzung
\sitzung{ -1 } % Sitzungsnummer (Numerisch!)
\datum{ \tbc{Datum} } % Datum der Sitzung (Plan)
\uhrzeit{ \tbc{Uhrzeit} } % Beginn der Sitzung (Plan)
\schriftfuehrung{ \tbc{Schriftführung} } % Name des Protokollanten
\vorsitz{ \tbc{Vorsitz} } % Name des Sitzungsleiters
\checkanwesenheit{x} {Bowsers Galaxy}
\checkanwesenheit{x} {Bowser Jr. (ab 12:00 Uhr bis 23:30 Uhr)}
\checkanwesenheit{} {Mario Sunshine (ab 12:00 Uhr bis 23:30 Uhr)}
\checkanwesenheit{x} {Daisys Dollhouse}
\checkanwesenheit{} {Mario Party (ab 12:00 Uhr bis 23:30 Uhr)}
\checkanwesenheit{} {Luigis Mansion}
\checkanwesenheit{} {Peach Party}
% - - - - -
\sessionstart{ \tbc{Uhrzeit} }
\section{Begrüßung}
\section{Bestätigung des Protokolls der \vorherigeSitzung}
\section{Bestätigung Tagesordnung}
\section{ \tbc{3. TOP} }
\begin{itemize}
\item \tbc{Disskussion Statement 1}
\item \tbc{Disskussion Statement 2}
\item \tbc{Disskussion Statement 3}
\end{itemize}
\sessionbreak{\tbc{Uhrzeit Pausenanfang}}{\tbc{Uhrzeit Pausenende}}
\section{ \tbc{4. TOP} }
\subsection{ \tbc{Unterpunkt 1} }
\speaker{ \tbc{Redner 1} }{ \tbc{Hat gesagt!} }
\speaker{ \tbc{Redner 2} }{ \tbc{Hat geantwortet!} }
\subsection{ \tbc{Unterpunkt 2} }
\abstimmung{ \tbc{Abstimmungsfrage} }{ \tbc{x} }{ \tbc{y} }{ \tbc{z} }
\begin{personenwahl}{ \tbc{Amt} }{ \tbc{x} }{ \tbc{y} }
\tbc{Kandidat 1} & \tbc{Stimmen} \\
\tbc{Kandidat 2} & \tbc{Stimmen} \\
\end{personenwahl}
\section{Sonstiges}
\sessionend{\tbc{Uhrzeit}}
\signature

View File

@ -0,0 +1,26 @@
\newcommand{\signature}[1]{
\addtocounter{@signdate}{1}
\addtocounter{@signname}{1}
\begin{center}
\parbox{3cm}{
\underline{\TextField[someOptions]{}}
Datum
}
\hspace{0.5cm}
\parbox{6cm}{
\underline{\TextField[someOptions]{}}
Vorname, Nachname
}
\hspace{0.5cm}
\parbox{6cm}{
\vspace{2em}
\rule{6cm}{1pt}\\
Unterschrift #1
}
\end{center}
}
\begin{document}
\signature{Person 1}
\signature{Person 2}
\end{document}

View File

@ -0,0 +1,19 @@
\newcommand{\formtitletext}[1]{\def\@formtitletext{#1}}
\newcommand{\formtitle}[1]{
\parbox[][][c]{0.69\textwidth}{
\raggedright{\LARGE \@formtitletext}
}
\parbox[][][c]{0.29\textwidth}{
\raggedleft\includesvg[width=4cm]{../images/#1_logo_farbe.svg}
}\hfill
\vspace{0.5em}
\rule{\textwidth}{1pt}\hfill
}
\formtitletext{Antrag für den Verleih im Campus-AStA Furtwangen}
\begin{document}
\formtitle{asta}
\end{document}

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

View File

@ -0,0 +1,95 @@
% Justin Dretvic
% Data Privacy and Network Security Enthusiast
% Network engineer in training
% Part of student self administration since 2019
% Fan of Japanese culture
\section{Once upon a time \dots{} in 2021}
\subsection{Pandemic!}
\subsubsection{Pre Pandemic}
% Leere Formulare liegen in einem Ordner abgeheftet
% Die Vorlagen sind verteilt über Server und USB Sticks
\subsubsection{In Pandemic}
% Kaum oder stark beschränkter Zugriff zum Büro
% Alles wird auf remote Arbeit ausgelegt
%% Einschränkung der Tätigkeitsfelder
\subsection{M\$ Word!}
% Excel Vorlagen haben lustigerweise oft ein gutes / stabiles Format
% Es existieren mehrere Word Vorlagen für je ein Formular
% Die Vorlage (besonders Protokolle) sehen nach (fast) jeder Nutzung anders aus
%% Font, Schriftgröße, Layout, Inhalt
% MS Office benötigt Lizenzen, die normalerweise nicht jeder automatisch hat
% Nicht gut nutzbar mit anderen Betriebssystemen (Mac OS, Linux)
%% Word Vorlagen funktionieren nicht gut mit Open-/Libre-Office
\section{What now?}
%
\subsection{Requirements}
% cross-platform compatibility
% uniform input
%% text based, not just drag and drop
% possibility for creating templates
%% if possible, not easily changeable
% output as PDF file
\subsection{Alternatives}
\subsubsection{wysisyg}
% Open-Office / Libreoffice
%% ähnliche Probleme wie bei Word
%% Formate gehen schnell kaputt
%% Formate sind manchmal nicht übergreifend anwendbar
%% Leute müssen die Unterschiede zu Word verstehen
% Adobe Acrobat Reader / Pro
%% Hohe Lizenzkosten schon für einen Rechner
%%% nicht verfügbar für jeden
%% nicht Plattform übergreifend
%% hält den eigenen Standard am besten ein
%%% digitale Formularfelder
%%% Accessability
%%% Layout
\subsubsection{structured}
% ???
\subsubsection{simple text}
% Text Files
%% They simply work
%% They look like ass
%% Usually not convertable into PDF files
% Markdown
%% simple syntax
%% many editors and software, which can create pdf
%% you can create template files
%% the page format cannot truly be styled
\section{\LaTeX{} it is!}
% can be used with a small selection of commands
% can use custom template files, classes and packages
%% u tell people "ONLY TOUCH MAIN FILE" and they usually understand
%% Peek inside
%
\subsection{Reusability}
% Einzelne Snippets können immer wieder verwendet werden
%
\subsection{Maintainability}
% Änderungen sind meist schnell umgesetzt. Man muss aber auf die Code Qualität achten!
%
\subsection{Difficulties}
% Es gibt einige unterschiedliche Formulare, diese müssen unabhängig von einander gestaltet werden. Je generischer man seinen Code schrieben möchte, desto schwieriger ist es.
%
\section{Deployment}
%
\subsection{How-To}
\subsubsection{Forms}
% Die meisten Meschen merken garnicht, dass es LaTeX ist.
%
\subsubsection{Meeting Minutes}
% Ein mal erkären welche Makros es gibt, danach keine gösseren Probleme.
%
\subsection{Difficulties}
% PDF != PDF
%% propietory format licenced by Adobe
%% not many versions, but can have huge differences deep inside
%% browsers and pdf reasers can render the same file into different views
% someone still has to create the template
\section{What next?}
%

View File

@ -0,0 +1,480 @@
\documentclass[UKenglish,aspectratio=43,logotop,c]{beamer}
\usetheme{UnFUCK23}
\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
\usepackage{multicol}
\usepackage{dirtytalk}
\usepackage{calc}
\usepackage{ulem}
\usepackage{minted} % using code bits
\usemintedstyle{tango}
\setminted[tex]{
%xleftmargin=3ex,
%linenos,
%frame=leftline,
framesep=2mm,
%baselinestretch=1.2,
%bgcolor=LightGray,
fontsize=\scriptsize,
}
\author{Valentin Weber \and Justin Dretvic}
\title{\LaTeX{} in student (self) administration}
%\subtitle{}
%\date{DD.MM.YYYY} % this is just a placeholder, use whatever format floats your boat
\customerlogo{unfug-images/Logo_unfug_ws.pdf} % this is just a placeholder. Appears on the right side of the title page.
\begin{document}
\section{Overview}
% Use
%
% \begin{frame}[allowframebreaks]{Title}
%
% if the TOC does not fit one frame.
\begin{frame}{Table of contents}
\begin{multicols}{2}
\tableofcontents[sections=-4]
\columnbreak
\tableofcontents[sections=5-]
\end{multicols}
\end{frame}
\section{About us}
\hidelogo
\begin{frame}{}
\begin{tikzpicture}%
\clip (0,0) circle (1cm) ;%
\node[anchor=center] at (0,0) {\includegraphics[width=2cm]{about_us/Justin.jpg}};%
\end{tikzpicture}
\hspace{0.3cm}
\begin{minipage}[b]{\textwidth-3cm}
\textbf{Justin Dretvic} \\
\textit{Data Privacy and Network Security Enthusiast} \\
\end{minipage}
\hspace{2.3cm}
\begin{minipage}[b]{\textwidth-3cm}
\begin{itemize}
\item Network engineer in training
\item Part of student self administration since 2019
\item Fan of Japanese culture
\end{itemize}
\end{minipage}
\end{frame}
\begin{frame}{}
\begin{tikzpicture}
\clip (0,0) circle (1cm) ;
\node[anchor=center] at (0,0) {\includegraphics[width=2cm]{about_us/Valentin.jpg}};
\end{tikzpicture}
\hspace{0.3cm}
\begin{minipage}[b]{\textwidth-3cm}
\textbf{Valentin Weber} \\
\textit{CyberSec, InfoSec \& Privacy Enthusiast} \\
\end{minipage}
\hspace{2.3cm}
\begin{minipage}[b]{\textwidth-3cm}
\begin{itemize}
\item Systems engineer @ Adfinis AG
\item Part of student self administration since 2020
\item Chairman of the \say{Verfasste Studierendenschaft der Hochschule Furtwangen K. d. ö. R.} from 2020 to 2021
\end{itemize}
\end{minipage}
\end{frame}
\showlogo
\section{Once upon a time \dots{} in 2021}
\SectionFrameAlt
% ins büro laufen und toten Baum beschriften
\begin{frame}{Pre pandemic}
\begin{enumerate}
\item<1-> I need something.
\item<2-> Let's go to the office\dots
\item<3-> grab the form\dots{} \only<4->{(dead tree)}
\item<5-> fill in the form\dots{} \only<6->{(often incorrect)}
\item<7-> give the form to someone responsible. \only<8->{(in person)}
\end{enumerate}
\end{frame}
\subsection{Pandemic!}
% alles onlien!
% kein offline space
\begin{frame}{During pandemic}
\begin{overprint}
\begin{enumerate}
\item<1-> I need something.
\item<2-> \only<2>{Let's go to the office}\only<3>{\sout{Let's go to the office}}\only<4->{Ask around }\dots
\item<5-> grab the form\dots{} \only<4->{(not a digitally fillable PDF)}
\item<6-> print the form
\item<7-> fill in the form
\item<8-> scan the filled in form
\item<9-> give the form to someone responsible. (via mail)
\end{enumerate}
\end{overprint}
\end{frame}
\subsection{M\$ Word!}
% 10 mio verschiedene Protokollvorlagen
% ca. 2 Versionen pro Formular, gerechent auf ein duzent formulare
\begin{frame}{M\$ Word \& Excel}
\begin{itemize}
\item at least 2 (totally different) versions of each form
\item no version control
\item M\$ Word required
\item no Linux support
\item no user guiding
\item no structure enforcement
\end{itemize}
\vspace{2ex}
\ConclusionArrow{one million different looking meeting minutes}
\end{frame}
\section{What now?}
\SectionFrameAlt
\subsection{Requirements}
\begin{frame}{Requirements}
\begin{enumerate}
\item<1-> cross-platform compatibility
\item<2-> uniform input
\begin{itemize}
\item text based, not just drag and drop
\end{itemize}
\item<3-> capability of creating templates
\item<4-> separation of style and content
\item<5-> output as PDF file (form if applicable)
\end{enumerate}
\end{frame}
\subsection{Alternatives}
\subsubsection{WYSIWYG}
\begin{frame}{WYSIWYG}
\begin{enumerate}
\item<1-> Open Office / LibreOffice
\only<1>{
\begin{itemize}
\item similar problems as with Word
\item format breaks quickly
\item file formats might not be cross-applicable
\item new UI features to learn
\end{itemize}
}
\item<2-> Adobe Acrobat Reader / Pro
\only<2->{
\begin{itemize}
\item high license costs
\item no cross-platform availability
\item new UI features to learn
\item adheres best to its own standard
\only<3->{
\begin{itemize}
\item digital form fields
\item accessibility
\item layout
\end{itemize}
}
\end{itemize}
}
\end{enumerate}
\end{frame}
\subsubsection{structured}
\begin{frame}{Structured}
\begin{enumerate}
\item<1-> Adobe FrameMaker
\only<1>{
\begin{itemize}
\item transforms XML to PDFs
\item as long it is used correctly
\item very expensive WYSIWYG editor otherwise
\end{itemize}
}
\item<2-> HTML
\item<3-> \LaTeX{}
\only<3>{
\begin{itemize}
\item a high-level, descriptive markup language
\item widely used in science
\item Turing complete (xP)
\end{itemize}
}
\end{enumerate}
\end{frame}
\subsubsection{simple text}
\begin{frame}{Simple text}
\begin{enumerate}
\item<1-> Plain Text Files
\only<1>{
\begin{itemize}
\item simple syntax (none)
\item no styling, no template-enforcement
\item usually not convertible into PDF files
\end{itemize}
}
\item<2-> Markdown
\only<2>{
\begin{itemize}
\item simple syntax
\item many editors
\item styling possible via CSS
\item no build in snippet support
\item one can create template files\dots{} kinda
\end{itemize}
}
\end{enumerate}
\end{frame}
\section{\LaTeX{} it is!}
\SectionFrameAlt
\begin{frame}{But why?}
\begin{itemize}
\item relatively small selection of commands needed
\item custom template files, classes and packages
\item comments for everything
\end{itemize}
\vspace{3ex}
\ConclusionArrow{u tell people \textbf{\textit{\say{ONLY TOUCH MAIN FILE}}}, \\and they usually understand}
\end{frame}
\subsection{User centric}
\begin{frame}[fragile]{Example: writing protocols}{effects}
\only<1>{
\inputminted[firstline=1,lastline=16]{tex}{code-files/protocol.tex}
}
\only<2>{
\begin{center}
\frame{
\includegraphics[width=0.9\textwidth]{code-images/protocol-prelude.png}
}
\end{center}
}
\only<3>{
\inputminted[firstline=20,lastline=36]{tex}{code-files/protocol.tex}
}
\only<4>{
\begin{center}
\frame{
\includegraphics[width=0.5\textwidth]{code-images/protocol-basic.png}
}
\end{center}
}
\only<5>{
\begin{center}
\inputminted[firstline=38,lastline=42]{tex}{code-files/protocol.tex}
\vspace{1ex}
\frame{
\includegraphics[width=0.4\textwidth]{code-images/protocol-dialogue.png}
}
\end{center}
}
\only<6>{
\begin{center}
\inputminted[firstline=44,lastline=51]{tex}{code-files/protocol.tex}
\vspace{1ex}
\frame{
\includegraphics[width=0.8\textwidth]{code-images/protocol-tables.png}
}
\end{center}
}
\end{frame}
\subsection{Reusability}
\begin{frame}{Reusability}
\begin{itemize}
\item use templates over and over
\item copy and paste code snippets everywhere
\end{itemize}
\end{frame}
\begin{frame}[fragile]{Reuse complex commands}{effects}
\only<1>{
\inputminted[lastline=21]{tex}{code-files/signature.tex}
}
\only<2>{
\begin{center}
\inputminted[firstline=22]{tex}{code-files/signature.tex}
\vspace{1ex}
\frame{
\includegraphics[width=\textwidth]{code-images/signature.png}
}
\end{center}
}
\end{frame}
\begin{frame}[fragile]{Setup documents dynamically}{effects}
\only<1>{
\inputminted[lastline=12]{tex}{code-files/title.tex}
}
\only<2>{
\begin{center}
\inputminted[firstline=15]{tex}{code-files/title.tex}
\vspace{1ex}
\frame{
\includegraphics[width=\textwidth]{code-images/title.png}
}
\end{center}
}
\end{frame}
\begin{frame}[fragile]{Use different states}{effects}
\only<1>{
\inputminted[lastline=7]{tex}{code-files/answers.tex}
}
\only<2>{
\begin{center}
\inputminted[firstline=10, lastline=19]{tex}{code-files/answers.tex}
\vspace{1ex}
\frame{
\includegraphics[width=\textwidth]{code-images/answers-1.png}
}
\end{center}
}
\only<3>{
\begin{center}
\inputminted[firstline=22]{tex}{code-files/answers.tex}
\vspace{1ex}
\frame{
\includegraphics[width=\textwidth]{code-images/answers-2.png}
}
\end{center}
}
\end{frame}
\begin{frame}{Maintainability}
\begin{itemize}
\item different independent documents
\item fast and easy changes
\item creating good code is hard
\item generic code may be more complicated
\end{itemize}
\end{frame}
\section{Deployment}
\SectionFrameAlt
\subsection{Forms}
\begin{frame}{Forms}
\begin{itemize}
\item \textit{\say{This was written using \LaTeX{}?}}
\item next generation technologies!
\item revolutionize German digitization!!!
\end{itemize}
\end{frame}
\subsection{How-To}
\begin{frame}{How-To}
\begin{itemize}
\item just dictate usage for meeting minutes
\item provide some documentation
\item and a bit of practice
\end{itemize}
\end{frame}
\subsection{Difficulties}
\begin{frame}{Difficulties}{effects}
\begin{itemize}
\item<1-> PDF $\neq$ PDF
\only<1>{
\begin{itemize}
\item proprietary format licensed by Adobe
\item a few versions with huge differences
\item different PDF readers, different views
\end{itemize}
}
\item<2-> we still need the template
\only<2>{
\begin{itemize}
\item time-consuming
\item someone has to do it
\end{itemize}
}
\item<3-> its 2023, and we still live in Germany
\only<3>{
\begin{itemize}
\item signatures
\item opening documents
\item filling empty fields with text
\item using a printer
\end{itemize}
}
\end{itemize}
\end{frame}
\section{What next?}
\SectionFrameAlt
%- Why $\LaTeX$ (in student self administration)?
% - Constistency
% - Different Types of (desired) Documents
% - (Digital) Forms
% - Workflow Descriptions
% - Letters
% - Meeting Minutes
% - Alternatives
% - wysiwyg (what you see is what you get)
% - Word
% - OnlyOffice
% - LibreOffice
% - Collabora Office
% - Adobe Acrobat Pro
% - structured
% - Adobe FrameMaker
% - simple text
% - Markdown
% - AsciiDoc
%- Important Concepts
% - reusability
% - classes
% - packages (macros)
% - <del>Studentproof</del> Idiotproof
% - common used packages
%- Difficulties
% - PDF Standards
% - Layouting
% - Tables
% - Some sort of templates for elections and votes
% - PDF Reader Compatibility
% - Students
% - digital signing
\section{Discussion and Questions}
\SectionFrameAlt
\end{document}