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