Compare commits

..

No commits in common. "349a7e9c22b536639f28cb5dd78b7a1301cac1d9" and "7e1aa5a7fbca4af06e3b3b7f17739972b2722d48" have entirely different histories.

9 changed files with 54 additions and 133 deletions

View File

@ -42,7 +42,3 @@
\begin{CustomBox}{\faIcon{user}}{blue} \begin{CustomBox}{\faIcon{user}}{blue}
\textbf{Info:} \lipsum[1] \textbf{Info:} \lipsum[1]
\end{CustomBox} \end{CustomBox}
\begin{VotingResults}{3}{2}{3}
\textbf{Abstimmung:} \lipsum[75]
\end{VotingResults}

View File

@ -1,16 +0,0 @@
% !TEX root = ../../Main.tex
% ==== TOC ====
% Set the toc page style to fancy
\tocloftpagestyle{fancy}
% Page Numbering in the Table of Contents
\renewcommand\cftchappagefont{\blenderfont\color{gray}}
\renewcommand\cftsecpagefont{\blenderfont\color{gray}}
\renewcommand\cftsubsecpagefont{\blenderfont\color{gray}}
\renewcommand\cftsubsubsecpagefont{\blenderfont\color{gray}}
% Chap/Sec/... Title in the Table of Contents
\renewcommand\cftchapfont{\blenderfont\color{gray}}
\renewcommand\cftsecfont{\blenderfont\color{gray}}
\renewcommand\cftsubsecfont{\blenderfont\color{gray}}
\renewcommand\cftsubsubsecfont{\blenderfont\color{gray}}

View File

@ -1,6 +0,0 @@
% !TEX root = ../../Main.tex
% ==== Page Style ====
\pagestyle{fancy}
% Line spacing
\renewcommand{\baselinestretch}{1.5}

View File

@ -1,16 +0,0 @@
% !TEX root = ../../Main.tex
% ==== Watermark ====
\newcounter{it}
\DraftwatermarkOptions{
scale=0.08,
angle=45,
text={\begin{tabular}{c}%
\setcounter{it}{1}%
\whiledo{\theit<100}{%
\foreach \col in {0,...,15}{\color{black!5}\BeginAccSupp{ActualText=}\waterMarkText~~\EndAccSupp{}}\\%
\stepcounter{it}%
}
\end{tabular}
},
color=black!12,
}

View File

@ -9,13 +9,56 @@
\inputrelative{Settings/Logos} \inputrelative{Settings/Logos}
% ==== Tools ==== % ==== Tools ====
\inputrelative{Modules/Listings} \inputrelative{Tools/Listings}
\inputrelative{Modules/Floats} \inputrelative{Tools/Floats}
\inputrelative{Modules/MeetingPresence} \inputrelative{Tools/MeetingPresence}
\inputrelative{Modules/InfoBlocks} \inputrelative{Tools/InfoBlocks}
\inputrelative{Modules/Watermark}
\inputrelative{Modules/ToC} % ==== TOC ====
\inputrelative{Modules/Typography} % Set the toc page style to fancy
\tocloftpagestyle{fancy}
% Page Numbering in the Table of Contents
\renewcommand\cftchappagefont{\blenderfont\color{gray}}
\renewcommand\cftsecpagefont{\blenderfont\color{gray}}
\renewcommand\cftsubsecpagefont{\blenderfont\color{gray}}
\renewcommand\cftsubsubsecpagefont{\blenderfont\color{gray}}
% Chap/Sec/... Title in the Table of Contents
\renewcommand\cftchapfont{\blenderfont\color{gray}}
\renewcommand\cftsecfont{\blenderfont\color{gray}}
\renewcommand\cftsubsecfont{\blenderfont\color{gray}}
\renewcommand\cftsubsubsecfont{\blenderfont\color{gray}}
% ==== Colors ====
\definecolor{britishracinggreen}{rgb}{0.0, 0.26, 0.15}
\definecolor{eggplant}{rgb}{0.38, 0.25, 0.32}
\definecolor{hanblue}{rgb}{0.27, 0.42, 0.81}
\definecolor{navyblue}{rgb}{0.0, 0.0, 0.5}
\definecolor{pansypurple}{rgb}{0.47, 0.09, 0.29}
\definecolor{shockingpink}{rgb}{0.99, 0.06, 0.75}
% ==== Page Style ====
\pagestyle{fancy}
% Line spacing
\renewcommand{\baselinestretch}{1.5}
% ==== Watermark ====
\newcounter{it}
\DraftwatermarkOptions{
scale=0.08,
angle=45,
text={\begin{tabular}{c}%
\setcounter{it}{1}%
\whiledo{\theit<100}{%
\foreach \col in {0,...,15}{\color{black!5}\BeginAccSupp{ActualText=}\waterMarkText~~\EndAccSupp{}}\\%
\stepcounter{it}%
}
\end{tabular}
},
color=black!12,
}
% ==== Glossary ==== % ==== Glossary ====
\input{Content/99_glossary.tex} \input{Content/99_glossary.tex}

