style.sty
changeset 743 6acabeecdf75
parent 719 0de3527e6ae3
child 751 4b208d81e002
--- a/style.sty	Thu Jul 30 13:50:54 2020 +0100
+++ b/style.sty	Sat Aug 15 14:18:37 2020 +0100
@@ -9,6 +9,8 @@
 \definecolor{darkblue}{rgb}{0,0,0.6}
 \usepackage[colorlinks=true,urlcolor=darkblue,linkcolor=darkblue]{hyperref}
 \usepackage{soul}
+\usepackage{marginnote}
+\usepackage{fontawesome5}
 
 %%% for regular expressions and values
 \newcommand{\ZERO}{\mbox{\bf 0}}
@@ -49,6 +51,12 @@
 \def\VS{\Vspace[0.6em]}
 
 
+%%% 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}}}
 \newcommand{\dq}[1]{\mbox{\tt{"}}#1\mbox{\tt{"}}}
@@ -60,7 +68,7 @@
 \makeatother
 
 \newcommand{\HEADER}{{\bf Please submit your solutions via email. Please submit 
-only ASCII text or PDFs. Every solution should be preceeded by the corresponding 
+only PDFs! Every solution should be preceeded by the corresponding 
 question text, like:
 
 \begin{center}
@@ -82,7 +90,10 @@
 parts in this lecture? Any problems with my Scala code? Please 
 feel free to share any other questions or concerns. Also, all my
 material is \st{crap} imperfect. If you have any suggestions for
-improvement, I am very grateful to hear.} 
+improvement, I am very grateful to hear.\medskip
+
+If *you* want to share anything (code, videos, links), you are
+encouraged to do so. Just drop me an email.} 
 
 
 % CW deadlines