\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}