Slides/document/beamerthemeplaincu.sty
author Christian Urban <christian dot urban at kcl dot ac dot uk>
Fri, 13 Dec 2013 10:37:25 +1100
changeset 18 cfd4b8219c87
permissions -rw-r--r--
added CPP slides
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
18
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     1
%%\Providespackage{beamerthemeplainculight}[2003/11/07 ver 0.93]
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     2
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     3
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     4
% Copyright 2003 by Till Tantau <tantau@cs.tu-berlin.de>.
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     5
%
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     6
% This program can be redistributed and/or modified under the terms
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     7
% of the LaTeX Project Public License Distributed from CTAN
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     8
% archives in directory macros/latex/base/lppl.txt.
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     9
 
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    10
\newcommand{\slidecaption}{}
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    11
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    12
\mode<presentation>
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    13
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    14
\usepackage{fontspec}
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    15
\usefonttheme{serif}
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    16
\setmainfont{Hoefler Text}
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    17
\renewcommand\ttdefault{lmtt}
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    18
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    19
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    20
% comic fonts fonts
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    21
%\DeclareFontFamily{T1}{comic}{}%
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    22
%\DeclareFontShape{T1}{comic}{m}{n}{<->s*[.9]comic8t}{}%
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    23
%\DeclareFontShape{T1}{comic}{m}{it}{<->s*[.9]comic8t}{}%
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    24
%\DeclareFontShape{T1}{comic}{m}{sc}{<->s*[.9]comic8t}{}%
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    25
%\DeclareFontShape{T1}{comic}{b}{n}{<->s*[.9]comicbd8t}{}%
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    26
%\DeclareFontShape{T1}{comic}{b}{it}{<->s*[.9]comicbd8t}{}%
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    27
%\DeclareFontShape{T1}{comic}{m}{sl}{<->ssub * comic/m/it}{}%
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    28
%\DeclareFontShape{T1}{comic}{b}{sc}{<->sub * comic/m/sc}{}%
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    29
%\DeclareFontShape{T1}{comic}{b}{sl}{<->ssub * comic/b/it}{}%
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    30
%\DeclareFontShape{T1}{comic}{bx}{n}{<->ssub * comic/b/n}{}%
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    31
%\DeclareFontShape{T1}{comic}{bx}{it}{<->ssub * comic/b/it}{}%
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    32
%\DeclareFontShape{T1}{comic}{bx}{sc}{<->sub * comic/m/sc}{}%
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    33
%\DeclareFontShape{T1}{comic}{bx}{sl}{<->ssub * comic/b/it}{}%
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    34
%
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    35
%\renewcommand{\rmdefault}{comic}%
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    36
%\renewcommand{\sfdefault}{comic}%
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    37
\renewcommand{\mathfamilydefault}{cmr}% mathfont should be still the old one
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    38
%
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    39
\DeclareMathVersion{bold}% mathfont needs to be bold
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    40
\DeclareSymbolFont{operators}{OT1}{cmr}{b}{n}%
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    41
\SetSymbolFont{operators}{bold}{OT1}{cmr}{b}{n}%
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    42
\DeclareSymbolFont{letters}{OML}{cmm}{b}{it}%
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    43
\SetSymbolFont{letters}{bold}{OML}{cmm}{b}{it}%
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    44
\DeclareSymbolFont{symbols}{OMS}{cmsy}{b}{n}%
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    45
\SetSymbolFont{symbols}{bold}{OMS}{cmsy}{b}{n}%
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    46
\DeclareSymbolFont{largesymbols}{OMX}{cmex}{b}{n}%
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    47
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    48
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    49
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    50
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    51
% Frametitles
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    52
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    53
\setbeamerfont{frametitle}{size={\LARGE}}
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    54
\setbeamerfont{frametitle}{family={\fontspec{Hoefler Text Black}}}
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    55
%\setbeamerfont{frametitle}{family={\usefont{T1}{ptm}{b}{n}}
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    56
\setbeamercolor{frametitle}{fg=ProcessBlue,bg=white}
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    57
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    58
\setbeamertemplate{frametitle}{%
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    59
\vskip 2mm  % distance from the top margin
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    60
\hskip -3mm % distance from left margin
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    61
\vbox{%
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    62
\begin{minipage}{1.05\textwidth}%
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    63
\centering%
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    64
\insertframetitle%
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    65
\end{minipage}}%
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    66
}
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    67
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    68
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    69
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    70
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    71
% Foot
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    72
%
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    73
\setbeamertemplate{navigation symbols}{} 
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    74
\usefoottemplate{%
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    75
\vbox{%
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    76
  \tinyline{%
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    77
    \tiny\hfill\textcolor{gray!50}{\slidecaption{} --
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    78
      p.~\insertframenumber/\inserttotalframenumber}}}%
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    79
}
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    80
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    81
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    82
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    83
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    84
\beamertemplateballitem
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    85
\setlength\leftmargini{2mm}
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    86
\setlength\leftmarginii{0.6cm}
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    87
\setlength\leftmarginiii{1.5cm}
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    88
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    89
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    90
% blocks
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    91
%\definecolor{cream}{rgb}{1,1,.65}
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    92
\definecolor{cream}{rgb}{1,1,.8}
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    93
\setbeamerfont{block title}{size=\normalsize}
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    94
\setbeamercolor{block title}{fg=black,bg=cream}
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    95
\setbeamercolor{block body}{fg=black,bg=cream}
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    96
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    97
\setbeamertemplate{blocks}[rounded][shadow=true]
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    98
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    99
\setbeamercolor{boxcolor}{fg=black,bg=cream}
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   100
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   101
\mode
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   102
<all>
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   103
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   104
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   105
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   106
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   107
cfd4b8219c87 added CPP slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   108