1. Vedran Miletić
  2. beamer

Commits

Till Tantau  committed 878b93a

*** empty log message ***

  • Participants
  • Parent commits 81bb674
  • Branches default

Comments (0)

Files changed (15)

File base/beamerbaseauxtemplates.sty

View file
  • Ignore whitespace
     \vfill%
     \llap{\normalcolor\insertlogo\hskip0.1cm}%
     \vskip2pt%
-    \llap{\insertnavigationsymbols\hskip0.1cm}%
+    \llap{\usebeamertemplate***{navigation symbols}\hskip0.1cm}%
     \vskip2pt}
 }
 
 
 
 
-%
-% Commands for making covered items transparent
-%
-\newcommand{\beamertemplatetransparentcovereddynamic}{
-  \beamersetuncovermixins
-  {\opaqueness<1>{15}\opaqueness<2>{10}\opaqueness<3>{5}\opaqueness<4->{2}}%
-  {\opaqueness<1>{15}\opaqueness<2>{10}\opaqueness<3>{5}\opaqueness<4->{2}}}
-
-\newcommand{\beamertemplatetransparentcovereddynamicmedium}{
-  \beamersetuncovermixins
-  {\opaqueness<1>{10}\opaqueness<2->{5}}%
-  {\opaqueness<1>{10}\opaqueness<2>{5}}}
-
-\newcommand{\beamertemplatetransparentcovered}{
-  \beamersetuncovermixins%
-  {\opaqueness<1->{15}}
-  {\opaqueness<1->{15}}}
-
-\newcommand{\beamertemplatetransparentcoveredmedium}{
-  \beamersetuncovermixins%
-  {\opaqueness<1->{10}}
-  {\opaqueness<1->{10}}}
-
-\newcommand{\beamertemplatetransparentcoveredhigh}{
-  \beamersetuncovermixins%
-  {\opaqueness<1->{5}}
-  {\opaqueness<1->{5}}}
-
-\newcommand{\beamertemplatetransparentcoveredhighest}{
-  \beamersetuncovermixins%
-  {\opaqueness<1->{2}}
-  {\opaqueness<1->{2}}}
-
-
-\mode
-<article>
-{
-  \def\beamertemplatetransparentcovereddynamic{}
-  \def\beamertemplatetransparentcovereddynamicmedium{}
-  \def\beamertemplatetransparentcovered{}
-  \def\beamertemplatetransparentcoveredmedium{}
-  \def\beamertemplatetransparentcoveredhigh{}
-  \def\beamertemplatetransparentcoveredhighest{}
-}
-
-
-
 
 %
 % Buttons
 \newdimen\beamer@blockheadheight%
 
 
+\defbeamertemplate{navigation symbols}{only frame symbol}
+{\insertframenavigationsymbol}
 
-\newcommand{\beamertemplatenavigationsymbolsempty}{
-  \usenavigationsymbolstemplate{}}
-
-\newcommand{\beamertemplatenavigationsymbolsframe}{
-  \usenavigationsymbolstemplate{\insertframenavigationsymbol}}
-
-\newcommand{\beamertemplatenavigationsymbolsvertical}{%
-  \usenavigationsymbolstemplate{
+\defbeamertemplate{navigation symbols}{vertical}
+{%
   \vbox{%
   \hbox{\insertslidenavigationsymbol}
   \hbox{\insertframenavigationsymbol}
   \hbox{\insertsubsectionnavigationsymbol}
   \hbox{\insertsectionnavigationsymbol}
   \hbox{\insertdocnavigationsymbol}
-  \hbox{\insertbackfindforwardnavigationsymbol}}}}
+  \hbox{\insertbackfindforwardnavigationsymbol}}%
+}
 
-\newcommand{\beamertemplatenavigationsymbolshorizontal}{%
-  \usenavigationsymbolstemplate{\hbox{%
-  \hbox{\insertslidenavigationsymbol}
-  \hbox{\insertframenavigationsymbol}
-  \hbox{\insertsubsectionnavigationsymbol}
-  \hbox{\insertsectionnavigationsymbol}
-  \hbox{\insertdocnavigationsymbol}
-  \hbox{\insertbackfindforwardnavigationsymbol}}}}
+\defbeamertemplatealias{navigation symbols}{horizontal}{default}
+
 
 
 %
 % Theorem templates
 %
 
