Slides/document/beamerthemeplaincudark.sty
author Christian Urban <urbanc@in.tum.de>
Wed, 24 Nov 2010 01:08:48 +0000
changeset 2580 6b3e8602edcf
parent 2352 f961a32eb0d9
permissions -rwxr-xr-x
implemented concrete suggestion of 3rd reviewer
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2351
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     1
\ProvidesPackage{beamerthemeplaincu}[2003/11/07 ver 0.93]
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     2
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     3
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     4
% Copyright 2003 by Till Tantau <tantau@cs.tu-berlin.de>.
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     5
%
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     6
% This program can be redistributed and/or modified under the terms
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     7
% of the LaTeX Project Public License Distributed from CTAN
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     8
% archives in directory macros/latex/base/lppl.txt.
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     9
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    10
\newcommand{\slidecaption}{}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    11
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    12
\mode<presentation>
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    13
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    14
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    15
% comic fonts fonts
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    16
\DeclareFontFamily{T1}{comic}{}%
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    17
\DeclareFontShape{T1}{comic}{m}{n}{<->s*[.9]comic8t}{}%
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    18
\DeclareFontShape{T1}{comic}{m}{it}{<->s*[.9]comic8t}{}%
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    19
\DeclareFontShape{T1}{comic}{m}{sc}{<->s*[.9]comic8t}{}%
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    20
\DeclareFontShape{T1}{comic}{b}{n}{<->s*[.9]comicbd8t}{}%
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    21
\DeclareFontShape{T1}{comic}{b}{it}{<->s*[.9]comicbd8t}{}%
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    22
\DeclareFontShape{T1}{comic}{m}{sl}{<->ssub * comic/m/it}{}%
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    23
\DeclareFontShape{T1}{comic}{b}{sc}{<->sub * comic/m/sc}{}%
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    24
\DeclareFontShape{T1}{comic}{b}{sl}{<->ssub * comic/b/it}{}%
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    25
\DeclareFontShape{T1}{comic}{bx}{n}{<->ssub * comic/b/n}{}%
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    26
\DeclareFontShape{T1}{comic}{bx}{it}{<->ssub * comic/b/it}{}%
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    27
\DeclareFontShape{T1}{comic}{bx}{sc}{<->sub * comic/m/sc}{}%
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    28
\DeclareFontShape{T1}{comic}{bx}{sl}{<->ssub * comic/b/it}{}%
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    29
%
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    30
\renewcommand{\rmdefault}{comic}%
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    31
\renewcommand{\sfdefault}{comic}%
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    32
\renewcommand{\mathfamilydefault}{cmr}% mathfont should be still the old one
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    33
%
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    34
\DeclareMathVersion{bold}% mathfont needs to be bold
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    35
\DeclareSymbolFont{operators}{OT1}{cmr}{b}{n}%
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    36
\SetSymbolFont{operators}{bold}{OT1}{cmr}{b}{n}%
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    37
\DeclareSymbolFont{letters}{OML}{cmm}{b}{it}%
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    38
\SetSymbolFont{letters}{bold}{OML}{cmm}{b}{it}%
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    39
\DeclareSymbolFont{symbols}{OMS}{cmsy}{b}{n}%
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    40
\SetSymbolFont{symbols}{bold}{OMS}{cmsy}{b}{n}%
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    41
\DeclareSymbolFont{largesymbols}{OMX}{cmex}{b}{n}%
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    42
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    43
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    44
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    45
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    46
% colours
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    47
\setbeamercolor{normal text}{fg=white}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    48
%%%\setbeamercolor{background canvas}{bg=black} 
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    49
\setbeamertemplate{background canvas}[vertical shading]
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    50
  [bottom=white!5!black,top=white!5!black,middle=white!25!black]
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    51
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    52
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    53
% Frametitles
2352
f961a32eb0d9 more on slides
Christian Urban <urbanc@in.tum.de>
parents: 2351
diff changeset
    54
