[Style] Add url and href highlighting

This commit is contained in:
2025-11-10 09:15:13 +01:00
parent 47ed047c7e
commit 491adc1744

View File

@@ -92,6 +92,12 @@
% Add a colorbox around your text with the color specified. Text is bold and underlined % Add a colorbox around your text with the color specified. Text is bold and underlined
\newcommand{\fhlc}[2]{\textbf{\underline{\colorbox{#1}{#2}}}} \newcommand{\fhlc}[2]{\textbf{\underline{\colorbox{#1}{#2}}}}
% 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}}
% Spacing (horizontal) % Spacing (horizontal)
\newcommand{\smallhspace}{\hspace{2mm}} \newcommand{\smallhspace}{\hspace{2mm}}
\newcommand{\mediumhspace}{\hspace{5mm}} \newcommand{\mediumhspace}{\hspace{5mm}}