Change values specific to origin

This commit is contained in:
Frederik Beimgraben 2024-11-13 00:55:37 +00:00
parent f80d8e353e
commit b3261a3812
9 changed files with 34 additions and 315 deletions

View File

@ -6,8 +6,8 @@
\setlength{\imageHeight}{2cm*\real{\mainLogoScale}*\real{\logosScale}}
\begin{titlepage}
\begin{tikzpicture}[overlay, remember picture]
\node[anchor=north west, inner sep=0pt, xshift=1.8cm, yshift=-1.5cm] (logo0) at (current page.north west) {
\includesvg[height=\imageHeight]{\imagesPath/DUMMY.svg}
\node[anchor=north west, inner sep=0pt, xshift=1.8cm, yshift=-1.5cm, opacity=0] (logo0) at (current page.north west) {
\includesvg[height=\imageHeight]{\imagesPath/DUMMY_FOOT.svg}
};
\SetupTitlePageLogos
\end{tikzpicture}

View File

@ -155,12 +155,4 @@
% Write \currfiledir#1 to the log file
\typeout{Importing file: <\currfiledir>}
\input{\currfiledir#1}
}
\DeclareRobustCommand{\inputsettings}[1]{
\input{TeX/Settings/#1}
}
\DeclareRobustCommand{\RelativeAsset}[1]{
\currfiledir#1
}
}

View File

@ -1,37 +1,20 @@
% !TEX root = ../Main.tex
\WarningsOff*
% ==== Imports ====
\input{TeX/Imports}
\inputsettings{General}
\inputsettings{Logos}
% Logo type (either STUPA or HSRT)
\providecommand{\logoType}{HSRT}
% ==== Settings ====
\inputrelative{Settings/General}
\inputrelative{Settings/Logos}
% ==== Tools ====
\inputrelative{Tools/Listings}
\inputrelative{Tools/Floats}
\inputrelative{Tools/MeetingPresence}
\inputrelative{Tools/InfoBlocks}
%\SetWatermarkText{Stand 06.11.2024}
%\SetWatermarkScale{0.5}
\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{}Stand 06.11.2024~~\EndAccSupp{}}\\%
\stepcounter{it}%
}
\end{tabular}
},
color=black!12,
}
% ==== TOC ====
% Set the toc page style to fancy
\tocloftpagestyle{fancy}
@ -47,7 +30,7 @@
\renewcommand\cftsubsecfont{\blenderfont\color{gray}}
\renewcommand\cftsubsubsecfont{\blenderfont\color{gray}}
% Custom colors
% ==== 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}
@ -55,10 +38,28 @@
\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}
\input{Content/99_glossary.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{}\waterMarkText~~\EndAccSupp{}}\\%
\stepcounter{it}%
}
\end{tabular}
},
color=black!12,
}
% ==== Glossary ====
\input{Content/99_glossary.tex}
\makenoidxglossaries

View File

@ -1,9 +0,0 @@
% !TEX root = ../../Main.tex
\setlist[itemize]{leftmargin=*, itemsep=0pt, parsep=0pt}
\captionsetup[subfigure]{labelfont=rm,justification=centerlast,font=small,margin=50pt}
\floatsetup[table]{capposition=top}
\floatsetup[image]{capposition=bottom}
\newcommand{\cmark}{\ding{51}}%
\newcommand{\xmark}{\ding{55}}%

View File