\setbeamerfont{frametitle}{size={\LARGE}}
2351
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    55
\setbeamerfont{frametitle}{family={\usefont{T1}{ptm}{b}{n}}}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    56
\setbeamercolor{frametitle}{fg=white!80!black}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    57
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    58
\setbeamertemplate{frametitle}{%
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    59
\vskip 2mm  % distance from the top margin
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    60
\hskip -3mm % distance from left margin
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    61
\vbox{%
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    62
\begin{minipage}{1.05\textwidth}%
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    63
\centering%
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    64
\insertframetitle%
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    65
\end{minipage}}%
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    66
}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    67
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    68
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    69
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    70
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    71
% Foot
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    72
%
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    73
\setbeamertemplate{navigation symbols}{} 
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    74
\usefoottemplate{%
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    75
\vbox{%
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    76
  \tinyline{%
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    77
    \tiny\hfill\textcolor{gray!50}{\slidecaption{} --
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    78
      p.~\insertframenumber/\inserttotalframenumber}}}%
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    79
}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    80
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    81
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    82
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    83
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    84
%%\beamertemplateballitem
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    85
\setbeamertemplate{itemize items}[ball]
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    86
\setbeamercolor{item}{fg=red}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    87
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    88
\pgfdeclareradialshading[bg,parent.bg]{bigsphere}{\pgfpoint{-0.1849315ex}{.2260273ex}}%
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    89
{%
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    90
  color(0cm)=(bg!15);
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    91
  color(0.1643835ex)=(bg!75);
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    92
  color(0.3287671ex)=(bg!70!black);
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    93
  color(0.4520547ex)=(bg!50!black)}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    94
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    95
\pgfdeclareradialshading{bigspherered}{\pgfpoint{-0.1849315ex}{.2260273ex}}%
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    96
{%
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    97
  color(0cm)=(red!15);
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    98
  color(0.1643835ex)=(red!75);
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    99
  color(0.3287671ex)=(red!70!black);
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   100
  color(0.4520547ex)=(red!50!black)}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   101
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   102
\pgfdeclareradialshading[bg,parent.bg]{smallsphere}{\pgfpoint{-0.1479452ex}{0.18287671ex}}%
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   103
{%
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   104
  color(0cm)=(bg!15); 
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   105
  color(0.1315068ex)=(bg!75);
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   106
  color(0.2630136ex)=(bg!70!black);
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   107
  color(0.36164383ex)=(bg!50!black)}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   108
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   109
\setlength\leftmargini{2mm}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   110
\setlength\leftmarginii{0.6cm}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   111
\setlength\leftmarginiii{1.5cm}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   112
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   113
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   114
% blocks
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   115
%\definecolor{cream}{rgb}{1,1,.65}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   116
\definecolor{cream}{rgb}{1,1,.8}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   117
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   118
\setbeamerfont{block title}{size=\normalsize}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   119
\setbeamercolor{block title}{fg=black,bg=cream}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   120
\setbeamercolor{block body}{fg=black,bg=cream}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   121
\setbeamertemplate{blocks}[rounded][shadow=true]
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   122
\setbeamercolor{boxcolor}{fg=red,bg=cream}
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   123
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   124
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   125
% 
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   126
% Boxed environment with semi-transparent shadow. 
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   127
% 
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   128
\newlength{\boxw} 
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   129
\newlength{\boxh} 
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   130
\newlength{\shadowsize} 
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   131
\newlength{\boxroundness} 
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   132
\newlength{\tmpa} 
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   133
\newsavebox{\shadowblockbox} 
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   134
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   135
\setlength{\shadowsize}{6pt} 
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   136
\setlength{\boxroundness}{3pt} 
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   137
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   138
\newenvironment{shadowblock}[1]% 
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   139
{\begin{lrbox}{\shadowblockbox}\begin{minipage}{#1}}% 
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   140
{\end{minipage}\end{lrbox}% 
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   141
\settowidth{\boxw}{\usebox{\shadowblockbox}}% 
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   142
\settodepth{\tmpa}{\usebox{\shadowblockbox}}% 
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   143
\settoheight{\boxh}{\usebox{\shadowblockbox}}% 
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   144
\addtolength{\boxh}{\tmpa}% 
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   145
\begin{tikzpicture} 
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   146
    \addtolength{\boxw}{\boxroundness * 2} 
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   147
    \addtolength{\boxh}{\boxroundness * 2} 
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   148
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   149
    \foreach \x in {0,.05,...,1} 
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   150
    { 
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   151
        \setlength{\tmpa}{\shadowsize * \real{\x}} 
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   152
        \fill[xshift=\shadowsize - 1pt,yshift=-\shadowsize + 1pt,
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   153
              black,opacity=.04,rounded corners=\boxroundness] 
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   154
            (\tmpa, \tmpa) rectangle +(\boxw - \tmpa - \tmpa, \boxh - \tmpa - \tmpa); 
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   155
    } 
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   156
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   157
    \filldraw[fill=cream, draw=black, rounded corners=\boxroundness] 
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   158
             (0, 0) rectangle (\boxw, \boxh); 
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   159
    \draw node[xshift=\boxroundness,yshift=\boxroundness,inner sep=0pt,
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   160
               outer sep=0pt,anchor=south west] (0,0) {\usebox{\shadowblockbox}}; 
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   161
\end{tikzpicture}} 
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   162
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   163
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   164
\mode
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   165
<all>
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   166
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   167
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   168
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   169
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   170
842969a598f2 added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   171