slides.sty
changeset 630 9b1c15c3eb6f
parent 565 2be8c4c77418
child 743 6acabeecdf75
equal deleted inserted replaced
629:1b718d6065c2 630:9b1c15c3eb6f
     1 \usepackage[absolute,overlay]{textpos}
     1 \usepackage[absolute,overlay]{textpos}
     2 \usepackage{xcolor}
     2 \usepackage{xcolor}
     3 \usepackage{fontspec}
     3 \usepackage[no-math]{fontspec}
       
     4 
       
     5 %%%%% CODE FONT
       
     6 %\setmonofont[Scale=.95]{Consolas}
       
     7 \setmonofont[Scale=.88]{Consolas}
       
     8 \newfontfamily{\consolas}{Consolas}
       
     9 
       
    10 %%%%% MATHFONT
     4 \usepackage[sc]{mathpazo}
    11 \usepackage[sc]{mathpazo}
     5 %%\usepackage{CronosPro}
    12 %\usepackage{fourier}
       
    13 %\usepackage{mathspec}
       
    14 %\usepackage[varg]{txfonts}
       
    15 %\usepackage{mathpple}
       
    16 
       
    17 %%%%% MAIN TEXT FONT
       
    18 \setromanfont{Cronos Pro}
       
    19 %\setbeamerfont{normal text}{family={\fontspec{Cronos Pro}}}
       
    20 %\setbeamerfont{normal text}{family={\fontspec{Hoefler Text}}}
       
    21 %\setromanfont{Cronos Pro}
       
    22 %\setromanfont{Hoefler Text}
     6 \usefonttheme{serif}
    23 \usefonttheme{serif}
     7 \defaultfontfeatures{Ligatures=TeX}
    24 \defaultfontfeatures{Ligatures=TeX}
     8 \defaultfontfeatures{Mapping=tex-text}
    25 \defaultfontfeatures{Mapping=tex-text}
     9 \setromanfont{Hoefler Text}
    26 
    10 \setmonofont[Scale=.88]{Consolas}
    27 
    11 \newfontfamily{\consolas}{Consolas}
    28 %%%% Colours
    12 
    29 
    13 \definecolor{darkblue}{rgb}{0,0,0.6}
    30 \definecolor{darkblue}{rgb}{0,0,0.6}
    14 \hypersetup{colorlinks=true}
    31 \hypersetup{colorlinks=true}
    15 \hypersetup{linkcolor=darkblue}
    32 \hypersetup{linkcolor=darkblue}
    16 \hypersetup{urlcolor=darkblue}
    33 \hypersetup{urlcolor=darkblue}
    17 
    34 
       
    35 \hfuzz=320pt 
       
    36 
    18 
    37 
    19 \newcommand{\tttext}[1]{{\consolas{#1}}}
    38 \newcommand{\tttext}[1]{{\consolas{#1}}}
    20 
    39 
    21 \newcommand{\ZERO}{\mbox{\bf 0}}
    40 \newcommand{\ZERO}{\mathit{\bf 0}}
    22 \newcommand{\ONE}{\mbox{\bf 1}}
    41 \newcommand{\ONE}{\mathit{\bf 1}}
    23 \newcommand{\Der}{\textit{Der}}
    42 \newcommand{\Der}{\mathit{Der}}
    24 \newcommand{\der}{\textit{der}}
    43 \newcommand{\der}{\mathit{der}}
    25 \newcommand{\Ders}{\textit{Ders}}
    44 \newcommand{\Ders}{\mathit{Ders}}
    26 \newcommand{\ders}{\textit{ders}}
    45 \newcommand{\ders}{\mathit{ders}}
    27 \newcommand{\dn}{\stackrel{\mbox{\scriptsize def}}{=}}%
    46 \newcommand{\dn}{\stackrel{\mbox{\scriptsize def}}{=}}%
    28 \newcommand{\slidecaption}{}
    47 \newcommand{\slidecaption}{}
    29 
    48 
    30 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    49 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    31 % Frametitles
    50 % Frametitles
    32 
    51 
    33 \setbeamerfont{frametitle}{size={\LARGE}}
    52 \setbeamerfont{frametitle}{size={\LARGE}}
    34 \setbeamerfont{frametitle}{family={\fontspec{Hoefler Text Black}}}
    53 %\setbeamerfont{frametitle}{family={\fontspec{Hoefler Text Black}}}
       
    54 \setbeamerfont{frametitle}{family={\fontspec{Cronos Pro Bold Caption}}}
    35 \setbeamercolor{frametitle}{fg=ProcessBlue,bg=white}
    55 \setbeamercolor{frametitle}{fg=ProcessBlue,bg=white}
    36 
    56 
    37 \setbeamertemplate{frametitle}{%
    57 \setbeamertemplate{frametitle}{%
    38 \vskip 2mm  % distance from the top margin
    58 \vskip 2mm  % distance from the top margin
    39 \hskip -3mm % distance from left margin
    59 \hskip -3mm % distance from left margin