slides.sty
changeset 630 9b1c15c3eb6f
parent 565 2be8c4c77418
child 743 6acabeecdf75
--- a/slides.sty	Tue Jul 30 23:44:56 2019 +0100
+++ b/slides.sty	Wed Sep 25 11:24:34 2019 +0100
@@ -1,29 +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{CronosPro}
+%\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}{}
 
@@ -31,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}{%