View File

@ -1,13 +1,5 @@
% !TEX root = ../../Main.tex % !TEX root = ../../Main.tex
% ==== Colors ====
\definecolor{britishracinggreen}{rgb}{0.0, 0.26, 0.15}
\definecolor{eggplant}{rgb}{0.38, 0.25, 0.32}
\definecolor{hanblue}{rgb}{0.27, 0.42, 0.81}
\definecolor{navyblue}{rgb}{0.0, 0.0, 0.5}
\definecolor{pansypurple}{rgb}{0.47, 0.09, 0.29}
\definecolor{shockingpink}{rgb}{0.99, 0.06, 0.75}
% ==== Base Case ==== % ==== Base Case ====
% Define a counter to track nesting level % Define a counter to track nesting level
\newcounter{coloredBoxLevel} \newcounter{coloredBoxLevel}
@ -132,12 +124,12 @@
% Derived from `ColoredBox` % Derived from `ColoredBox`
\NewEnviron{SuccessBox}[1][ \NewEnviron{SuccessBox}[1][
icon={\faCheckCircle}, icon={\faCheckCircle},
icon.color={green}, icon.color={britishracinggreen},
icon.prefix={}, icon.prefix={},
icon.fontsize={24pt}, icon.fontsize={24pt},
icon.offset.x={0pt}, icon.offset.x={0pt},
icon.offset.y={2pt}, icon.offset.y={2pt},
background.color={green} background.color={britishracinggreen}
]{ ]{
\let\sBODY\BODY \let\sBODY\BODY
\begin{ColoredBox}[#1] \begin{ColoredBox}[#1]
@ -185,75 +177,3 @@
\end{ColoredBox} \end{ColoredBox}
} }
% ==== /Simpler Custom Boxes ==== % ==== /Simpler Custom Boxes ====
% ==== Voting results Environment ====
% Using vote-yea Icon from fontawesome
\NewEnviron{VotingResultsBox}[1]{
\let\VotingResultsBODY\BODY
\begin{ColoredBox}[
icon={\faVoteYea},
icon.color={#1},
icon.prefix={},
icon.fontsize={24pt},
icon.offset.x={-0.2cm},
icon.offset.y={0pt},
background.color={#1}
]
\VotingResultsBODY
\end{ColoredBox}
}
% ==== /Voting results Environment ====
% ==== Voting Results ====
% Derived from `VotingResultsBox`
\NewEnviron{VotingResults}[3]{
\let\voteBODY\BODY
% Choose the color based on the vote results
\ifnum#1>#2
\def\voteColor{britishracinggreen}
\else
\ifnum#1<#2
\def\voteColor{red}
\else
\def\voteColor{eggplant}
\fi
\fi
\begin{VotingResultsBox}{\voteColor}
\voteBODY
\begin{multicols}{3}
\begin{CustomBox}{\faThumbsUp}{britishracinggreen}
\textbf{Ja:} #1
\end{CustomBox}
\columnbreak
\begin{CustomBox}{\faThumbsDown}{red}
\textbf{Nein:} #2
\end{CustomBox}
\columnbreak
\begin{CustomBox}{\faQuestion}{eggplant}
\textbf{Enthaltung:} #3
\end{CustomBox}
\end{multicols}
\end{VotingResultsBox}
}
% ==== /Voting Results ====
% ==== Discussion Box ====
% Derived from `ColoredBox`
\NewEnviron{DiscussionBox}[1][
icon={\faComments},
icon.color={hanblue},
icon.prefix={},
icon.fontsize={24pt},
icon.offset.x={0pt},
icon.offset.y={0pt},
background.color={hanblue}
]{
\let\dBODY\BODY
\begin{ColoredBox}[#1]
\dBODY
\end{ColoredBox}
}
% ==== /Discussion Box ====