style.sty
author Christian Urban <christian.urban@kcl.ac.uk>
Fri, 23 Dec 2022 16:52:34 +0000
changeset 456 d076cb2e0b75
parent 344 a2ac7e3fa330
permissions -rw-r--r--
updated jars
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
343
c8fcc0e0a57f updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 335
diff changeset
     1
\usepackage{xcolor}
123
556cd74cbba9 updated
Christian Urban <urbanc@in.tum.de>
parents: 62
diff changeset
     2
%%\usepackage{fontspec}
27
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     3
\usepackage[sc]{mathpazo}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     4
\usepackage{fontspec}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     5
\setmainfont[Ligatures=TeX]{Palatino Linotype}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     6
\usepackage{amssymb}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     7
\usepackage{amsmath}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     8
\definecolor{darkblue}{rgb}{0,0,0.6}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     9
\usepackage[colorlinks=true,urlcolor=darkblue,linkcolor=darkblue]{hyperref}
335
7e00d2b13b04 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 305
diff changeset
    10
\usepackage{marginnote}
7e00d2b13b04 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 305
diff changeset
    11
\usepackage{fontawesome5}
27
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    12
343
c8fcc0e0a57f updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 335
diff changeset
    13
%% does not work after the last upgrade
c8fcc0e0a57f updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 335
diff changeset
    14
%%\usepackage{menukeys}
c8fcc0e0a57f updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 335
diff changeset
    15
123
556cd74cbba9 updated
Christian Urban <urbanc@in.tum.de>
parents: 62
diff changeset
    16
%%% for regular expressions and values
62
2151c77e1e24 updated
Christian Urban <urbanc@in.tum.de>
parents: 42
diff changeset
    17
\newcommand{\ZERO}{\mbox{\bf 0}}
2151c77e1e24 updated
Christian Urban <urbanc@in.tum.de>
parents: 42
diff changeset
    18
\newcommand{\ONE}{\mbox{\bf 1}}
2151c77e1e24 updated
Christian Urban <urbanc@in.tum.de>
parents: 42
diff changeset
    19
\newcommand{\Left}{\textit{Left}}
2151c77e1e24 updated
Christian Urban <urbanc@in.tum.de>
parents: 42
diff changeset
    20
\newcommand{\Der}{\textit{Der}}
2151c77e1e24 updated
Christian Urban <urbanc@in.tum.de>
parents: 42
diff changeset
    21
\newcommand{\der}{\textit{der}}
2151c77e1e24 updated
Christian Urban <urbanc@in.tum.de>
parents: 42
diff changeset
    22
\newcommand{\Ders}{\textit{Ders}}
2151c77e1e24 updated
Christian Urban <urbanc@in.tum.de>
parents: 42
diff changeset
    23
\newcommand{\ders}{\textit{ders}}
2151c77e1e24 updated
Christian Urban <urbanc@in.tum.de>
parents: 42
diff changeset
    24
27
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    25
%%% for trees
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    26
%% http://anorien.csc.warwick.ac.uk/mirrors/CTAN/graphics/pgf/contrib/forest/forest.pdf
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    27
123
556cd74cbba9 updated
Christian Urban <urbanc@in.tum.de>
parents: 62
diff changeset
    28
335
7e00d2b13b04 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 305
diff changeset
    29
%%% url pointers
7e00d2b13b04 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 305
diff changeset
    30
\newcommand{\here}[1]{\marginnote{\href{#1}{\faHandPointRight[regular]}}}
7e00d2b13b04 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 305
diff changeset
    31
\newcommand{\video}[1]{\marginnote{\href{#1}{\faFilm}}}
7e00d2b13b04 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 305
diff changeset
    32
\newcommand{\alert}{\reversemarginpar\marginpar{\mbox{}\hfill\textcolor{red}{\faExclamationTriangle}}}
123
556cd74cbba9 updated
Christian Urban <urbanc@in.tum.de>
parents: 62
diff changeset
    33
27
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    34
\newcommand{\dn}{\stackrel{\mbox{\scriptsize def}}{=}}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    35
\newcommand{\defn}[1]{\textit{\textbf{#1}}}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    36
\newcommand{\dq}[1]{\mbox{\tt{"}}#1\mbox{\tt{"}}}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    37
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    38
\definecolor{codegray}{gray}{0.9}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    39
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    40
\makeatletter
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    41
\def\fnote{\gdef\@thefnmark{}\@footnotetext}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    42
\makeatother
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    43
252
a9d84442fb65 added stub for cws dates
Christian Urban <urbanc@in.tum.de>
parents: 123
diff changeset
    44
% CW deadlines
344
a2ac7e3fa330 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 343
diff changeset
    45
\def\cwSIX{20 November}
281
87b9e3e2c1a7 updated
Christian Urban <urbanc@in.tum.de>
parents: 279
diff changeset
    46
\def\cwSIXa{15 January}
252
a9d84442fb65 added stub for cws dates
Christian Urban <urbanc@in.tum.de>
parents: 123
diff changeset
    47
344
a2ac7e3fa330 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 343
diff changeset
    48
\def\cwSEVEN{27 November}
281
87b9e3e2c1a7 updated
Christian Urban <urbanc@in.tum.de>
parents: 279
diff changeset
    49
\def\cwSEVENa{15 January}
123
556cd74cbba9 updated
Christian Urban <urbanc@in.tum.de>
parents: 62
diff changeset
    50
344
a2ac7e3fa330 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 343
diff changeset
    51
\def\cwEIGHT{4 December}
281
87b9e3e2c1a7 updated
Christian Urban <urbanc@in.tum.de>
parents: 279
diff changeset
    52
\def\cwEIGHTa{15 January}
123
556cd74cbba9 updated
Christian Urban <urbanc@in.tum.de>
parents: 62
diff changeset
    53
344
a2ac7e3fa330 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 343
diff changeset
    54
\def\cwNINE{11 December}
281
87b9e3e2c1a7 updated
Christian Urban <urbanc@in.tum.de>
parents: 279
diff changeset
    55
\def\cwNINEa{15 January}
123
556cd74cbba9 updated
Christian Urban <urbanc@in.tum.de>
parents: 62
diff changeset
    56
281
87b9e3e2c1a7 updated
Christian Urban <urbanc@in.tum.de>
parents: 279
diff changeset
    57
\def\cwTEN{15 January}
87b9e3e2c1a7 updated
Christian Urban <urbanc@in.tum.de>
parents: 279
diff changeset
    58
\def\cwTENa{15 January}
252
a9d84442fb65 added stub for cws dates
Christian Urban <urbanc@in.tum.de>
parents: 123
diff changeset
    59