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