Anonymous avatar Anonymous committed 2cd3240

added shadow theme

Comments (0)

Files changed (7)

+2003-11-20 Till Tantau <tantau@users.sourceforge.net>
+
+	Version 1.02:
+	- Added missing shadow theme file.
+	- Documented changes of syntax of \transxxxx commands.
+	
 2003-11-15 Till Tantau <tantau@users.sourceforge.net>
 
+	Version 1.01:
 	- Added shadow theme.
 	- Added masked versions of images.
 	- Added shadow blocks.
+	- Added another example.
 
 2003-11-12 Till Tantau <tantau@users.sourceforge.net>
 
 beamer/art/beamericonbook.tex
 beamer/AUTHORS
 beamer/beamer.cls
+beamer/beamerboxes.sty
 beamer/beamericonarticle.eps
 beamer/beamericonarticle.pdf
 beamer/beamericonarticle.20.eps
 beamer/beamerthemeclassic.sty
 beamer/beamerthemelined.sty
 beamer/beamerthemeplain.sty
+beamer/beamerthemeshadow.sty
 beamer/beamerthemesidebardark.sty
 beamer/beamerthemesidebardarktab.sty
 beamer/beamerthemesidebar.sty
 beamer/examples/beamerexample3.tex
 beamer/examples/beamerexample4.pdf
 beamer/examples/beamerexample4.tex
+beamer/examples/beamerexample5.pdf
+beamer/examples/beamerexample5.tex
 beamer/examples/computer.jpg
 beamer/examples/computerred.jpg
+beamer/examples/computer.mask.jpg
 beamer/examples/g4.jpg
 beamer/examples/g4red.jpg
+beamer/examples/g4.mask.jpg
 beamer/examples/ram.jpg
+beamer/examples/ram.mask.jpg
 beamer/examples/tu-logo.jpg
+beamer/examples/ur-logo.jpg
+beamer/examples/tu-logo.mask.jpg
+beamer/examples/ur-logo.mask.jpg
 beamer/FILES
 beamer/INSTALL
 beamer/README
 \NeedsTeXFormat{LaTeX2e}[1995/12/01]
 \ProvidesClass{beamer}
-[2003/11/12 v1.00-dev Class for Typesetting a Beamer Presentation]
+[2003/11/20 v1.02 Class for Typesetting a Beamer Presentation]
 
 % Copyright 2003 by Till Tantau <tantau@users.sourceforge.net>.
 %

beamertemplates.sty

   \pgfaliasshading{smallsphere!10!averagebackgroundcolor}{smallsphereshaded}
   \pgfaliasshading{smallsphere!5!averagebackgroundcolor}{smallsphereshaded}
   \pgfaliasshading{smallsphere!2!averagebackgroundcolor}{smallsphereshaded}  
+  \pgfaliasshading{smallsphere!20!averagebackgroundcolor,15!averagebackgroundcolor}{smallsphereshaded}
+  \pgfaliasshading{smallsphere!15!averagebackgroundcolor,15!averagebackgroundcolor}{smallsphereshaded}
+  \pgfaliasshading{smallsphere!10!averagebackgroundcolor,15!averagebackgroundcolor}{smallsphereshaded}
+  \pgfaliasshading{smallsphere!5!averagebackgroundcolor,15!averagebackgroundcolor}{smallsphereshaded}
+  \pgfaliasshading{smallsphere!2!averagebackgroundcolor,15!averagebackgroundcolor}{smallsphereshaded}  
   \useitemizeitemtemplate{\raise0.2pt\hbox{\pgfuseshading{bigsphere}}}
   \usesubitemizeitemtemplate{\raise0.2pt\hbox{\pgfuseshading{smallsphere}}}
   }

beamerthemeshadow.sty

