
diff -r b5faae05fc43 -r d2e28432378f slides.sty
--- a/slides.sty	Sun Aug 11 21:01:49 2019 +0100
+++ b/slides.sty	Tue Aug 13 10:23:20 2019 +0100
@@ -1,27 +1,48 @@
 \usepackage[absolute,overlay]{textpos}
 \usepackage{xcolor}
-\usepackage{fontspec}
+\usepackage[no-math]{fontspec}
+
+%%%%% CODE FONT
+%\setmonofont[Scale=.95]{Consolas}
+\setmonofont[Scale=.88]{Consolas}
+\newfontfamily{\consolas}{Consolas}
+
+%%%%% MATHFONT
 \usepackage[sc]{mathpazo}
+%\usepackage{fourier}
+%\usepackage{mathspec}
+%\usepackage[varg]{txfonts}
+%\usepackage{mathpple}
+
+%%%%% MAIN TEXT FONT
+\setromanfont{Cronos Pro}
+%\setbeamerfont{normal text}{family={\fontspec{Cronos Pro}}}
+%\setbeamerfont{normal text}{family={\fontspec{Hoefler Text}}}
+%\setromanfont{Cronos Pro}
+%\setromanfont{Hoefler Text}
 \usefonttheme{serif}
 \defaultfontfeatures{Ligatures=TeX}
 \defaultfontfeatures{Mapping=tex-text}
-\setromanfont{Hoefler Text}
-\setmonofont[Scale=.88]{Consolas}
-\newfontfamily{\consolas}{Consolas}
+
+
+%%%% Colours
 
 \definecolor{darkblue}{rgb}{0,0,0.6}
 \hypersetup{colorlinks=true}
 \hypersetup{linkcolor=darkblue}
 \hypersetup{urlcolor=darkblue}
 
+\hfuzz=320pt 
+
+
 \newcommand{\tttext}[1]{{\consolas{#1}}}
 
-\newcommand{\ZERO}{\mbox{\bf 0}}
-\newcommand{\ONE}{\mbox{\bf 1}}
-\newcommand{\Der}{\textit{Der}}
-\newcommand{\der}{\textit{der}}
-\newcommand{\Ders}{\textit{Ders}}
-\newcommand{\ders}{\textit{ders}}
+\newcommand{\ZERO}{\mathit{\bf 0}}
+\newcommand{\ONE}{\mathit{\bf 1}}
+\newcommand{\Der}{\mathit{Der}}
+\newcommand{\der}{\mathit{der}}
+\newcommand{\Ders}{\mathit{Ders}}
+\newcommand{\ders}{\mathit{ders}}
 \newcommand{\dn}{\stackrel{\mbox{\scriptsize def}}{=}}%
 \newcommand{\slidecaption}{}
 
@@ -29,7 +50,8 @@
 % Frametitles
 
 \setbeamerfont{frametitle}{size={\LARGE}}
-\setbeamerfont{frametitle}{family={\fontspec{Hoefler Text Black}}}
+%\setbeamerfont{frametitle}{family={\fontspec{Hoefler Text Black}}}
+\setbeamerfont{frametitle}{family={\fontspec{Cronos Pro Bold Caption}}}
 \setbeamercolor{frametitle}{fg=ProcessBlue,bg=white}
 
 \setbeamertemplate{frametitle}{%
@@ -38,9 +60,9 @@
 \vbox{%
 \begin{minipage}{1.05\textwidth}%
 \centering%
-\begin{tabular}{@{}c@{}}%
+%\begin{tabular}{@{}c@{}}%
 \insertframetitle%
-\end{tabular}%
+%\end{tabular}%
 \end{minipage}\vspace{-10pt}}%
 }
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%