@ -1,129 +0,0 @@
% !TEX root = ../../Main.tex
% ==== Imports ====
% calc package
\usepackage{calc}
% fp package
\usepackage[nomessages]{fp}% http://ctan.org/pkg/fp
% xstring package
\usepackage{xstring}
% Glossaries package
\usepackage{glossaries}
% Import multicols
\usepackage{multicol}
% Silence package warnings
\usepackage{silence}
% Babel for language support
\usepackage[ngerman]{babel}
% Bibliography management with biber backend and IEEE style
\usepackage[
backend=biber,
sorting=none,
style=ieee
]{biblatex}
% Context-sensitive quotation marks
\usepackage{csquotes}
% Clever referencing with hyperlinked references
\usepackage[nameinlink, noabbrev]{cleveref}
% Geometry for setting page dimensions and margins
\usepackage[a4paper, margin=2cm]{geometry}
% Booktabs for better table formatting
\usepackage{booktabs}
% Tabularx for tables with fixed width columns
\usepackage{tabularx}
% Longtable for tables that span multiple pages
\usepackage{longtable}
% Graphics support
\usepackage{graphicx}
% Enumitem for customized lists
\usepackage{enumitem}
% Verbatim for including literal text
\usepackage{verbatim}
% Captions for customizing figure and table captions
\usepackage{caption}
% Floatrow for advanced float customization
\usepackage{floatrow}
% Subcaption for subfigures within a figure
\usepackage[subrefformat=parens]{subcaption}
% Glossaries for glossary support
\usepackage{glossaries}
% Blindtext for generating dummy text
\usepackage{blindtext}
% Listings for including source code with syntax highlighting
\usepackage{listings}
% Hyphenation support for monospaced fonts
\usepackage[htt]{hyphenat}
% Color package for text coloring
\usepackage{color}
% Additional options for captions
\usepackage{caption,xparse}
% Multirow for table cells spanning multiple rows
\usepackage{multirow}
% Mathematical symbols and fonts
\usepackage{amssymb}
% Pifont for dingbat symbols
\usepackage{pifont}
% Epigraph for quotations
\usepackage{epigraph}
% Lipsum for generating dummy text
\usepackage{lipsum}
% Setspace for line spacing
\usepackage{setspace}
% Lmodern for scalable font
\usepackage{lmodern}
% Anyfontsize for using arbitrary font sizes
\usepackage{anyfontsize}
% For dotted lines in tables
\usepackage{arydshln}
% mdframed
\usepackage{mdframed}
% twemojis
\usepackage{twemojis}
% utfsym
\usepackage{eurosym}
\usepackage{draftwatermark}
\usepackage{utfsym}
\usepackage{accsupp}
\usepackage{tocloft}

View File

