style.sty
changeset 743 6acabeecdf75
parent 719 0de3527e6ae3
child 751 4b208d81e002
equal deleted inserted replaced
742:b5b5583a3a08 743:6acabeecdf75
     7 \usepackage{amsmath}
     7 \usepackage{amsmath}
     8 \usepackage{menukeys}
     8 \usepackage{menukeys}
     9 \definecolor{darkblue}{rgb}{0,0,0.6}
     9 \definecolor{darkblue}{rgb}{0,0,0.6}
    10 \usepackage[colorlinks=true,urlcolor=darkblue,linkcolor=darkblue]{hyperref}
    10 \usepackage[colorlinks=true,urlcolor=darkblue,linkcolor=darkblue]{hyperref}
    11 \usepackage{soul}
    11 \usepackage{soul}
       
    12 \usepackage{marginnote}
       
    13 \usepackage{fontawesome5}
    12 
    14 
    13 %%% for regular expressions and values
    15 %%% for regular expressions and values
    14 \newcommand{\ZERO}{\mbox{\bf 0}}
    16 \newcommand{\ZERO}{\mbox{\bf 0}}
    15 \newcommand{\ONE}{\mbox{\bf 1}}
    17 \newcommand{\ONE}{\mbox{\bf 1}}
    16 \newcommand{\Left}{\textit{Left}}
    18 \newcommand{\Left}{\textit{Left}}
    47   \hbox{\vrule height.3ex}}
    49   \hbox{\vrule height.3ex}}
    48 
    50 
    49 \def\VS{\Vspace[0.6em]}
    51 \def\VS{\Vspace[0.6em]}
    50 
    52 
    51 
    53 
       
    54 %%% url pointers
       
    55 \newcommand{\here}[1]{\marginnote{\href{#1}{\faHandPointRight[regular]}}}
       
    56 \newcommand{\video}[1]{\marginnote{\href{#1}{\faFilm}}}
       
    57 \newcommand{\alert}{\reversemarginpar\marginpar{\mbox{}\hfill\textcolor{red}{\faExclamationTriangle}}}
       
    58 
       
    59 
    52 \newcommand{\dn}{\stackrel{\mbox{\scriptsize def}}{=}}
    60 \newcommand{\dn}{\stackrel{\mbox{\scriptsize def}}{=}}
    53 \newcommand{\defn}[1]{\textit{\textbf{#1}}}
    61 \newcommand{\defn}[1]{\textit{\textbf{#1}}}
    54 \newcommand{\dq}[1]{\mbox{\tt{"}}#1\mbox{\tt{"}}}
    62 \newcommand{\dq}[1]{\mbox{\tt{"}}#1\mbox{\tt{"}}}
    55 
    63 
    56 \definecolor{codegray}{gray}{0.9}
    64 \definecolor{codegray}{gray}{0.9}
    58 \makeatletter
    66 \makeatletter
    59 \def\fnote{\gdef\@thefnmark{}\@footnotetext}
    67 \def\fnote{\gdef\@thefnmark{}\@footnotetext}
    60 \makeatother
    68 \makeatother
    61 
    69 
    62 \newcommand{\HEADER}{{\bf Please submit your solutions via email. Please submit 
    70 \newcommand{\HEADER}{{\bf Please submit your solutions via email. Please submit 
    63 only ASCII text or PDFs. Every solution should be preceeded by the corresponding 
    71 only PDFs! Every solution should be preceeded by the corresponding 
    64 question text, like:
    72 question text, like:
    65 
    73 
    66 \begin{center}
    74 \begin{center}
    67 \begin{tabular}{ll}
    75 \begin{tabular}{ll}
    68 Q$n$: & \ldots a difficult question from me\ldots\\
    76 Q$n$: & \ldots a difficult question from me\ldots\\
    80 regular feedback to me: for example
    88 regular feedback to me: for example
    81 what were the most interesting, least interesting, or confusing 
    89 what were the most interesting, least interesting, or confusing 
    82 parts in this lecture? Any problems with my Scala code? Please 
    90 parts in this lecture? Any problems with my Scala code? Please 
    83 feel free to share any other questions or concerns. Also, all my
    91 feel free to share any other questions or concerns. Also, all my
    84 material is \st{crap} imperfect. If you have any suggestions for
    92 material is \st{crap} imperfect. If you have any suggestions for
    85 improvement, I am very grateful to hear.} 
    93 improvement, I am very grateful to hear.\medskip
       
    94 
       
    95 If *you* want to share anything (code, videos, links), you are
       
    96 encouraged to do so. Just drop me an email.} 
    86 
    97 
    87 
    98 
    88 % CW deadlines
    99 % CW deadlines
    89 \def\cwONE{11 October}
   100 \def\cwONE{11 October}
    90 \def\cwTWO{4 November}
   101 \def\cwTWO{4 November}