+\ProvidesPackage{beamerthemeshadow}[2003/11/15 ver 1.00]
+\NeedsTeXFormat{LaTeX2e}[1995/12/01]
+
+% Copyright 2003 by Till Tantau <tantau@cs.tu-berlin.de>.
+%
+% 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.
+
+\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\end{centering}
+      \end{beamerboxesrounded}
+      \vskip1em\par
+      \normalsize\insertauthor\vskip1em\par
+      {\scriptsize\insertinstitute\par}\par\vskip1em
+      \insertdate\par\vskip1.5em
+      \inserttitlegraphic
+    \end{centering}
+    \vfill
+  }
+  
+\useframetitletemplate{%
+  \nointerlineskip
+  \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}%
+          \vskip2pt%
+          \leftskip0.3cm%
+          \rightskip0.3cm plus1fil\leavevmode
+          \color{structure}\Large\color{white}\insertframetitle\strut\par
+          \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
+
+                                % Sections in headline
+\usesectionheadtemplate
+  {\hfill\color{white}\tiny\textbf{\insertsectionhead}}
+  {\hfill\color{white!50!black}\tiny\textbf{\insertsectionhead}}
+
+\usesubsectionheadtemplate
+  {\color{white}\tiny\textbf{\insertsubsectionhead}}
+  {\color{white!50!structure}\tiny\textbf{\insertsubsectionhead}}
+
+                                % Entries in table of contents
+\usetemplatetocsection[50!averagebackgroundcolor]
+{{\large\color{structure}\inserttocsection}}
+
+                                % Entries in table of contents
+\usetemplatetocsubsection[50!averagebackgroundcolor]
+{\leavevmode\leftskip=1.5em\color{black}\inserttocsubsection\par}
+
+\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{%
+    \setbox\linebox=\hbox to\paperwidth{%
+      \insertsectionnavigationhorizontal{.5\paperwidth}{\hskip0pt plus1filll}{}%
+      \insertsubsectionnavigationhorizontal{.5\paperwidth}{}{\hskip0pt plus1filll}\hfil}%
+    \ht\linebox=7pt
+    \dp\linebox=0pt
+    \setbox\linebox=\vbox{\box\linebox\vskip3pt}%
+    \hbox to\textwidth{%
+      {\color{black}\hskip-\Gm@lmargin\vrule width.5\paperwidth height\ht\linebox
+      \color{structure}\vrule width.5\paperwidth height\ht\linebox\hskip-\paperwidth\hskip\Gm@lmargin}%
+    \hskip-\Gm@lmargin\box\linebox\hfill\hskip-\Gm@rmargin
+    }%
+    \vskip-0.1pt
+    \hbox to\textwidth{\hskip-\Gm@lmargin\pgfuseshading{topshade}\hskip-\Gm@rmargin}
+    \vskip-2pt
+  }%
+}
+\else
+\useheadtemplate{%
+  \vbox{%
+    \tempdimen=6.5pt%
+    \ifnum\subsection@max<\section@max%
+    \multiply\tempdimen by\section@max%
+    \else%
+    \multiply\tempdimen by\subsection@max%
+    \fi%
+    \advance\tempdimen by 3pt%
+    \setbox\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\linebox\color{structure}\vrule width.5\paperwidth
+        height\ht\linebox\hskip-\paperwidth\hskip\Gm@lmargin}%
+    \hskip-\Gm@lmargin\box\linebox\hfill\hskip-\Gm@rmargin%
+    }
+    \vskip-0.1pt
+    \hbox to\textwidth{\hskip-\Gm@lmargin\pgfuseshading{topshade}\hskip-\Gm@rmargin}
+    \vskip-2pt
+  }%
+}
+\fi
+                                % Footline
+\usefoottemplate{%
+  \hbox{%
+    \setbox\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\linebox=7pt%
+    \dp\linebox=0pt%
+    \setbox\linebox=\vbox{\box\linebox\vskip3pt}%
+    \color{black}\hskip-\Gm@lmargin\vrule width.5\paperwidth
+    height\ht\linebox\color{structure}\vrule width.5\paperwidth
+    height\ht\linebox\hskip-\paperwidth% 
+    \hbox{\box\linebox\hfill}\hfill\hskip-\Gm@rmargin}}
+
+\def\logo#1{%
+  \def\insertlogo{#1}%
+  \usefoottemplate{%
+    \vbox{%
+      \hbox to\textwidth{\hfill%
+        \setbox\logobox=\hbox{\raise 10pt\hbox{\insertlogo}\llap{\insertnavigationsymbols}}\ht\logobox=0pt%
+        \box\logobox\hskip-\Gm@rmargin\hskip0.1cm}\vskip2pt%
+    \hbox{%
+    \setbox\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\linebox=7pt%
+    \dp\linebox=0pt%
+    \setbox\linebox=\vbox{\box\linebox\vskip3pt}%
+    \color{black}\hskip-\Gm@lmargin\vrule width.5\paperwidth
+    height\ht\linebox\color{structure}\vrule width.5\paperwidth
+    height\ht\linebox\hskip-\paperwidth% 
+    \hbox{\box\linebox\hfill}\hfill\hskip-\Gm@rmargin}}}}
+
+
+\beamertemplateshadowblocks
+\beamerboxesdeclarecolorscheme{block}{structure!75!black}{structure!10!averagebackgroundcolor}
Add a comment to this file

doc/beameruserguide.pdf

Binary file modified.

doc/beameruserguide.tex

 
 \begin{document}
 
