Files
latex/config/main.sty
T
janishutz 31885ce1cd
Update helpers / build_helpers (push) Successful in 41s
fix(tcb): Titles not translating and spacing issues
2026-04-24 14:03:03 +02:00

32 lines
1.7 KiB
TeX

% ┌ ┐
% │ General config │
% └ ┘
% Configure your author name here
\newcommand{\authorTitle}{Janis Hutz\\\url{https://janishutz.com}}
\newcommand{\authorHeaders}{Janis Hutz}
% ┌ ┐
% │ Rendering │
% └ ┘
% This is used to render the optional name argument in the descriptors
% Updating this function only has an effect if you are using the
% unmodified templates below or have updated them, but still use this function
\newcommand{\descriptorNameDisplay}[1]{\textit{(#1)}}
% Specify how the inline and short descriptors (e.g. Lemma, etc) are rendered.
% - #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 name passed (non-empty asserted)
\newcommand{\shortDescriptorTemplate}[3]{\bg{#1color}{\shortNamingTranslate{#1} #2} \descriptorNameDisplay{#3}}
\newcommand{\inlineDescriptorTemplate}[3]{\bg{#1color}{\namingTranslate{#1} #2} \descriptorNameDisplay{#3}}
% These are used if no name is provided and argument #4 from above is the missing argument
\newcommand{\anonymousShortDescriptorTemplate}[2]{\bg{#1color}{\shortNamingTranslate{#1} #2}\ }
\newcommand{\anonymousInlineDescriptorTemplate}[2]{\bg{#1color}{\namingTranslate{#1} #2}\ }
\newcommand{\tcbDescriptorTemplate}[2]{\namingTranslate{#1} #2}
% background command config (draws a small box around the content)
\newcommand{\backgroundPadding}{2pt}
\newcommand{\backgroundRounding}{1pt}