style.sty
changeset 335 7e00d2b13b04
parent 305 e745f6e1ebf6
child 343 c8fcc0e0a57f
--- a/style.sty	Thu Apr 23 14:49:54 2020 +0100
+++ b/style.sty	Wed Aug 12 00:56:20 2020 +0100
@@ -1,4 +1,4 @@
-\usepackage{xcolor}
+%\usepackage{xcolor}
 %%\usepackage{fontspec}
 \usepackage[sc]{mathpazo}
 \usepackage{fontspec}
@@ -8,6 +8,8 @@
 \usepackage{menukeys}
 \definecolor{darkblue}{rgb}{0,0,0.6}
 \usepackage[colorlinks=true,urlcolor=darkblue,linkcolor=darkblue]{hyperref}
+\usepackage{marginnote}
+\usepackage{fontawesome5}
 
 %%% for regular expressions and values
 \newcommand{\ZERO}{\mbox{\bf 0}}
@@ -22,6 +24,10 @@
 %% http://anorien.csc.warwick.ac.uk/mirrors/CTAN/graphics/pgf/contrib/forest/forest.pdf
 
 
+%%% url pointers
+\newcommand{\here}[1]{\marginnote{\href{#1}{\faHandPointRight[regular]}}}
+\newcommand{\video}[1]{\marginnote{\href{#1}{\faFilm}}}
+\newcommand{\alert}{\reversemarginpar\marginpar{\mbox{}\hfill\textcolor{red}{\faExclamationTriangle}}}
 
 \newcommand{\dn}{\stackrel{\mbox{\scriptsize def}}{=}}
 \newcommand{\defn}[1]{\textit{\textbf{#1}}}