Store to move back to normal tex files

This commit is contained in:
2026-02-19 16:52:35 +01:00
parent 201423b8a3
commit 811dc9f9eb
28 changed files with 673 additions and 954 deletions

View File

@@ -12,7 +12,7 @@
\newcommand{\countrycode}{CH}
% Set the default language
\newcommand{\currentLanguage}{en}
\renewcommand{\currentLanguage}{en}
% ┌ ┐
@@ -23,19 +23,19 @@
\newcommand{\shortDescriptorNameTemplate}[1]{\StrBefore[1]{#1}}
% Decide if the numbering should show a space preceding it.
\newcommand{\useSpaceBeforeNumbering}{true}
% \newcommand{\useSpaceBeforeNumbering}{true}
% TODO: Remove above if works without
% Specify how the inline and short descriptors (e.g. Lemma, etc) are rendered.
% - #1 is the name of the descriptor (or the shortened version, as configured)
% - #1 is the name of the descriptor
% - #2 is the number (correctly rendered according to settings and preceded with space if not disabled)
% - #3 is the corresponding color
% - #4 is the name passed (non-empty)
\newcommand{\shortDescriptorTemplate}[4]{\bg{#3}{#1#2} \textit{(#4)}}
\newcommand{\inlineDescriptorTemplate}[4]{\bg{#3}{#1#2} \textit{(#4)}}
% - #3 is the name passed (non-empty asserted)
\newcommand{\shortDescriptorTemplate}[4]{\bg{#1color}{\shortDescriptorNameTemplate{#1}#2} \textit{(#3)}\ }
\newcommand{\inlineDescriptorTemplate}[4]{\bg{#1color}{#1#2}: \textit{(#3)}\ }
% These are used if no name is provided and argument #4 from above is the missing argument
\newcommand{\anonymousShortDescriptorTemplate}[3]{\bg{#3}{#1#2}}
\newcommand{\anonymousInlineDescriptorTemplate}[3]{\bg{#3}{#1#2}}
\newcommand{\anonymousShortDescriptorTemplate}[3]{\bg{#1color}{\shortDescriptorNameTemplate{#1}#2}\ }
\newcommand{\anonymousInlineDescriptorTemplate}[3]{\bg{#3color}{#1#2}\ }
% background command config (draws a small box around the content)
\newcommand{\backgroundPadding}{2pt}

View File

@@ -1,6 +1,12 @@
% ┌ ┐
% │ Colours │
% └ ┘
% The colour-saturation of the short / inline descriptors (default = 40)
\setcounter{descriptorShadeStrength}{40}
% The colour-saturation of the shade command (default = 20)
\setcounter{shadeStrength}{20}
% You may also use \definecolor{<name>}{rgb}{r, g, b} to define a fully custom color
% see https://www.overleaf.com/learn/latex/Using_colors_in_LaTeX#Creating_your_own_colors for more information
\colorlet{definitioncolor}{blue}

View File

@@ -1,7 +1,7 @@
% ┌ ┐
% │ Numbering │
% └ ┘
% Set a preset, can be combined, separate, custom or off.
% Set a preset, can be combined, separate or off.
% If set to custom, all type specific commands need to be set below.
\newcommand{\numberingpreset}{combined}