From 635d32d2602e33e7615857f9491d468c43104b90 Mon Sep 17 00:00:00 2001 From: "Helpers compiler [bot]" Date: Fri, 9 Jan 2026 14:06:18 +0000 Subject: [PATCH] [skip ci] Build helpers on push --- dist/full.tex | 14 +++++-- dist/minimal.tex | 12 ++++-- dist/most.tex | 14 +++++-- dist/recommended.tex | 14 +++++-- extra/.latexindent.yaml | 82 +++++++++++++++++++++++++++++++++++++++++ main/.latexindent.yaml | 82 +++++++++++++++++++++++++++++++++++++++++ 6 files changed, 206 insertions(+), 12 deletions(-) create mode 100644 extra/.latexindent.yaml create mode 100644 main/.latexindent.yaml diff --git a/dist/full.tex b/dist/full.tex index 7e950f2..6a3e2d3 100644 --- a/dist/full.tex +++ b/dist/full.tex @@ -7,7 +7,7 @@ % █ █ ▄ █ █ █ █ █▄▄▄█ ▄ █ █ █ █ █ █▄▄▄█ █ █ █ █▄▄▄█ █ █ █▄▄▄▄▄█ █ % █▄▄▄▄▄▄▄█▄█ █▄▄█ █▄▄▄█ █▄▄▄▄▄▄▄█▄▄█ █▄▄█ █▄▄█ █▄▄█▄▄▄▄▄▄▄█▄▄▄▄▄▄▄█▄▄▄█ █▄▄▄▄▄▄▄█▄▄▄█ █▄█▄▄▄▄▄▄▄█ - +% % ▄▄█▀▀▀█▄█ % ▄██▀ ▀█ % ██▀ ▀ ▄██▀██▄▀███▄███ ▄▄█▀██ @@ -17,9 +17,12 @@ % ▀▀█████▀ ▀█████▀▄████▄ ▀█████▀ % This file contains all necessary dependencies for the document to compile (at all) and some core macros +% Load this before the config file -% Imports % + +% ── Imports ───────────────────────────────────────────────────────── \typeout{[Core] Importing!} + \usepackage[table, dvipsnames]{xcolor} \usepackage{amsmath} \usepackage{graphicx} @@ -46,7 +49,8 @@ \usepackage{pifont} -% Language Switching. Currently only English and German are supported +% ── Language Switching. ───────────────────────────────────────────── +% Currently only English and German are supported % See docs for how to use \newcounter{lang} @@ -87,6 +91,7 @@ \newcounter{descriptorShadeStrength} \newcounter{shadeStrength} +% ── Setup ─────────────────────────────────────────────────────────── % Set up the latex document, configure author, title (as first argument), as well as headers and footers \newcommand{\setup}[1]{ \typeout{[Setup] Setting up...} @@ -117,6 +122,7 @@ \startDocumentNoTitle } +% Or this one, if you don't want a title \newcommand{\startDocumentNoTitle}{ \pagestyle{fancy} \thispagestyle{fancy} @@ -501,6 +507,7 @@ % ░▒█░░░░█░░█░█░▀░█░█▄▄█░█░▒█░░█░░█▀▀░█▄▄▀░░░░▀▀▀▄▄░█░░░░█▀░█▀▀░█░▒█░█░░░█▀▀ % ░▒█▄▄▀░░▀▀░░▀░░▒▀░█░░░░░▀▀▀░░▀░░▀▀▀░▀░▀▀░░░▒█▄▄▄█░▀▀▀░▀▀▀░▀▀▀░▀░░▀░▀▀▀░▀▀▀ + % Extra imports \usepackage{stmaryrd} \usepackage{algorithm} @@ -512,6 +519,7 @@ \newcommand{\Indent}{\hspace{\algorithmicindent}} +% Extra commands \newcommand{\timecomplexity}{\fhlc{orange}{\ifnum\value{lang}<2{Time complexity}\else {Laufzeit}\fi} \hspace{0.5em}} \newcommand{\tc}[1]{\timecomplexity $\Theta\left(#1\right)$} \newcommand{\tct}[1]{\Theta\left(#1\right)} diff --git a/dist/minimal.tex b/dist/minimal.tex index a68c740..c00464c 100644 --- a/dist/minimal.tex +++ b/dist/minimal.tex @@ -7,7 +7,7 @@ % █ █ ▄ █ █ █ █ █▄▄▄█ ▄ █ █ █ █ █ █▄▄▄█ █ █ █ █▄▄▄█ █ █ █▄▄▄▄▄█ █ % █▄▄▄▄▄▄▄█▄█ █▄▄█ █▄▄▄█ █▄▄▄▄▄▄▄█▄▄█ █▄▄█ █▄▄█ █▄▄█▄▄▄▄▄▄▄█▄▄▄▄▄▄▄█▄▄▄█ █▄▄▄▄▄▄▄█▄▄▄█ █▄█▄▄▄▄▄▄▄█ - +% % ▄▄█▀▀▀█▄█ % ▄██▀ ▀█ % ██▀ ▀ ▄██▀██▄▀███▄███ ▄▄█▀██ @@ -17,9 +17,12 @@ % ▀▀█████▀ ▀█████▀▄████▄ ▀█████▀ % This file contains all necessary dependencies for the document to compile (at all) and some core macros +% Load this before the config file -% Imports % + +% ── Imports ───────────────────────────────────────────────────────── \typeout{[Core] Importing!} + \usepackage[table, dvipsnames]{xcolor} \usepackage{amsmath} \usepackage{graphicx} @@ -46,7 +49,8 @@ \usepackage{pifont} -% Language Switching. Currently only English and German are supported +% ── Language Switching. ───────────────────────────────────────────── +% Currently only English and German are supported % See docs for how to use \newcounter{lang} @@ -87,6 +91,7 @@ \newcounter{descriptorShadeStrength} \newcounter{shadeStrength} +% ── Setup ─────────────────────────────────────────────────────────── % Set up the latex document, configure author, title (as first argument), as well as headers and footers \newcommand{\setup}[1]{ \typeout{[Setup] Setting up...} @@ -117,6 +122,7 @@ \startDocumentNoTitle } +% Or this one, if you don't want a title \newcommand{\startDocumentNoTitle}{ \pagestyle{fancy} \thispagestyle{fancy} diff --git a/dist/most.tex b/dist/most.tex index e9ffe41..65f1950 100644 --- a/dist/most.tex +++ b/dist/most.tex @@ -7,7 +7,7 @@ % █ █ ▄ █ █ █ █ █▄▄▄█ ▄ █ █ █ █ █ █▄▄▄█ █ █ █ █▄▄▄█ █ █ █▄▄▄▄▄█ █ % █▄▄▄▄▄▄▄█▄█ █▄▄█ █▄▄▄█ █▄▄▄▄▄▄▄█▄▄█ █▄▄█ █▄▄█ █▄▄█▄▄▄▄▄▄▄█▄▄▄▄▄▄▄█▄▄▄█ █▄▄▄▄▄▄▄█▄▄▄█ █▄█▄▄▄▄▄▄▄█ - +% % ▄▄█▀▀▀█▄█ % ▄██▀ ▀█ % ██▀ ▀ ▄██▀██▄▀███▄███ ▄▄█▀██ @@ -17,9 +17,12 @@ % ▀▀█████▀ ▀█████▀▄████▄ ▀█████▀ % This file contains all necessary dependencies for the document to compile (at all) and some core macros +% Load this before the config file -% Imports % + +% ── Imports ───────────────────────────────────────────────────────── \typeout{[Core] Importing!} + \usepackage[table, dvipsnames]{xcolor} \usepackage{amsmath} \usepackage{graphicx} @@ -46,7 +49,8 @@ \usepackage{pifont} -% Language Switching. Currently only English and German are supported +% ── Language Switching. ───────────────────────────────────────────── +% Currently only English and German are supported % See docs for how to use \newcounter{lang} @@ -87,6 +91,7 @@ \newcounter{descriptorShadeStrength} \newcounter{shadeStrength} +% ── Setup ─────────────────────────────────────────────────────────── % Set up the latex document, configure author, title (as first argument), as well as headers and footers \newcommand{\setup}[1]{ \typeout{[Setup] Setting up...} @@ -117,6 +122,7 @@ \startDocumentNoTitle } +% Or this one, if you don't want a title \newcommand{\startDocumentNoTitle}{ \pagestyle{fancy} \thispagestyle{fancy} @@ -501,6 +507,7 @@ % ░▒█░░░░█░░█░█░▀░█░█▄▄█░█░▒█░░█░░█▀▀░█▄▄▀░░░░▀▀▀▄▄░█░░░░█▀░█▀▀░█░▒█░█░░░█▀▀ % ░▒█▄▄▀░░▀▀░░▀░░▒▀░█░░░░░▀▀▀░░▀░░▀▀▀░▀░▀▀░░░▒█▄▄▄█░▀▀▀░▀▀▀░▀▀▀░▀░░▀░▀▀▀░▀▀▀ + % Extra imports \usepackage{stmaryrd} \usepackage{algorithm} @@ -512,6 +519,7 @@ \newcommand{\Indent}{\hspace{\algorithmicindent}} +% Extra commands \newcommand{\timecomplexity}{\fhlc{orange}{\ifnum\value{lang}<2{Time complexity}\else {Laufzeit}\fi} \hspace{0.5em}} \newcommand{\tc}[1]{\timecomplexity $\Theta\left(#1\right)$} \newcommand{\tct}[1]{\Theta\left(#1\right)} diff --git a/dist/recommended.tex b/dist/recommended.tex index bf14e97..865a25c 100644 --- a/dist/recommended.tex +++ b/dist/recommended.tex @@ -7,7 +7,7 @@ % █ █ ▄ █ █ █ █ █▄▄▄█ ▄ █ █ █ █ █ █▄▄▄█ █ █ █ █▄▄▄█ █ █ █▄▄▄▄▄█ █ % █▄▄▄▄▄▄▄█▄█ █▄▄█ █▄▄▄█ █▄▄▄▄▄▄▄█▄▄█ █▄▄█ █▄▄█ █▄▄█▄▄▄▄▄▄▄█▄▄▄▄▄▄▄█▄▄▄█ █▄▄▄▄▄▄▄█▄▄▄█ █▄█▄▄▄▄▄▄▄█ - +% % ▄▄█▀▀▀█▄█ % ▄██▀ ▀█ % ██▀ ▀ ▄██▀██▄▀███▄███ ▄▄█▀██ @@ -17,9 +17,12 @@ % ▀▀█████▀ ▀█████▀▄████▄ ▀█████▀ % This file contains all necessary dependencies for the document to compile (at all) and some core macros +% Load this before the config file -% Imports % + +% ── Imports ───────────────────────────────────────────────────────── \typeout{[Core] Importing!} + \usepackage[table, dvipsnames]{xcolor} \usepackage{amsmath} \usepackage{graphicx} @@ -46,7 +49,8 @@ \usepackage{pifont} -% Language Switching. Currently only English and German are supported +% ── Language Switching. ───────────────────────────────────────────── +% Currently only English and German are supported % See docs for how to use \newcounter{lang} @@ -87,6 +91,7 @@ \newcounter{descriptorShadeStrength} \newcounter{shadeStrength} +% ── Setup ─────────────────────────────────────────────────────────── % Set up the latex document, configure author, title (as first argument), as well as headers and footers \newcommand{\setup}[1]{ \typeout{[Setup] Setting up...} @@ -117,6 +122,7 @@ \startDocumentNoTitle } +% Or this one, if you don't want a title \newcommand{\startDocumentNoTitle}{ \pagestyle{fancy} \thispagestyle{fancy} @@ -501,6 +507,7 @@ % ░▒█░░░░█░░█░█░▀░█░█▄▄█░█░▒█░░█░░█▀▀░█▄▄▀░░░░▀▀▀▄▄░█░░░░█▀░█▀▀░█░▒█░█░░░█▀▀ % ░▒█▄▄▀░░▀▀░░▀░░▒▀░█░░░░░▀▀▀░░▀░░▀▀▀░▀░▀▀░░░▒█▄▄▄█░▀▀▀░▀▀▀░▀▀▀░▀░░▀░▀▀▀░▀▀▀ + % Extra imports \usepackage{stmaryrd} \usepackage{algorithm} @@ -512,6 +519,7 @@ \newcommand{\Indent}{\hspace{\algorithmicindent}} +% Extra commands \newcommand{\timecomplexity}{\fhlc{orange}{\ifnum\value{lang}<2{Time complexity}\else {Laufzeit}\fi} \hspace{0.5em}} \newcommand{\tc}[1]{\timecomplexity $\Theta\left(#1\right)$} \newcommand{\tct}[1]{\Theta\left(#1\right)} diff --git a/extra/.latexindent.yaml b/extra/.latexindent.yaml new file mode 100644 index 0000000..9aac033 --- /dev/null +++ b/extra/.latexindent.yaml @@ -0,0 +1,82 @@ +# Use spaces for indent (because f*k tabs) +defaultIndent: " " + +# Limit Number of backups +maxNumberOfBackups: 3 + +verbatimEnvironments: + verbatim: 1 + lstlisting: 1 + minted: 1 + code: 1 + +indentRules: + recall: " " + remarks: " " + remark: " " + guides: " " + properties: " " + restrictions: " " + limitations: " " + terms: " " + notation: " " + usage: " " + task: " " + proof: " " + general: " " + simplebox: " " + definition: " " + theorem: " " + lemma: " " + corollary: " " + axiom: " " + fact: " " + proposition: " " + example: " " + formula: " " + conjugation: " " + forms: " " + +lookForAlignDelims: + tables: + delims: 1 + alignDoubleBackSlash: 1 + spacesBeforeDoubleBackSlash: 1 + multiColumnGrouping: 0 + alignRowsWithoutMaxDelims: 1 + spacesBeforeAmpersand: 1 + spacesAfterAmpersand: 1 + justification: left + alignFinalDoubleBackSlash: 0 + dontMeasure: 0 + delimiterRegEx: (?