Update docs (mostly), fixes, etc
This commit is contained in:
@@ -17,15 +17,7 @@
|
||||
|
||||
% ── Small common style elements ─────────────────────────────────────
|
||||
% Spacing (vertical)
|
||||
% TODO: Rework
|
||||
\newcommand{\hrmvspace}{\vspace{-0.25pc}}
|
||||
\newcommand{\rmvspace}{\vspace{-0.5pc}}
|
||||
\newcommand{\mrmvspace}{\vspace{-0.75pc}}
|
||||
\newcommand{\drmvspace}{\vspace{-1pc}}
|
||||
\newcommand{\dhrmvspace}{\vspace{-1.25pc}}
|
||||
\newcommand{\dnrmvspace}{\vspace{-1.5pc}}
|
||||
\newcommand{\dmrmvspace}{\vspace{-1.75pc}}
|
||||
\newcommand{\ddrmvspace}{\vspace{-2pc}}
|
||||
\newcommand{\rmvspace}[1][0.5]{\vspace{-#1pc}}
|
||||
|
||||
% Spacing (horizontal)
|
||||
\newcommand{\smallhspace}{\hspace{2mm}}
|
||||
@@ -59,6 +51,9 @@
|
||||
% 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}}
|
||||
|
||||
% Print a table of contents as a tcolorbox
|
||||
\newcommand{\printtoc}[1]{
|
||||
\renewcommand{\cfttoctitlefont}{}
|
||||
@@ -78,3 +73,10 @@
|
||||
\tableofcontents
|
||||
\end{tcolorbox}
|
||||
}
|
||||
|
||||
|
||||
% Draw box around links. First arg link, second arg display
|
||||
\newcommand{\hlhref}[2]{\color{MidnightBlue}\fbox{\href{#1}{#2}}\color{black}}
|
||||
|
||||
% Same for urls (just one arg tho)
|
||||
\newcommand{\hlurl}[1]{\color{MidnightBlue}\fbox{\url{#1}}\color{black}}
|
||||
|
||||
Reference in New Issue
Block a user