-\newcommand\beamertemplatetheoremsamslike{
-  \usetheoremtemplate{\begin{\inserttheoremblockenv}
+\defbeamertemplate{theorem begin}{ams style}
+{%
+  \begin{\inserttheoremblockenv}
     {%
       \inserttheoremheadfont
       \inserttheoremname
       \ifx\inserttheoremaddition\@empty\else\ (\inserttheoremaddition)\fi%
       \inserttheorempunctuation
     }%
-  }{\end{\inserttheoremblockenv}}
 }
 
-\newcommand\beamertemplatetheoremsnumbered{
-  \usetheoremtemplate{%
-    \begin{\inserttheoremblockenv}
+\defbeamertemplate{theorem end}{ams style}
+{\end{\inserttheoremblockenv}}
+
+
+\defbeamertemplate{theorem begin}{numbered}
+{%
+  \begin{\inserttheoremblockenv}
     {%
       \inserttheoremname
       \inserttheoremnumber
       \ifx\inserttheoremaddition\@empty\else\ (\inserttheoremaddition)\fi%
     }%
-  }{\end{\inserttheoremblockenv}}
-}
-\newcommand\beamertemplatetheoremsunnumbered{
-  \usetheoremtemplate{%
-    \begin{\inserttheoremblockenv}
-    {%
-      \inserttheoremname
-      \ifx\inserttheoremaddition\@empty\else\ (\inserttheoremaddition)\fi%
-    }%
-  }{\end{\inserttheoremblockenv}}
 }
 
-\newcommand\beamertemplatetheoremssimple{
-  \usetheoremtemplate{%
-    \normalfont
-    \begin{\inserttheoremblockenv}
-    {%
-      \inserttheoremname
-      \ifx\inserttheoremaddition\@empty\else\ (\inserttheoremaddition)\fi%
-    }%
-  }{\end{\inserttheoremblockenv}}
+\defbeamertemplate{theorem end}{numbered}
+{\end{\inserttheoremblockenv}}
+
+
+\defbeamertemplate{theorem begin}{normal font}
+{
+  \normalfont
+  \begin{\inserttheoremblockenv}
+  {%
+    \inserttheoremname
+    \ifx\inserttheoremaddition\@empty\else\ (\inserttheoremaddition)\fi%
+  }%
 }
 
+\defbeamertemplate{theorem end}{normal font}
+{\end{\inserttheoremblockenv}}
 
 
 

File base/beamerbasecolor.sty

View file
  • Ignore whitespace
 
 % compatibility:
 
-\def\beamersetaveragebackground#1{\setbeamercolor{normal text}{bg=#1}}
-
 \AtBeginDocument{
   \colorlet{structure}{structure.fg}
   \colorlet{beamerstructure}{structure.fg}

File base/beamerbasecompatibility.sty

View file
  • Ignore whitespace
 \def\beamer@usefoots{\setbeamertemplate{footline}}
 \def\usecaptiontemplate{\setbeamertemplate{caption}}
 \def\insertblockname{\insertblocktitle}
-
-
-
+\newcommand\usetheoremtemplate[2]{%
+  \setbeamertemplate{theorem begin}{#1}
+  \setbeamertemplate{theorem end}{#2}}
+\newcommand\useprooftemplate[2]{
+  \setbeamertemplate{proof begin}{#1}
+  \setbeamertemplate{proof end}{#2}}
+\def\useqedsymboltemplate{\setbeamertemplate{qed symbol}}
+\newcommand{\BeispielInline}[1]{{\usebeamercolor[fg]{example text}Beispiel: \ignorespaces#1}}
+\newcommand{\ExampleInline}[1]{{\usebeamercolor[fg]{example text}Example: \ignorespaces#1}}
+\def\usenavigationsymbolstemplate{\setbeamertemplate{navigation symbols}}
+\def\insertnavigationsymbols{\usebeamertemplate***{navigation symbols}}
+\def\beamersetaveragebackground#1{\setbeamercolor{normal text}{bg=#1}}
 
 \def\beamertemplatedefaulttoc{\setbeamertemplate{table of contents}[default]}
 \def\beamertemplatenumberedsubsectiontoc{\setbeamertemplate{table of contents}[subsections numbered]}
 \def\beamertemplatefootpagenumber{\setbeamertemplate{footline}[page number]}
 \def\beamertemplatecaptionownline{\setbeamertemplate{caption}[caption name own line]}
 \def\beamertemplatecaptionnwithnumber{\setbeamertemplate{caption}[numbered]}
-\def\beamertemplateroundedblocks{\setbeamertemplate{blocks}{rounded}}
+\def\beamertemplateroundedblocks{\setbeamertemplate{blocks}[rounded]}
+\def\beamertemplatetheoremsunnumbered{\setbeamertemplate{theorems}[default]}
+\def\beamertemplatetheoremsnumbered{\setbeamertemplate{theorems}[numbered]}
+\def\beamertemplatetheoremsamslike{\setbeamertemplate{theorems}[ams style]}
+\def\beamertemplatetheoremssimple{\setbeamertemplate{theorems}[normal font]}
+\def\beamertemplatenavigationsymbolsempty{\setbeamertemplate{navigation symbols}{}}
+\def\beamertemplatenavigationsymbolsframe{\setbeamertemplate{navigation symbols}[only frame symbol]}
+\def\beamertemplatenavigationsymbolsvertical{\setbeamertemplate{navigation symbols}[vertical]}
+\def\beamertemplatenavigationsymbolshorizontal{\setbeamertemplate{navigation symbols}[horizontal]}
+
+
 
 \mode
 <all>
   \newcommand{\beamertemplatearticlebibitems}{\setbeamertemplate{bibliography item}[article]}
   \newcommand{\beamertemplatetextbibitems}{\setbeamertemplate{bibliography item}[text]}
   \newcommand{\beamertemplatearrowbibitems}{\setbeamertemplate{bibliography item}[triangle]}  
+
+  \def\beamertemplatetransparentcovereddynamic{\setbeamercovered{highly dynamic}}
+  \def\beamertemplatetransparentcovereddynamicmedium{\setbeamercovered{dynamic}}
+  \def\beamertemplatetransparentcovered{\setbeamercovered{transparent}}
+  \def\beamertemplatetransparentcoveredmedium{\setbeamercovered{transparent=10}}
+  \def\beamertemplatetransparentcoveredhigh{\setbeamercovered{transparent=5}}
+  \def\beamertemplatetransparentcoveredhighest{\setbeamercovered{transparent=2}}
+  \def\beamersetuncovermixins#1#2{\setbeamercovered{still covered={#1},again covered={#2}}}
 }
 
 \mode

File base/beamerbaseframecomponents.sty

View file
  • Ignore whitespace
     \endgroup%
   }
   \def\@oddfoot{\normalcolor{\hypertarget{Navigation\the\c@page}{}\hfil%
-    \setbox\beamer@tempbox=\hbox{{\insertnavigationsymbols}\hskip-\Gm@lmargin\hskip2pt}%
+    \setbox\beamer@tempbox=\hbox{\usebeamertemplate***{navigation symbols}\hskip-\Gm@lmargin\hskip2pt}%
     \ht\beamer@tempbox=0pt%
     \dp\beamer@tempbox=0pt%
     \box\beamer@tempbox}}

File base/beamerbasenavigation.sty

View file
  • Ignore whitespace
 
 \def\insertslidenavigationsymbol{%
   \begin{pgfpicture}{0pt}{-1.5pt}{20pt}{5.5pt}
+    \pgfuseobject{beamerslidenavstrong}%
     \usebeamercolor[fg]{navigation symbols dimmed}
     \pgfuseobject{beamerslidenavlight}%
-    \usebeamercolor[fg]{navigation symbols}
-    \pgfuseobject{beamerslidenavstrong}%
   \end{pgfpicture}\kern-20pt%
   \hyperlinkslideprev{\beamer@linkspace{6pt}}%
   \Acrobatmenu{GoToPage}{\beamer@linkspace{8pt}}%
 
 \def\insertframenavigationsymbol{%
   \begin{pgfpicture}{0pt}{-1.5pt}{20pt}{5.5pt}
+    \pgfuseobject{beamerframenavstrong}%
     \usebeamercolor[fg]{navigation symbols dimmed}
     \pgfuseobject{beamerframenavlight}%
-    \usebeamercolor[fg]{navigation symbols}
-    \pgfuseobject{beamerframenavstrong}%
   \end{pgfpicture}\kern-20pt%
   \hyperlinkframeendprev{\beamer@linkspace{5pt}}%
   \hyperlinkframestart{\beamer@linkspace{5pt}}%
 
 \def\insertsubsectionnavigationsymbol{%
   \begin{pgfpicture}{0pt}{-1.5pt}{20pt}{5.5pt}
+    \pgfuseobject{beamersubsectionnavstrong}%
     \usebeamercolor[fg]{navigation symbols dimmed}
     \pgfuseobject{beamersubsectionnavlight}%
-    \usebeamercolor[fg]{navigation symbols}
-    \pgfuseobject{beamersubsectionnavstrong}%
   \end{pgfpicture}\kern-20pt%
   \hyperlinksubsectionendprev{\beamer@linkspace{5pt}}%
   \hyperlinksubsectionstart{\beamer@linkspace{5pt}}%
 
 \def\insertsectionnavigationsymbol{%
   \begin{pgfpicture}{0pt}{-1.5pt}{20pt}{5.5pt}
+    \pgfuseobject{beamersectionnavstrong}%
     \usebeamercolor[fg]{navigation symbols dimmed}
     \pgfuseobject{beamersectionnavlight}%
-    \usebeamercolor[fg]{navigation symbols}
-    \pgfuseobject{beamersectionnavstrong}%
   \end{pgfpicture}\kern-20pt%
   \hyperlinksectionendprev{\beamer@linkspace{5pt}}%
   \hyperlinksectionstart{\beamer@linkspace{5pt}}%
 \def\insertdocnavigationsymbol{%
   \ifx\beamer@startpageofappendix\@empty%
     \begin{pgfpicture}{0pt}{-1.5pt}{20pt}{5.5pt}
-      \usebeamercolor[fg]{navigation symbols}
       \pgfuseobject{beamerdocnavstrongsingle}%
     \end{pgfpicture}\kern-20pt%
     \hyperlinkpresentationstart{\beamer@linkspace{9pt}}%
     \hyperlinkpresentationend{\beamer@linkspace{11pt}}%
   \else%
     \begin{pgfpicture}{0pt}{-1.5pt}{20pt}{5.5pt}
+      \pgfuseobject{beamerdocnavstrong}%
       \usebeamercolor[fg]{navigation symbols dimmed}
       \pgfuseobject{beamerdocnavlight}%
-      \usebeamercolor[fg]{navigation symbols}
-      \pgfuseobject{beamerdocnavstrong}%
     \end{pgfpicture}\kern-20pt%
     \hyperlinkpresentationstart{\beamer@linkspace{5pt}}%
     \hyperlinkpresentationend{\beamer@linkspace{5pt}}%
 
 \def\insertbackfindforwardnavigationsymbol{%
   \begin{pgfpicture}{0pt}{-1.5pt}{20pt}{5.5pt}
-    \usebeamercolor[fg]{navigation symbols}
     \pgfuseobject{beamerbackfindforwardnav}%
   \end{pgfpicture}\kern-20pt%
   \Acrobatmenu{GoBack}{\beamer@linkspace{7pt}}%
   \Acrobatmenu{GoForward}{\beamer@linkspace{7pt}}}
 
 
-\def\usenavigationsymbolstemplate#1{%
-  \def\insertnavigationsymbols{#1}}
-
 
 %
 % User Buttons

File base/beamerbaseoverlay.sty

View file
  • Ignore whitespace
   }%
 }%
 
-\def\beamersetuncovermixins#1#2{%
-  \gdef\beamer@uncoverbeforeactions{\ignorespaces#1}%
-  \gdef\beamer@uncoverafteractions{\ignorespaces#2}}
 
-\beamersetuncovermixins{}{}
+\define@key{beamer@mixin}{still covered}{\gdef\beamer@uncoverbeforeactions{\ignorespaces#1}}
+\define@key{beamer@mixin}{again covered}{\gdef\beamer@uncoverafteractions{\ignorespaces#1}}
+
+\define@key{beamer@mixin}{invisible}[]{%
+  \gdef\beamer@uncoverbeforeactions{\ignorespaces}
+  \gdef\beamer@uncoverafteractions{\ignorespaces}}
+
+\define@key{beamer@mixin}{transparent}[15]{%
+  \gdef\beamer@uncoverbeforeactions{\ignorespaces\opaqueness<1->{#1}}
+  \gdef\beamer@uncoverafteractions{\ignorespaces\opaqueness<1->{#1}}}
+
+\define@key{beamer@mixin}{dynamic}[]{%
+  \gdef\beamer@uncoverbeforeactions{\ignorespaces\opaqueness<2>{10}\opaqueness<3>{5}}
+  \gdef\beamer@uncoverafteractions{\ignorespaces\opaqueness<2>{10}\opaqueness<3>{5}}}
+
+\define@key{beamer@mixin}{highly dynamic}[]{%
+  \gdef\beamer@uncoverbeforeactions{\ignorespaces\opaqueness<1>{15}\opaqueness<2>{10}\opaqueness<3>{5}\opaqueness<4->{2}}
+  \gdef\beamer@uncoverafteractions{\ignorespaces\opaqueness<1>{15}\opaqueness<2>{10}\opaqueness<3>{5}\opaqueness<4->{2}}}
+
+
+\def\setbeamercovered#1{%
+  \setkeys{beamer@mixin}{invisible}%
+  \setkeys{beamer@mixin}{#1}}
+
+\setbeamercovered{invisible}
 
 \newcolormixin\beamer@colorhook
 
 \mode
 <article>
 {
-  \def\beamersetuncovermixins#1#2{}
+  \let\setbeamercovered=\@gobble
 }
 
 

File base/beamerbasetheorems.sty

View file
  • Ignore whitespace
   \beamer@ifempty{#1}
   {\def\inserttheoremaddition{}}
   {\def\inserttheoremaddition{#1}}
-  \beamer@theorembegintemplate#2}
-\def\@endtheorem{\beamer@theoremendtemplate}
+  \usebeamertemplate{theorem begin}#2}
+\def\@endtheorem{\usebeamertemplate{theorem end}}
 
 \renewenvironment<>{proof}[1][\proofname]{%
   \par
   \def\insertproofname{#1\@addpunct{.}}%
   \pushQED{\qed}
-  \beamer@proofbegintemplate#2}
-{\popQED\beamer@proofendtemplate}
+  \usebeamertemplate{proof begin}#2}
+{\popQED\usebeamertemplate{proof end}}
 
 \fi
 
-\newcommand\usetheoremtemplate[2]{%
-  \long\def\beamer@theorembegintemplate{#1}%
-  \long\def\beamer@theoremendtemplate{#2}}
-
-\newcommand\useprooftemplate[2]{
-  \long\def\beamer@proofbegintemplate{#1}
-  \long\def\beamer@proofendtemplate{#2}}
-
-\useprooftemplate{\begin{block}{\insertproofname}}{\end{block}}
-
-\def\useqedsymboltemplate#1{\def\qedsymbol{\leavevmode\hbox{#1}}}
-%\useqedsymboltemplate{\color{beamerstructure}\vrule width1.5ex height1.5ex depth0pt}
-
-
-\newcommand{\BeispielInline}[1]{{\color{beamerexample}Beispiel: \ignorespaces#1}}
-\newcommand{\ExampleInline}[1]{{\color{beamerexample}Example: \ignorespaces#1}}
+\def\qedsymbol{\leavevmode\hbox{\usebeamertemplate*{qed symbol}}}
 
 
 \mode

File doc/beamerug-color.tex

View file
  • Ignore whitespace
   Use this theme for a no-nonsense presentation. Since this theme is
   loaded by default, you cannot ``reload'' it after having loaded
   another color theme.
-
-  For a detailed explanation of all the colors this theme installs by
-  default, see Section~\ref{section-color-listing}.
 \end{colorthemeexample}
 
 \begin{colorthemeexample}[\oarg{options}]{structure}
 created by mixing the color of the object you want to show with the
 current background color (the color |bg|, which has hopefully been
 setup such that it is the average color of the background on which the
-object should be placed). To specify the ``degree of
-transparency'', you can use the special command
+object should be placed). To install this effect, you can use:
 \begin{verbatim}
-\beamersetuncovermixins{#1}{#2}
+\setbeamercovered{transparent}
 \end{verbatim}
 This commands allows you to specify in a quite general way how a
 covered item should be rendered. You can even specify different ways
 \emph{except} for the colors in images. For images there is a
 workaround, see the documentation of the \pgf\ package. 
 
-As a convenience, several commands install a predefined uncovering
-behavior.
+\begin{command}{\setbeamercovered\marg{options}}
+  This command offers several different options, the most important of
+  which is |transparent|. All options are internally mapped to the two
+  options |still covered| and |again covered|.
 
-\begin{command}{\beamertemplatetransparentcovered}
-  Makes all covered text quite transparent. 
-\end{command}
+  In detail, the following \meta{options} may be given:
+  \begin{itemize}
+  \item \declare{|invisible|} is the default and causes covered text
+    to ``completely disappear.
+  \item \declare{|transparent|}\opt{|=|\meta{opaqueness}} causes
+    covered text to be typset in a ``transparent'' way. By default,
+    this means that 85\% of the background color is mixed into all
+    colors or that the \meta{opaqueness} of the text is 15\%. You can
+    specify a different \meta{percentage}, where |0| means ``totally
+    transparent'' and |100| means ``totally opaque.''
 
-\begin{command}{\beamertemplatetransparentcoveredmedium}
-  Makes all covered text even more transparent. 
-\end{command}
-
-\begin{command}{\beamertemplatetransparentcoveredhigh}
-  Makes all covered text highly transparent. 
-\end{command}
-
-\begin{command}{\beamertemplatetransparentcoveredhigh}
-  Makes all covered text extremely transparent, but not totally. 
-\end{command}
-
-\begin{command}{\beamertemplatetransparentcovereddynamic}
-  Makes all covered text quite transparent, but is a dynamic way. The
-  longer it will take till the text is uncovered, the stronger the
-  transparency. 
-\end{command}
-
-\begin{command}{\beamertemplatetransparentcovereddynamicmedium}
-  Like the previous command, only it the ``range'' of dynamics is
-  smaller. 
-\end{command}
-
-\begin{command}{\beamersetuncovermixins\marg{not yet list}%
-    \marg{once more list}}
-  The \meta{not yet list} specifies  how to render covered items that
-  have not  yet been uncovered. The \meta{once more list} specifies
-  how to render covered items that have once more been covered. 
-  If you leave one of the specifications empty, the corresponding
-  covered items are completely covered, that is, they are invisible.
-  \example
+    Unfortunately, this value is kind of ``specific'' to every
+    projector. What looks good on your screen need not look good
+    during a presentation.
+  \item \declare{|dynamic|} Makes all covered text quite transparent,
+    but in a dynamic way. The longer it will take till the text is
+    uncovered, the stronger the transparency. 
+  \item \declare{|highly dynamic|} Has the same effect as |dynamic|,
+    but the effect is stronger.
+  \item \declare{|still covered=|\meta{not yet list}} specifies  how
+    to render covered items that have not yet been uncovered. The
+    \meta{not yet lest} should be a list of |\opaqueness| commands,
+    see the description of that command, below.
+    \example
 \begin{verbatim}
-\beamersetuncovermixins
-  {\opaqueness<1>{15}\opaqueness<2>{10}\opaqueness<3>{5}\opaqueness<4->{2}}
-  {\opaqueness<1->{15}}
+\setbeamercovered{%
+  still covered={\opaqueness<1>{15}\opaqueness<2>{10}\opaqueness<3>{5}\opaqueness<4->{2}},
+  again covered={\opaqueness<1->{15}}}
 \end{verbatim}
-  The \meta{not yet list} and the  \meta{once more list} can
-  contain any number of |\opaqueness| commands.
+  \item \declare{|again covered=|\meta{once more list}} specifies how
+    to render covered items that have once more been covered, that is,
+    that had been shown before but are now covered again.
+  \end{itemize}
 \end{command}
 
 \begin{command}{\opaqueness\ssarg{overlay
   transparent. Currently, since real transparency is not yet
   implemented, this command causes all colors to get a mixing of
   \meta{percentage of opaqueness} of the current
-  |averagebackgroundcolor|. At some future point this command might
-  result in real transparency.
+  |bg|. At some future point this command might result in real
+  transparency. 
 
   The alternate \pgf\ extension used inside an opaque area is
   \meta{percentage of opaqueness}|opaque|. In case of nested calls,
   only the innermost opaqueness specification is used. 
   \example
 \begin{verbatim}
-\beamersetuncovermixins{\opaqueness<1->{15}{\opaqueness<1->{15}}
+\setbeamercovered{still covered={\opaqueness<1->{15}},again covered={\opaqueness<1->{15}}}
 \pgfdeclareimage{book}{book}
 \pgfdeclareimage{book.!15opaque}{filenameforbooknearlytransparent}
 \end{verbatim}

File doc/beamerug-customization.tex

View file
  • Ignore whitespace
 
 
 
-\subsection{Navigation Symbols}
-\label{section-navigation-symbols-template}
-
-\paragraph{Predefined Templates}\ 
-
-\begin{command}{\beamertemplatenavigationsymbolsempty}
-  Suppresses all navigation symbols.
-\end{command}
-
-\begin{command}{\beamertemplatenavigationsymbolsframe}
-  Shows only the frame symbol as navigation symbol.
-\end{command}
-
-\begin{command}{\beamertemplatenavigationsymbolsvertical}
-  Organizes the navigation symbols vertically.
-\end{command}
-
-\begin{command}{\beamertemplatenavigationsymbolshorizontal}
-  Organizes the navigation symbols horizontally.
-\end{command}
-
-
-
-\paragraph{Template Installation Commands}\ 
-
-\begin{command}{\usenavigationsymbolstemplate\marg{symbols template}}
-  Installs a new symbols template. This template is invoked by themes
-  at the place where the navigation symbols should be shown.
-  \example
-\begin{verbatim}
-\usenavigationsymbolstemplate{\vbox{%
-  \hbox{\insertslidenavigationsymbol}
-  \hbox{\insertframenavigationsymbol}
-  \hbox{\insertsubsectionnavigationsymbol}
-  \hbox{\insertsectionnavigationsymbol}
-  \hbox{\insertdocnavigationsymbol}
-  \hbox{\insertbackfindforwardnavigationsymbol}}}
-\end{verbatim}
-\end{command}
-
-
-\paragraph{Inserts for these Templates}\ 
-
-The following inserts are useful for the navigation symbols template:
-
-\begin{command}{\insertslidenavigationsymbol}
-  Inserts the slide navigation symbol, see
-  Section~\ref{section-navigation-symbols}.
-\end{command}
-
-\begin{command}{\insertframenavigationsymbol}
-  Inserts the frame navigation symbol, see
-  Section~\ref{section-navigation-symbols}.
-\end{command}
-
-\begin{command}{\insertsubsectionnavigationsymbol}
-  Inserts the subsection navigation symbol, see
-  Section~\ref{section-navigation-symbols}.
-\end{command}
-
-\begin{command}{\insertsectionnavigationsymbol}
-  Inserts the section navigation symbol, see
-  Section~\ref{section-navigation-symbols}.
-\end{command}
-
-\begin{command}{\insertdocnavigationsymbol}
-  Inserts the presentation navigation symbol and (if necessary) the
-  appendix navigation symbol, see
-  Section~\ref{section-navigation-symbols}.
-\end{command}
-
-\begin{command}{\insertbackfindforwardnavigationsymbol}
-  Inserts a back, a find, and a forward navigation symbol, see
-  Section~\ref{section-navigation-symbols}.
-\end{command}
-
-
-
-
-
-\subsection{Theorem Environments}
-
-\label{section-theorems-templates}
-
-\paragraph{Predefined Templates}\
-
-\begin{command}{\beamertemplatetheoremssimple}
-  Causes the theorem head and text to be directly passed to the
-  |block| or |exampleblock| environment. All font specifications for
-  theorems are ignored. 
-\end{command}
-
-\begin{command}{\beamertemplatetheoremsunnumbered}
-  Causes theorems to be typeset as follows: The font specification for
-  the body is honored, the font specification for the head is
-  ignored. No theorem number is printed. This is the default.
-\end{command}
-
-\begin{command}{\beamertemplatetheoremsnumbered}
-  Like |\beamertemplatetheoremsunnumbered|, except that the theorem
-  number is printed for environments that are numbered.
-\end{command}
-
-\begin{command}{\beamertemplatetheoremsamslike}
-  This causes theorems to be put in a |block| or |exampleblock|, but
-  to be otherwise typeset as is normally done in |amsthm|. Thus the
-  head font and body font depend on the setting for the theorem to be
-  typeset and theorems are numbered. 
-\end{command}
-
-
-
-\paragraph{Template Installation Commands}\
-
-\begin{command}{\usetheoremtemplate\marg{block beginning
-      template}\marg{block end template}}
-  \beamernote
-  Whenever an environment declared using the command |\newtheorem| is
-  to be typeset, the \meta{block beginning template} is inserted at
-  the beginning and the \meta{block end template} at the end. If there
-  is a overlay specification when an environment like |theorem| is
-  used, this overlay specification will directly follow the
-  \meta{block beginning template} upon invocation. This is even true
-  if there was an optional argument to the |theorem| environment. This
-  optional argument is available via the insert |\inserttheoremaddition|.
-
-  Numerous inserts are available in this template, see below.  
-
-  Before the template starts, the font is set to the body font
-  prescribed by the environment to be typeset.
-  
-  \example The following typesets theorems like |amsthm|:
-\begin{verbatim}
-\usetheoremtemplate{\begin{\inserttheoremblockenv}
-  {%
-    \inserttheoremheadfont
-    \inserttheoremname
-    \inserttheoremnumber
-    \ifx\inserttheoremaddition\@empty\else\ (\inserttheoremaddition)\fi%
-    \inserttheorempunctuation
-  }%
-}{\end{\inserttheoremblockenv}}
-\end{verbatim}
-
-  \example In the following example, all font ``suggestions'' for the
-  environment are suppressed or ignored; and the theorem number is
-  suppressed.
-\begin{verbatim}
-\usetheoremtemplate{%
-  \normalfont% ignore body font
-  \begin{\inserttheoremblockenv}
-  {%
-    \inserttheoremname
-    \ifx\inserttheoremaddition\@empty\else\ (\inserttheoremaddition)\fi%
-  }%
-}{\end{\inserttheoremblockenv}}
-\end{verbatim}
-  
-  \articlenote
-  This command is not available in |article| mode.
-\end{command}
-
-
-\paragraph{Inserts for these Templates}\
-
-\begin{command}{\inserttheoremblockenv}
-  This will normally expand to |block|, but if a theorem that has
-  theorem style |example| is typeset, it will expand to
-  |exampleblock|. Thus you can use this insert to decide which
-  environment should be used when typesetting the theorem.
-\end{command}
-
-\begin{command}{\inserttheoremheadfont}
-  This will expand to a font chainging command that switches to the
-  font to be used in the head of the theorem. By not inserting it, you
-  can ignore the head font.
-\end{command}
-
-\begin{command}{\inserttheoremname}
-  This will expand to the name of the environment to be typeset (like
-  ``Theorem'' or ``Corollary''). 
-\end{command}
-
-
-\begin{command}{\inserttheoremnumber}
-  This will expand to the number of the current theorem preceeded by a
-  space or to nothing, if the current theorem does not have a number.
-\end{command}
-
-\begin{command}{\inserttheoremaddition}
-  This will expand to the optional argument given to the environment
-  or will be empty, if there was no optional argument.
-\end{command}
-
-\begin{command}{\inserttheorempunctuation}
-  This will expand to the punctuation character for the current
-  environment. This is usually a period.
-\end{command}
 
 
 

File doc/beamerug-interaction.tex

View file
  • Ignore whitespace
 \end{enumerate}
 
 You can reduce the number of icons that are shown or their layout by
-adjusting the navigation symbols template, see
-Section~\ref{section-navigation-symbols-template}. 
+adjusting the |navigation symbols| template.
+
+
+\begin{element}{navigation symbols}\yes\yes\yes
+  This template is invoked in ``three-star-mode'' by themes
+  at the place where the navigation symbols should be
+  shown. ``Three-star-mode'' means that the command
+  |\usebeamertemplate***| is used.
+
+  Note that, although it may \emph{look} like that the symbols are part of
+  the footline, they are more often part of an invisible right
+  sidebar.
+
+  \begin{templateoptions}
+    \itemoption{default}{}
+    Organizes the navigation symbols horizontally.
+    \itemoption{horizontal}{}
+    This is an alias for the default.
+    \itemoption{vertical}{}
+    Organizes the navigation symbols vertically.
+    \itemoption{only frame symbol}{}
+    Shows only the navigational symbol for navigating frames.
+  \end{templateoptions}
+
+  \example The following command suppresses all navigation symbols:
+\begin{verbatim}
+\setbeamertemplate{navigation symbols}{}
+\end{verbatim}
+
+  Inside this template, the following inserts are useful:
+  \begin{itemize}
+    \iteminsert{\insertslidenavigationsymbol}
+    Inserts the slide navigation symbols, that is, the slide symbols
+    (a rectangle) together with arrows to the left and right that are
+    hyperlinked.
+
+    \iteminsert{\insertframenavigationsymbol}
+    Inserts the frame navigation symbol.
+
+    \iteminsert{\insertsubsectionnavigationsymbol}
+    Inserts the subsection navigation symbol.
+
+    \iteminsert{\insertsectionnavigationsymbol}
+    Inserts the section navigation symbol.
+
+    \iteminsert{\insertdocnavigationsymbol}
+    Inserts the presentation navigation symbol and (if necessary) the
+    appendix navigation symbol.
+
+    \iteminsert{\insertbackfindforwardnavigationsymbol}
+    Inserts a back, a find, and a forward navigation symbol.
+  \end{itemize}
+\end{element}
+
 
 
 

File doc/beamerug-localstructure.tex

View file
  • Ignore whitespace
   word ``Theorem'' in rounded brackets (although this can be changed by
   the template).
 
-  The appearance of the theorem is governed by
-  templates, see Section~\ref{section-theorems-templates} for details
-  on how to change these. Every theorem is put into a |block|
-  environment, thus the templates for blocks also apply.
+  The appearance of the theorem is governed by the templates
+  |theorem begin| and |theorem end|, see their description later on
+  for details on how to change these. Every theorem is put into a
+  |block| environment, thus the templates for blocks also apply.
 
   The theorem style (a concept from |amsthm|) used for this
   environment is |plain|. In this style, the body of a theorem should
 
 
 
+\begin{element}{theorems}\semiyes\no\no
+  This template is a parent of |theorem begin| and |theorem end|, see
+  the first for a detailed discussion of how the theorem templates are
+  set.
+
+  \example |\setbeamertemplate{theorem}[numbered]|
+  
+  \begin{templateoptions}
+    \itemoption{default}{}
+    By default, theorems are typeset as follows: The font specification for
+    the body is honored, the font specification for the head is
+    ignored. No theorem number is printed.
+    \itemoption{normal font}{}
+    Like the default, except all font specifications for the body are
+    ignored. Thus, the fonts are used that are normally used for
+    blocks.
+    \itemoption{numbered}{}
+    This option is like the default, except that the theorem
+    number is printed for environments that are numbered.
+    \itemoption{ams style}{}
+    This causes theorems to be put in a |block| or |exampleblock|, but
+    to be otherwise typeset as is normally done in |amsthm|. Thus the
+    head font and body font depend on the setting for the theorem to be
+    typeset and theorems are numbered.
+  \end{templateoptions}
+\end{element}
+
+
+\begin{element}{theorem begin}\yes\no\no
+  Whenever an environment declared using the command |\newtheorem| is
+  to be typeset, this template is inserted at the beginning and the
+  template |theorem end| at the end. If there is a overlay
+  specification when an environment like |theorem| is 
+  used, this overlay specification will directly follow the
+  \meta{block beginning template} upon invocation. This is even true
+  if there was an optional argument to the |theorem| environment. This
+  optional argument is available via the insert |\inserttheoremaddition|.
+
+  Numerous inserts are available in this template, see below.  
+
+  Before the template starts, the font is set to the body font
+  prescribed by the environment to be typeset.
+  
+  \example The following typesets theorems like |amsthm|:
+\begin{verbatim}
+\setbeamertemplate{theorem begin}
+{%
+  \begin{\inserttheoremblockenv}
+  {%
+    \inserttheoremheadfont
+    \inserttheoremname
+    \inserttheoremnumber
+    \ifx\inserttheoremaddition\@empty\else\ (\inserttheoremaddition)\fi%
+    \inserttheorempunctuation
+  }%
+}
+\setbeamertemplate{theorem end}{\end{\inserttheoremblockenv}}
+\end{verbatim}
+
+  \example In the following example, all font ``suggestions'' for the
+  environment are suppressed or ignored; and the theorem number is
+  suppressed.
+\begin{verbatim}
+\setbeamertemplate{theorem begin}
+{%
+  \normalfont% ignore body font
+  \begin{\inserttheoremblockenv}
+  {%
+    \inserttheoremname
+    \ifx\inserttheoremaddition\@empty\else\ (\inserttheoremaddition)\fi%
+  }%
+}
+\setbeamertemplate{theorem end}{\end{\inserttheoremblockenv}}
+\end{verbatim}
+
+  The following inserts are available inside this template:
+  \begin{itemize}
+    \iteminsert{\inserttheoremblockenv}
+    This will normally expand to |block|, but if a theorem that has
+    theorem style |example| is typeset, it will expand to
+    |exampleblock|. Thus you can use this insert to decide which
+    environment should be used when typesetting the theorem.
+
+    \iteminsert{\inserttheoremheadfont}
+    This will expand to a font chainging command that switches to the
+    font to be used in the head of the theorem. By not inserting it, you
+    can ignore the head font.
+
+    \iteminsert{\inserttheoremname}
+    This will expand to the name of the environment to be typeset (like
+    ``Theorem'' or ``Corollary''). 
+
+    \iteminsert{\inserttheoremnumber}
+    This will expand to the number of the current theorem preceeded by a
+    space or to nothing, if the current theorem does not have a number.
+
+    \iteminsert{\inserttheoremaddition}
+    This will expand to the optional argument given to the environment
+    or will be empty, if there was no optional argument.
+
+    \iteminsert{\inserttheorempunctuation}
+    This will expand to the punctuation character for the current
+    environment. This is usually a period.
+  \end{itemize}
+\end{element}
+
+\begin{element}{theorem end}\yes\no\no
+  Inserted at the end of a theorem.
+\end{element}
+
+
 
 \subsection{Framed and Boxed Text}
 

File doc/beameruserguide.tex

View file
  • Ignore whitespace
 
 \tableofcontents
 
+
 \include{beamerug-introduction}
 
+
+
 \part{Getting Started}
+
+This part helps you getting started. It starts with an explanation of
+how to install the class. Hopefully, this will be very simple, with a
+bit of luck the whole class is already correctly installed! You will
+also find an explanation of special things you should consider when
+using certain other packages.
+
+Next, a short tutorial is given that explains most of the features
+that you'll need in a typical presentation. Following the tutorial you
+will find a ``possible workflow'' for creating a
+presentation. Following this workflow may help you avoid problems
+later on.
+
+This part includes a guidelines sections. Following these guidelines
+can help you create good presentations (no guarantees, though). This
+guideline section is kept as general as possible; most what is said in
+that section applies to presentations in general, independently of
+whether they have been created using \beamer\ or not.
+
+At the end of this part you will find a summary of the solutions
+templates that come with \beamer. You can use solutions templates to
+kick-start the creation of your presentation.
+
 \include{beamerug-installation}
 \include{beamerug-tutorial}
 \include{beamerug-workflow}
 \include{beamerug-guidelines}
 \include{beamerug-solutions}
 
+
+
 \part{Building a Presentation}
+
+This part contains an explanation of all the commands that are used to
+create presetations. It starts with a section treating the commands
+and environments used to create \emph{frames}, the basic building
+blocks of presentations. Next, the creation of overlays is
+explained.
+
+The following three sections concern commands and methods
+of \emph{structuring} a presentation. In order, the \emph{static
+  global} structure, the \emph{interactive global} structure, and the
+\emph{local} structure are treated.
+
+Two further sections treat graphics and animations. Much of the
+material in these sections applies to other packages as well, not just
+to \beamer.
+
+At the end of this part, ``nonpresentation material'' is treated. This
+includes handouts or lecture notes. Several commands can be used to
+facilitate the creation of such handouts or lecture notes.
+
 \include{beamerug-frames}
 \include{beamerug-overlays}
 \include{beamerug-globalstructure}
 \include{beamerug-animations}
 \include{beamerug-nonpresentation}
 
+
+
 \part{Changing the Way Things Look}
+
+\beamer\ offers ways to change the appearance of an appearance at all
+levels of detail. On the top level, \emph{themes} can be used to
+globally change the appearance conveniently. On the bottom level,
+\emph{templates} allow you to specify the appearance of every miniute
+detail individually.
+
+To important aspects of the ``appearance'' of a presentation are
+treated in two extra sections: colors and fonts. Here, too, color and
+font themes can be used to globally change the colors or fonts used in
+a presentation, while you can still change the color or font of, say,
+block titles independently of everything else. 
+
 \include{beamerug-themes}
 \include{beamerug-elements}
 \include{beamerug-color}
 \include{beamerug-fonts}
 \include{beamerug-customization}
 
+
+
 \part{Howtos}
+
+This part contains explanations-of-how-to-do-things (commonly known as
+\emph{howtos}). These explanations are not really part of the
+``\beamer-core.'' Rather, they explain how to use \beamer\ to achieve
+a certain effect or how get something special done.
+
+The first howto is about tricky uncovering situtations.
+
+The second howto explains how you can import (parts or) presentations
+created using some other \LaTeX-presentation class, like \prosper. 
+
 \include{beamerug-tricks}
 \include{beamerug-emulation}
 
+
 \printindex
 
 \end{document}

File themes/inner/beamerinnerthemedefault.sty

View file
  • Ignore whitespace
 
 
                                 % Theorems
-\beamertemplatetheoremsunnumbered
+\defbeamertemplateparent{theorems}{theorem begin,theorem end}
+{}
 
-                                % Buttons
-\beamertemplateroundedbuttons
+\defbeamertemplate*{theorem begin}{default}
+{%
+  \begin{\inserttheoremblockenv}
+  {%
+    \inserttheoremname
+    \ifx\inserttheoremaddition\@empty\else\ (\inserttheoremaddition)\fi%
+  }%
+}
+
+\defbeamertemplate*{theorem end}{default}
+{\end{\inserttheoremblockenv}}
+
+\defbeamertemplate*{proof begin}{default}
+{\begin{block}{\insertproofname}}
+
+\defbeamertemplate*{proof end}{default}
+{\end{block}}
+
+\defbeamertemplate*{qed symbol}{default}
+{\openbox}
+
 
                                 % Navigation symbols
-\beamertemplatenavigationsymbolshorizontal
+
+\defbeamertemplate*{navigation symbols}{default}
+{%
+  \hbox{%
+    \hbox{\insertslidenavigationsymbol}
+    \hbox{\insertframenavigationsymbol}
+    \hbox{\insertsubsectionnavigationsymbol}
+    \hbox{\insertsectionnavigationsymbol}
+    \hbox{\insertdocnavigationsymbol}
+    \hbox{\insertbackfindforwardnavigationsymbol}%
+  }%
+}
+
+
+
 \beamertemplaterightsidebarlogonavigation
 
 

File themes/outer/beamerouterthemeinfolines.sty

View file
  • Ignore whitespace
   \llap{\insertlogo\hskip0.1cm}%
   \vfill%
   \vskip2pt%
-  \llap{\insertnavigationsymbols\hskip0.1cm}%
+  \llap{\usebeamertemplate***{navigation symbols}\hskip0.1cm}%
   \vskip2pt}
 
 \setbeamermargin{left=1em,right=1em}

File themes/outer/beamerouterthemesidebar.sty

View file
  • Ignore whitespace
     \ifx\beamer@sidebarside\beamer@lefttext%
     \else%
       \usebeamercolor{normal text}%
-      \llap{\insertnavigationsymbols\hskip0.1cm}%
+      \llap{\usebeamertemplate***{navigation symbols}\hskip0.1cm}%
       \vskip2pt%
     \fi%
   }%
   \ifx\beamer@sidebarside\beamer@lefttext%
     \usesidebartemplate[right]{0cm}{%
       \vfill%
-      \llap{\insertnavigationsymbols\hskip0.1cm}%
+      \llap{\usebeamertemplate***{navigation symbols}\hskip0.1cm}%
       \vskip2pt}
   \fi
                                 % Margins