style.sty
changeset 486 9c03b5e89a2a
parent 485 19b75e899d37
child 487 efad9725dfd8
equal deleted inserted replaced
485:19b75e899d37 486:9c03b5e89a2a
     1 \usepackage{xcolor}
       
     2 %%\usepackage{fontspec}
       
     3 \usepackage[sc]{mathpazo}
       
     4 \usepackage{fontspec}
       
     5 \setmainfont[Ligatures=TeX]{Palatino Linotype}
       
     6 \usepackage{amssymb}
       
     7 \usepackage{amsmath}
       
     8 \definecolor{darkblue}{rgb}{0,0,0.6}
       
     9 \usepackage[colorlinks=true,urlcolor=darkblue,linkcolor=darkblue]{hyperref}
       
    10 \usepackage{marginnote}
       
    11 \usepackage{fontawesome5}
       
    12 
       
    13 %% does not work after the last upgrade
       
    14 %%\usepackage{menukeys}
       
    15 
       
    16 %%% for regular expressions and values
       
    17 \newcommand{\ZERO}{\mbox{\bf 0}}
       
    18 \newcommand{\ONE}{\mbox{\bf 1}}
       
    19 \newcommand{\Left}{\textit{Left}}
       
    20 \newcommand{\Der}{\textit{Der}}
       
    21 \newcommand{\der}{\textit{der}}
       
    22 \newcommand{\Ders}{\textit{Ders}}
       
    23 \newcommand{\ders}{\textit{ders}}
       
    24 
       
    25 %%% for trees
       
    26 %% http://anorien.csc.warwick.ac.uk/mirrors/CTAN/graphics/pgf/contrib/forest/forest.pdf
       
    27 
       
    28 
       
    29 %%% url pointers
       
    30 \newcommand{\here}[1]{\marginnote{\href{#1}{\faHandPointRight[regular]}}}
       
    31 \newcommand{\video}[1]{\marginnote{\href{#1}{\faFilm}}}
       
    32 \newcommand{\alert}{\reversemarginpar\marginpar{\mbox{}\hfill\textcolor{red}{\faExclamationTriangle}}}
       
    33 
       
    34 \newcommand{\dn}{\stackrel{\mbox{\scriptsize def}}{=}}
       
    35 \newcommand{\defn}[1]{\textit{\textbf{#1}}}
       
    36 \newcommand{\dq}[1]{\mbox{\tt{"}}#1\mbox{\tt{"}}}
       
    37 
       
    38 \definecolor{codegray}{gray}{0.9}
       
    39 
       
    40 \makeatletter
       
    41 \def\fnote{\gdef\@thefnmark{}\@footnotetext}
       
    42 \makeatother
       
    43 
       
    44 % CW deadlines
       
    45 \def\cwSIX{20 November}
       
    46 \def\cwSIXa{15 January}
       
    47 
       
    48 \def\cwSEVEN{27 November}
       
    49 \def\cwSEVENa{15 January}
       
    50 
       
    51 \def\cwEIGHT{4 December}
       
    52 \def\cwEIGHTa{15 January}
       
    53 
       
    54 \def\cwNINE{11 December}
       
    55 \def\cwNINEa{15 January}
       
    56 
       
    57 \def\cwTEN{15 January}
       
    58 \def\cwTENa{15 January}
       
    59