@ -1,99 +0,0 @@
% !TEX root = ../../Main.tex
\lstset{basicstyle=\footnotesize\ttfamily,breaklines=true,numbers=left,frame=single}
\lstdefinestyle{htmlCode} {
language=html,
basicstyle=\scriptsize\ttfamily,
keywordstyle=\color{blue}\bfseries\ttfamily,
commentstyle=\color{gray}\ttfamily,
escapechar=| % Escape to LaTeX between |...|
}
\lstdefinestyle{phpCode} {
language=php,
morekeywords={php},
basicstyle=\footnotesize\ttfamily,
keywordstyle=\color{blue}\bfseries\ttfamily,
commentstyle=\color{gray}\ttfamily,
escapechar=| % Escape to LaTeX between |...|
}
\lstdefinestyle{jsCode} {
language=javascript,
morekeywords=,
basicstyle=\scriptsize\ttfamily,
keywordstyle=\color{blue}\bfseries\ttfamily,
commentstyle=\color{gray}\ttfamily,
escapechar=| % Escape to LaTeX between |...|
}
\lstdefinestyle{shellCodeNOPASSWD} {
language=sh,
deletekeywords={for,kill,cat},
morekeywords={sudo},
basicstyle=\scriptsize\ttfamily,
keywordstyle=\color{blue}\bfseries\ttfamily,
commentstyle=\color{gray}\ttfamily,
escapechar=|, % Escape to LaTeX between |...|
numbers=none
}
\lstdefinestyle{shellCode} {
language=sh,
deletekeywords={},
morekeywords={sudo,chmod,chown,cp,su,rm,python},
basicstyle=\scriptsize\ttfamily,
keywordstyle=\color{blue}\bfseries\ttfamily,
commentstyle=\color{gray}\ttfamily,
escapechar=| % Escape to LaTeX between |...|
}
\lstdefinestyle{URL} {
basicstyle=\footnotesize\ttfamily,
commentstyle=\color{gray}\ttfamily,
escapechar=|, % Escape to LaTeX between |...|
numbers=none
}
% BLST
\definecolor{light-gray}{gray}{0.80}
\ExplSyntaxOn
\tl_new:N \l_listings_boxed_options_tl
\keys_define:nn { listings/boxed }
{
caption .tl_set:N = \l_listings_boxed_caption_tl,
shortcaption .tl_set:N = \l_listings_boxed_shortcaption_tl,
label .tl_set:N = \l_listings_boxed_label_tl,
unknown .code:n =
\tl_put_right:NV \l_listings_boxed_options_tl \l_keys_key_tl
\tl_put_right:Nn \l_listings_boxed_options_tl { = #1 , },
}
\box_new:N \l_listings_boxed_box
\lstnewenvironment{blstlisting}[1][]
{
\keys_set:nn { listings/boxed } { #1 }
\exp_args:NV \lstset \l_listings_boxed_options_tl
\hbox_set:Nw \l_listings_boxed_box
}
{
\hbox_set_end:
\cs_set_eq:cc {c@figure} {c@lstlisting}
\tl_set_eq:NN \figurename \lstlistingname
\tl_if_empty:NF \l_listings_boxed_caption_tl
{
\tl_if_empty:NTF \l_listings_boxed_shortcaption_tl
{
\captionof{figure}{\l_listings_boxed_caption_tl}
}
{
\captionof{figure}[\l_listings_boxed_shortcaption_tl]{\l_listings_boxed_caption_tl}
}
\tl_if_empty:NF \l_listings_boxed_label_tl { \label{\l_listings_boxed_label_tl} }
}
\leavevmode\box_use:N \l_listings_boxed_box
}
\ExplSyntaxOff

View File

@ -1,10 +1,10 @@
% !TEX root = ../../Main.tex
% Meeting date
\newcommand{\meetingDate}{14.11.2024}
\newcommand{\waterMarkText}{Stand \today}
% Current date and time
\createdon{\meetingDate}
\createdon{\today}
% Title
\title{Handout zur außerordentlichen STUPA-Sitzung am \meetingDate}
\title{HSRT \LaTeX\ Report Template of @frederikbeimgraben}

View File

@ -3,10 +3,10 @@
%%%% ORDER IS CRITICAL %%%%
% STUPA Logo
\AddLogo{TeX/Assets/Images/STUPA.png}{1.1}{0.3}{1}{0}
%\AddLogo{TeX/Assets/Images/STUPA.png}{1.1}{0.3}{1}{0}
% HSRT Logo
\AddLogo{TeX/Assets/Images/HSRT.png}{1.4}{0.0}{2}{1}
\AddLogo{TeX/Assets/Images/HSRT.png}{1.4}{0.0}{1}{0}
% METI Logo
% \AddLogo{TeX/Assets/Images/METI.png}{1.1}{0.3}{3}{2}

View File

@ -1,37 +0,0 @@
% !TEX root = ../../Main.tex
\DeclareRobustCommand{\tableDot}[1]{
\strcompare{#1}{true}{
$\bullet$
}{
\hspace{1em}
}
}
\DeclareRobustCommand{\PresenceTableLine}[8]{
% Name | Note | ab* | bis* | STUPA? | AStA? | Anwesend? | Online?
#1 & \textit{#2} & #3 & #4 & \tableDot{#5} & \tableDot{#6} & \tableDot{#7} & \tableDot{#8} \\[-1em]
}
\DeclareRobustCommand{\PresenceTableSums}[4]{
\textbf{Summe} & & & & \textbf{#1} & \textbf{#2} & \textbf{#3} & \textbf{#4} \\
}
\DeclareRobustCommand{\rotFull}[1]{
\rotatebox{90}{#1}
}
\DeclareRobustCommand{\rotFF}[1]{
\rotatebox{45}{#1}
}
\newcommand{\dotsColumnWidth}{0.75em}
\DeclareRobustCommand{\PresenceTable}[1] {
\begin{center}
\begin{tabularx}{\textwidth}{X X | >{\centering\arraybackslash}p{2.5em} >{\centering\arraybackslash}p{2.5em} | >{\centering\arraybackslash}p{\dotsColumnWidth} >{\centering\arraybackslash}p{\dotsColumnWidth} >{\centering\arraybackslash}p{\dotsColumnWidth} >{\centering\arraybackslash}p{\dotsColumnWidth}}
\textbf{Name} & \textit{\textbf{Notiz/Rolle*}} & \textbf{\textit{ab*}} & \textit{\textbf{bis*}} & \rotFull{\textbf{STUPA}} & \rotFull{\textbf{AStA}} & \rotFull{\textbf{Präsent}} & \rotFull{\textbf{Online}} \\
\specialrule{.2em}{.05em}{.05em} \addlinespace[1ex]
#1
\end{tabularx}
\end{center}
}