Add docs, finish up errors
This commit is contained in:
@@ -48,23 +48,25 @@
|
||||
\newcommand{\TODO}{\color{red} \hl{TODO:} \color{black}}
|
||||
|
||||
% Add a color shade (similar to \fhlc, but nicer boxes)
|
||||
\newcommand{\shade}[2]{
|
||||
\tcbox[on line,
|
||||
boxsep=3pt,
|
||||
left=0pt,
|
||||
right=0pt,
|
||||
top=0pt,
|
||||
bottom=0pt,
|
||||
colframe=white,
|
||||
colback=#1!20!white,
|
||||
highlight math style={enhanced}
|
||||
] {\textbf{#2}}
|
||||
}
|
||||
\newcommand{\background}[3]{\tcbox[on line,
|
||||
boxsep=3pt,
|
||||
left=0pt,
|
||||
right=0pt,
|
||||
top=0pt,
|
||||
bottom=0pt,
|
||||
colframe=white,
|
||||
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}}
|
||||
|
||||
% Add a gray backdrop
|
||||
\newcommand{\backdrop}[1]{
|
||||
\shade{black}{#1}
|
||||
}
|
||||
\newcommand{\backdrop}[1]{\shade{black}{#1}}
|
||||
|
||||
|
||||
% Fancy highlighting (Bold, underlined, colorbox behind it. Shorthand for \fhlc{white}{#1}
|
||||
|
Reference in New Issue
Block a user