This commit is contained in:
2026-02-05 19:54:03 +01:00
parent a8a06cf62f
commit 354626cf88
21 changed files with 252 additions and 286 deletions

View File

@@ -25,23 +25,3 @@
\RequirePackage{gensymb}
\RequirePackage{pifont}
\RequirePackage{xstring}
% Add a color shade (similar to \fhlc, but nicer boxes)
\newcommand{\background}[3]{\tcbox[on line,
boxsep=\backgroundPadding,
arc=\backgroundRounding,
left=0pt,
right=0pt,
top=0pt,
bottom=0pt,
frame empty,
colback=#1!#2!white,
highlight math style={enhanced}
] {\textbf{#3}}}
% Abstraction of background, where the brightness is set to 20%
\newcommand{\shade}[2]{\background{#1}{\arabic{shadeStrength}}{#2}}
% This command is used for the short and inline descriptors
\newcommand{\bg}[2]{\background{#1}{\arabic{descriptorShadeStrength}}{#2}}