Compare commits
2 Commits
7e1aa5a7fb
...
349a7e9c22
| Author | SHA1 | Date | |
|---|---|---|---|
| 349a7e9c22 | |||
| 37afce11f6 |
@ -41,4 +41,8 @@
|
||||
|
||||
\begin{CustomBox}{\faIcon{user}}{blue}
|
||||
\textbf{Info:} \lipsum[1]
|
||||
\end{CustomBox}
|
||||
\end{CustomBox}
|
||||
|
||||
\begin{VotingResults}{3}{2}{3}
|
||||
\textbf{Abstimmung:} \lipsum[75]
|
||||
\end{VotingResults}
|
||||
@ -1,5 +1,13 @@
|
||||
% !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 ====
|
||||
% Define a counter to track nesting level
|
||||
\newcounter{coloredBoxLevel}
|
||||
@ -124,12 +132,12 @@
|
||||
% Derived from `ColoredBox`
|
||||
\NewEnviron{SuccessBox}[1][
|
||||
icon={\faCheckCircle},
|
||||
icon.color={britishracinggreen},
|
||||
icon.color={green},
|
||||
icon.prefix={},
|
||||
icon.fontsize={24pt},
|
||||
icon.offset.x={0pt},
|
||||
icon.offset.y={2pt},
|
||||
background.color={britishracinggreen}
|
||||
background.color={green}
|
||||
]{
|
||||
\let\sBODY\BODY
|
||||
\begin{ColoredBox}[#1]
|
||||
@ -176,4 +184,76 @@
|
||||
\cBODY
|
||||
\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 ====
|
||||
16
TeX/Modules/ToC.tex
Normal file
16
TeX/Modules/ToC.tex
Normal file
@ -0,0 +1,16 @@
|
||||
% !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}}
|
||||
6
TeX/Modules/Typography.tex
Normal file
6
TeX/Modules/Typography.tex
Normal file
@ -0,0 +1,6 @@
|
||||
% !TEX root = ../../Main.tex
|
||||
% ==== Page Style ====
|
||||
\pagestyle{fancy}
|
||||
|
||||
% Line spacing
|
||||
\renewcommand{\baselinestretch}{1.5}
|
||||
16
TeX/Modules/Watermark.tex
Normal file
16
TeX/Modules/Watermark.tex
Normal file
@ -0,0 +1,16 @@
|
||||
% !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,
|
||||
}
|
||||
@ -9,56 +9,13 @@
|
||||
\inputrelative{Settings/Logos}
|
||||
|
||||
% ==== Tools ====
|
||||
\inputrelative{Tools/Listings}
|
||||
\inputrelative{Tools/Floats}
|
||||
\inputrelative{Tools/MeetingPresence}
|
||||
\inputrelative{Tools/InfoBlocks}
|
||||
|
||||
% ==== 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}}
|
||||
|
||||
% ==== 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,
|
||||
}
|
||||
\inputrelative{Modules/Listings}
|
||||
\inputrelative{Modules/Floats}
|
||||
\inputrelative{Modules/MeetingPresence}
|
||||
\inputrelative{Modules/InfoBlocks}
|
||||
\inputrelative{Modules/Watermark}
|
||||
\inputrelative{Modules/ToC}
|
||||
\inputrelative{Modules/Typography}
|
||||
|
||||
% ==== Glossary ====
|
||||
\input{Content/99_glossary.tex}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user