Slides/document/beamerthemeplaincu.sty
changeset 16 663816814e3e
child 391 5c283ecefda6
equal deleted inserted replaced
15:7f64d98124a8 16:663816814e3e
       
     1 \ProvidesPackage{beamerthemeplaincu}[2003/11/07 ver 0.93]
       
     2 \NeedsTeXFormat{LaTeX2e}[1995/12/01]
       
     3 
       
     4 % Copyright 2003 by Till Tantau <tantau@cs.tu-berlin.de>.
       
     5 %
       
     6 % This program can be redistributed and/or modified under the terms
       
     7 % of the LaTeX Project Public License Distributed from CTAN
       
     8 % archives in directory macros/latex/base/lppl.txt.
       
     9 
       
    10 \newcommand{\slidecaption}{}
       
    11 
       
    12 \mode<presentation>
       
    13 
       
    14 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
       
    15 % comic fonts fonts
       
    16 \DeclareFontFamily{T1}{comic}{}%
       
    17 \DeclareFontShape{T1}{comic}{m}{n}{<->s*[.9]comic8t}{}%
       
    18 \DeclareFontShape{T1}{comic}{m}{it}{<->s*[.9]comic8t}{}%
       
    19 \DeclareFontShape{T1}{comic}{m}{sc}{<->s*[.9]comic8t}{}%
       
    20 \DeclareFontShape{T1}{comic}{b}{n}{<->s*[.9]comicbd8t}{}%
       
    21 \DeclareFontShape{T1}{comic}{b}{it}{<->s*[.9]comicbd8t}{}%
       
    22 \DeclareFontShape{T1}{comic}{m}{sl}{<->ssub * comic/m/it}{}%
       
    23 \DeclareFontShape{T1}{comic}{b}{sc}{<->sub * comic/m/sc}{}%
       
    24 \DeclareFontShape{T1}{comic}{b}{sl}{<->ssub * comic/b/it}{}%
       
    25 \DeclareFontShape{T1}{comic}{bx}{n}{<->ssub * comic/b/n}{}%
       
    26 \DeclareFontShape{T1}{comic}{bx}{it}{<->ssub * comic/b/it}{}%
       
    27 \DeclareFontShape{T1}{comic}{bx}{sc}{<->sub * comic/m/sc}{}%
       
    28 \DeclareFontShape{T1}{comic}{bx}{sl}{<->ssub * comic/b/it}{}%
       
    29 %
       
    30 \renewcommand{\rmdefault}{comic}%
       
    31 \renewcommand{\sfdefault}{comic}%
       
    32 \renewcommand{\mathfamilydefault}{cmr}% mathfont should be still the old one
       
    33 %
       
    34 \DeclareMathVersion{bold}% mathfont needs to be bold
       
    35 \DeclareSymbolFont{operators}{OT1}{cmr}{b}{n}%
       
    36 \SetSymbolFont{operators}{bold}{OT1}{cmr}{b}{n}%
       
    37 \DeclareSymbolFont{letters}{OML}{cmm}{b}{it}%
       
    38 \SetSymbolFont{letters}{bold}{OML}{cmm}{b}{it}%
       
    39 \DeclareSymbolFont{symbols}{OMS}{cmsy}{b}{n}%
       
    40 \SetSymbolFont{symbols}{bold}{OMS}{cmsy}{b}{n}%
       
    41 \DeclareSymbolFont{largesymbols}{OMX}{cmex}{b}{n}%
       
    42 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
       
    43 
       
    44 
       
    45 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
       
    46 %                              % Title page  
       
    47 %\usetitlepagetemplate{
       
    48 %  \vbox{}
       
    49 %  \vfill
       
    50 %  \begin{centering}
       
    51 %    \Large\structure{\textrm{\textit{{\inserttitle}}}}
       
    52 %    \vskip1em\par
       
    53 %    \normalsize\insertauthor\vskip1em\par
       
    54 %    {\scriptsize\insertinstitute\par}\par\vskip1em
       
    55 %    \insertdate\par\vskip1.5em
       
    56 %    \inserttitlegraphic
       
    57 %  \end{centering}
       
    58 %  \vfill
       
    59 %  }
       
    60 
       
    61                                 % Part page  
       
    62 %\usepartpagetemplate{
       
    63 %  \begin{centering}
       
    64 %    \Large\structure{\textrm{\textit{\partname~\@Roman\c@part}}}
       
    65 %    \vskip1em\par
       
    66 %    \textrm{\textit{\insertpart}}\par
       
    67 %  \end{centering}
       
    68 %  }
       
    69 
       
    70 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
       
    71 % Frametitles
       
    72 \setbeamerfont{frametitle}{size={\huge}}
       
    73 \setbeamerfont{frametitle}{family={\usefont{T1}{ptm}{b}{n}}}
       
    74 \setbeamercolor{frametitle}{fg=gray,bg=white}
       
    75 
       
    76 \setbeamertemplate{frametitle}{%
       
    77 \vskip 2mm  % distance from the top margin
       
    78 \hskip -3mm % distance from left margin
       
    79 \vbox{%
       
    80 \begin{minipage}{1.05\textwidth}%
       
    81 \centering%
       
    82 \insertframetitle%
       
    83 \end{minipage}}%
       
    84 }
       
    85 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
       
    86 
       
    87 
       
    88 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
       
    89 % Foot
       
    90 %
       
    91 \setbeamertemplate{navigation symbols}{} 
       
    92 \usefoottemplate{%
       
    93 \vbox{%
       
    94   \tinyline{%
       
    95     \tiny\hfill\textcolor{gray!50}{\slidecaption{} --
       
    96       p.~\insertframenumber/\inserttotalframenumber}}}%
       
    97 }
       
    98 
       
    99 
       
   100 
       
   101 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
       
   102 \beamertemplateballitem
       
   103 \setlength\leftmargini{2mm}
       
   104 \setlength\leftmarginii{0.6cm}
       
   105 \setlength\leftmarginiii{1.5cm}
       
   106 
       
   107 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
       
   108 % blocks
       
   109 %\definecolor{cream}{rgb}{1,1,.65}
       
   110 \definecolor{cream}{rgb}{1,1,.8}
       
   111 \setbeamerfont{block title}{size=\normalsize}
       
   112 \setbeamercolor{block title}{fg=black,bg=cream}
       
   113 \setbeamercolor{block body}{fg=black,bg=cream}
       
   114 
       
   115 \setbeamertemplate{blocks}[rounded][shadow=true]
       
   116 
       
   117 \setbeamercolor{boxcolor}{fg=black,bg=cream}
       
   118 
       
   119 \mode
       
   120 <all>
       
   121 
       
   122 
       
   123 
       
   124 
       
   125 
       
   126