-\title{User's Guide to the Beamer Class, Version 1.00-dev\\
+\title{User's Guide to the Beamer Class, Version 1.02\\
 \Large\href{http://latex-beamer.sourceforge.net}{\texttt{http://latex-beamer.sourceforge.net}}}
 \author{Till Tantau\\
   \href{mailto:tantau@users.sourceforge.net}{\texttt{tantau@users.sourceforge.net}}}
 slide is shown, it should be  shown in a ``dissolved way.''
 
 In the following, the different commands for creating transitional
-effects are listed.
-
-\begin{command}{\transblindshorizontal}
+effects are listed. All of them take an optional argument that may
+contain a list of \meta{key}|=|\meta{value} pairs. The following
+options are possible:
+
+\begin{itemize}
+\item
+  |duration=|\meta{seconds}. Specifies the number of \meta{seconds}
+  the transition effect needs. Default is one second, but often a
+  shorter one (like 0.2 seconds) is more appropriate. Viewer
+  applications, especially Acrobat, may interprete this option in
+  slightly strange ways.
+\item
+  |direction=|\meta{degree}. For ``directed'' effects, this option
+  specifies the effect's direction. Allowed values are |0|, |90|,
+  |180|, |270|, and for the glitter effect also |315|.
+\end{itemize}
+
+
+\begin{command}{\transblindshorizontal\sarg{overlay specification}\oarg{options}}
   Show the slide as if horizontal blinds where pulled away.
   \example|\transblindshorizontal|
 \end{command}
   
-\begin{command}{\transblindsvertical}
+\begin{command}{\transblindsvertical\sarg{overlay specification}\oarg{options}}
   Show the slide as if vertical blinds where pulled away.
   \example|\transblindsvertical<2,3>|
 \end{command}
   
-\begin{command}{\transboxin}
+\begin{command}{\transboxin\sarg{overlay specification}\oarg{options}}
   Show the slide by moving to the center from all four sides.
   \example|\transboxin<1>|
 \end{command}
   
-\begin{command}{\transboxout}
+\begin{command}{\transboxout\sarg{overlay specification}\oarg{options}}
   Show the slide by showing more and more of a rectangular area that
   is centered on the slide center.
   \example|\transboxout|
 \end{command}
  
-\begin{command}{\transdissolve}
+\begin{command}{\transdissolve\sarg{overlay specification}\oarg{options}}
   Show the slide by slowly dissolving what was shown before.
-  \example|\transdissolve|
+  \example|\transdissolve[duration=0.2]|
 \end{command}
   
-\begin{command}{\transglitter\marg{degree}}
+\begin{command}{\transglitter\sarg{overlay specification}\oarg{options}}
   Show the slide with a glitter effect that sweeps in the specified
-  direction. The \meta{degree} must be a multiple of 90.
-  \example|\transglitter<2-3>{90}|
+  direction.
+  \example|\transglitter<2-3>[direction=90]|
 \end{command}
   
-\begin{command}{\transsplitverticalin}
+\begin{command}{\transsplitverticalin\sarg{overlay specification}\oarg{options}}
   Show the slide by sweeping two vertical lines from the sides inward.
   \example|\transsplitverticalin|
 \end{command}
   
-\begin{command}{\transsplitverticalout}
+\begin{command}{\transsplitverticalout\sarg{overlay specification}\oarg{options}}
   Show the slide by sweeping two vertical lines from the center outward.
   \example|\transsplitverticalout|
 \end{command}
   
-\begin{command}{\transsplithorizontalin}
+\begin{command}{\transsplithorizontalin\sarg{overlay specification}\oarg{options}}
   Show the slide by sweeping two horizontal lines from the sides inward.
   \example|\transsplithorizontalin|
 \end{command}
   
-\begin{command}{\transsplithorizontalout}
+\begin{command}{\transsplithorizontalout\sarg{overlay specification}\oarg{options}}
   Show the slide by sweeping two horizontal lines from the center outward.
   \example|\transsplithorizontalout|
 \end{command}
  
-\begin{command}{\transwipe\marg{degree}}
+\begin{command}{\transwipe\sarg{overlay specification}\oarg{options}}
   Show the slide by sweeping a single line in the specified direction,
-  thereby ``wiping out'' the previous contents. The \meta{degree} must be a multiple of 90.
-  \example|\transwipe{90}|
-\end{command}
-
+  thereby ``wiping out'' the previous contents.
+  \example|\transwipe[direction=90]|
+\end{command}
 
 
 You can also specify how \emph{long} a given slide should be shown,
 using the following overlay-specification-aware command:
 
-\begin{command}{\transduration\marg{number of seconds}}
+\begin{command}{\transduration\sarg{overlay specification}\marg{number of seconds}}
   In full screen mode, show the slide for \meta{number of seconds}.
   In zero is specified, the slide is shown as short as possible. This
   can be used to create interesting pseudo-animations.
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.