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