diff --git a/main/style/style.tex b/main/style/style.tex index 2efbd0d..15a4906 100644 --- a/main/style/style.tex +++ b/main/style/style.tex @@ -92,6 +92,12 @@ % Add a colorbox around your text with the color specified. Text is bold and underlined \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) \newcommand{\smallhspace}{\hspace{2mm}} \newcommand{\mediumhspace}{\hspace{5mm}}