\ProvidesPackage{beamerthemeshadow}[2003/11/15 ver 1.00] \NeedsTeXFormat{LaTeX2e}[1995/12/01] % Copyright 2003 by Till Tantau . % % This program can be redistributed and/or modified under the terms % of the LaTeX Project Public License Distributed from CTAN % archives in directory macros/latex/base/lppl.txt. \mode \beamerboxesdeclarecolorscheme{title}{structure!75!black}{structure!75!black} \usetitlepagetemplate{ \vbox{} \vfill \begin{centering} \begin{beamerboxesrounded}[shadow=true,scheme=title]{} \begin{centering}\Large\color{white}\inserttitle\par% \normalsize\ifx\insertsubtitle\@empty\else\vskip0.25em\insertsubtitle\par\fi \end{centering} \end{beamerboxesrounded} \vskip1em\par \normalsize\insertauthor\vskip1em\par {\scriptsize\insertinstitute\par}\par\vskip1em \insertdate\par\vskip1.5em \inserttitlegraphic\par \end{centering} \vfill } \useframetitletemplate{% \nointerlineskip\vskip-2pt%{\tiny\vskip.35em}\vskip-2pt% \hbox{\leavevmode \advance\beamer@leftmargin by -12bp% \advance\beamer@rightmargin by -12bp% \beamer@tempdim=\textwidth% \advance\beamer@tempdim by \beamer@leftmargin% \advance\beamer@tempdim by \beamer@rightmargin% \hskip-\Gm@lmargin\hbox{% \setbox\beamer@tempbox=\hbox{\begin{minipage}[b]{\paperwidth}% \vbox{}\vskip-1ex% \leftskip0.3cm% \rightskip0.3cm plus1fil\leavevmode \Large\color{white}\insertframetitle% \ifx\insertframesubtitle\@empty% \strut\par% \else \par{\footnotesize{\insertframesubtitle}\strut\par}% \fi% \nointerlineskip \vbox{}% \end{minipage}}% \color{structure!75!black}% \beamer@tempdim=\ht\beamer@tempbox% \advance\beamer@tempdim by 2pt% \begin{pgfpicture}{0pt}{0pt}{\paperwidth}{\beamer@tempdim} \pgfrect[clip]{\pgforigin}{\pgfpoint{\paperwidth}{\beamer@tempdim}} \pgfbox[left,base]{\pgfuseshading{frametitleshade}} \end{pgfpicture} %\vrule width\paperwidth height \beamer@tempdim% \hskip-\paperwidth% \box\beamer@tempbox% }% \hskip-\Gm@rmargin% }% \nointerlineskip \vskip-0.2pt \hbox to\textwidth{\hskip-\Gm@lmargin\pgfuseshading{topshade}\hskip-\Gm@rmargin} \vskip-2pt } \beamertemplateballitem \beamertemplatesolidbuttons \usesectionheadtemplate {\hfill\color{white}\tiny\textbf{\insertsectionhead}} {\hfill\color{white!50!black}\tiny\textbf{\insertsectionhead}} \usesubsectionheadtemplate {\color{white}\tiny\textbf{\insertsubsectionhead}} {\color{white!50!beamerstructure}\tiny\textbf{\insertsubsectionhead}} % Entries in table of contents \beamertemplatenumberedballsectiontoc \pgfdeclareverticalshading{topshade}{\paperwidth}{% color(0pt)=(averagebackgroundcolor); color(4pt)=(black!50!averagebackgroundcolor)} \pgfdeclarehorizontalshading{frametitleshade}{\paperheight}{% color(0pt)=(structure); color(\paperwidth)=(black)} \newdimen\tempdimen % Head \ifbeamer@compress \useheadtemplate{% \vbox{% \tiny% \setbox\beamer@linebox=\hbox to\paperwidth{% \insertsectionnavigationhorizontal{.5\paperwidth}{\hskip0pt plus1filll}{}% \insertsubsectionnavigationhorizontal{.5\paperwidth}{}{\hskip0pt plus1filll}\hfil}% \ht\beamer@linebox=2.625ex \dp\beamer@linebox=0pt \setbox\beamer@linebox=\vbox{\box\beamer@linebox\vskip1.125ex}% \hbox to\textwidth{% {\color{black}\hskip-\Gm@lmargin\vrule width.5\paperwidth height\ht\beamer@linebox \color{structure}\vrule width.5\paperwidth height\ht\beamer@linebox\hskip-\paperwidth\hskip\Gm@lmargin}% \hskip-\Gm@lmargin\box\beamer@linebox\hfill\hskip-\Gm@rmargin }% \vskip-0.2pt \hbox to\textwidth{\hskip-\Gm@lmargin\pgfuseshading{topshade}\hskip-\Gm@rmargin} \vskip-2pt }% } \else \useheadtemplate{% \vbox{% \tiny% \tempdimen=2.4375ex% \ifnum\beamer@subsectionmax<\beamer@sectionmax% \multiply\tempdimen by\beamer@sectionmax% \else% \multiply\tempdimen by\beamer@subsectionmax% \fi% \ifdim\tempdimen>0pt% \advance\tempdimen by 1.125ex% \setbox\beamer@linebox=\hbox to\paperwidth{% \vbox to \tempdimen{\vfil\insertsectionnavigation{.5\paperwidth}\vfil}% \vbox to \tempdimen{\vfil\insertsubsectionnavigation{.5\paperwidth}\vfil}\hfill}% \hbox to\textwidth{% {\color{black}\hskip-\Gm@lmargin\vrule width.5\paperwidth height\ht\beamer@linebox\color{structure}\vrule width.5\paperwidth height\ht\beamer@linebox\hskip-\paperwidth\hskip\Gm@lmargin}% \hskip-\Gm@lmargin\box\beamer@linebox\hfill\hskip-\Gm@rmargin% } \vskip-0.2pt% \fi% \hbox to\textwidth{\hskip-\Gm@lmargin\pgfuseshading{topshade}\hskip-\Gm@rmargin} \vskip-2pt }% } \fi % Footline \usefoottemplate{% \vbox{\tiny% \hbox{% \setbox\beamer@linebox=\hbox to\paperwidth{% \hbox to.5\paperwidth{\hfill\tiny\color{white}\textbf{\insertshortauthor}\hskip.3cm}% \hbox to.5\paperwidth{\hskip.3cm\tiny\color{white}\textbf{\insertshorttitle}\hfill}\hfill}% \ht\beamer@linebox=2.625ex% \dp\beamer@linebox=0pt% \setbox\beamer@linebox=\vbox{\box\beamer@linebox\vskip1.125ex}% \color{black}\hskip-\Gm@lmargin\vrule width.5\paperwidth height\ht\beamer@linebox\color{structure}\vrule width.5\paperwidth height\ht\beamer@linebox\hskip-\paperwidth% \hbox{\box\beamer@linebox\hfill}\hfill\hskip-\Gm@rmargin}}} \beamertemplateshadowblocks \renewcommand{\beamertemplatesetupshadings}{ \beamerboxessetupshadows \beamerboxesdeclarecolorscheme{block}{structure!75!black}{structure!10!averagebackgroundcolor} \beamerboxesdeclarecolorscheme{alert}{alert!75!averagebackgroundcolor}{alert!10!averagebackgroundcolor} \beamerboxesdeclarecolorscheme{example}{beamerexample!75!averagebackgroundcolor}{beamerexample!10!averagebackgroundcolor} } \mode