Commits

Till Tantau  committed de60fb1

bugfixes

  • Participants
  • Parent commits b59a0e3

Comments (0)

Files changed (11)

+2003-12-09 Till Tantau <tantau@users.sourceforge.net>
+
+	- Fixed bug with navigation symbols and dvips, ps2pdf.
+	- Fixed bug with navigation symbols and missing \logo.
+
 2003-11-25 Till Tantau <tantau@users.sourceforge.net>
 
+	Version 1.04:
 	- Fixed problem with Spanish style.
-	- Fixed problem with compress in beamerthemesplit
-	- Fixed bug that made beamerthemeclassic useless
-	- Fixed incompatibility with deluxetabular
+	- Fixed problem with compress in beamerthemesplit.
+	- Fixed bug that made beamerthemeclassic useless.
+	- Fixed incompatibility with deluxetabular.
 	- Fixed bug with "gray" option. Renamed to "blackandwhite".
-	- Fixed bug that caused columns in slidetop mode to be centered, 
-	  still.
+	- Fixed bug that caused columns in slidetop mode to be centered.
 	
 2003-11-20 Till Tantau <tantau@users.sourceforge.net>
 
-1) Some commands for creating a lecture title page.
-2) Perhaps add an way of showing photos of the authors and the
-   institutes in a convenient way.
-3) Put internal macros in beamer.cls into a namespace
-4) "Cleanup" beamer.cls
-5) Document some of the commands for creating headline and footlines.
+ 1) Some commands for creating a lecture title page.
+ 2) Perhaps add an way of showing photos of the authors and the
+    institutes in a convenient way.
+ 3) Put internal macros in beamer.cls into a namespace
+ 4) "Cleanup" beamer.cls
+ 5) Document some of the commands for creating headline and footlines.
+ 6) Improve \article mode.
+ 7) Add options for showing only specific sections in toc.
+ 8) Add command for creating a frame "out of order".
+ 9) Add more artwork.
+10) Add an faq section.
+11) Better color management.
+12) Options for bigger fonts.
+13) Make \uncover work line-wise in tables.
 \NeedsTeXFormat{LaTeX2e}[1995/12/01]
 \ProvidesClass{beamer}
-[2003/11/20 v1.03 Class for Typesetting a Beamer Presentation]
+[2003/12/02 v1.04-dev Class for Typesetting a Beamer Presentation]
 
 % Copyright 2003 by Till Tantau <tantau@users.sourceforge.net>.
 %
 % Navigation Button Art
 %
 
+\def\beamer@linkspace#1{\vbox to7.5pt{}\kern#1}
+
 \def\beamernavigationcolorlight{structure!20!averagebackgroundcolor}
 \def\beamernavigationcolorstrong{structure!40!averagebackgroundcolor}
 
     \color{\beamernavigationcolorstrong}%
     \pgfuseobject{beamerslidenavstrong}%
   \end{pgfpicture}\kern-20pt%
-  \hyperlinkslideprev{\kern6pt}%
-  \Acrobatmenu{GoToPage}{\kern8pt}%
-  \hyperlinkslidenext{\kern6pt}}
+  \hyperlinkslideprev{\beamer@linkspace{6pt}}%
+  \Acrobatmenu{GoToPage}{\beamer@linkspace{8pt}}%
+  \hyperlinkslidenext{\beamer@linkspace{6pt}}}
 
 \pgfdefobject{beamerframenavlight}{\pgfpoint{0pt}{-1pt}}{\pgfpoint{20pt}{5pt}}
  {\pgfqmoveto{4}{0.5}
     \color{\beamernavigationcolorstrong}%
     \pgfuseobject{beamerframenavstrong}%
   \end{pgfpicture}\kern-20pt%
-  \hyperlinkframeendprev{\kern5pt}%
-  \hyperlinkframestart{\kern5pt}%
-  \hyperlinkframeend{\kern5pt}%
-  \hyperlinkframestartnext{\kern5pt}}
+  \hyperlinkframeendprev{\beamer@linkspace{5pt}}%
+  \hyperlinkframestart{\beamer@linkspace{5pt}}%
+  \hyperlinkframeend{\beamer@linkspace{5pt}}%
+  \hyperlinkframestartnext{\beamer@linkspace{5pt}}}
 
 \pgfdefobject{beamersubsectionnavlight}{\pgfpoint{0pt}{-1pt}}{\pgfpoint{20pt}{5pt}}
  {\pgfqmoveto{4}{0.5}
     \color{\beamernavigationcolorstrong}%
     \pgfuseobject{beamersubsectionnavstrong}%
   \end{pgfpicture}\kern-20pt%
-  \hyperlinksubsectionendprev{\kern5pt}%
-  \hyperlinksubsectionstart{\kern5pt}%
-  \hyperlinksubsectionend{\kern5pt}%
-  \hyperlinksubsectionstartnext{\kern5pt}}
+  \hyperlinksubsectionendprev{\beamer@linkspace{5pt}}%
+  \hyperlinksubsectionstart{\beamer@linkspace{5pt}}%
+  \hyperlinksubsectionend{\beamer@linkspace{5pt}}%
+  \hyperlinksubsectionstartnext{\beamer@linkspace{5pt}}}
 
 \pgfdefobject{beamersectionnavlight}{\pgfpoint{0pt}{-1pt}}{\pgfpoint{20pt}{5pt}}
  {\pgfqmoveto{4}{0.5}
     \color{\beamernavigationcolorstrong}%
     \pgfuseobject{beamersectionnavstrong}%
   \end{pgfpicture}\kern-20pt%
-  \hyperlinksectionendprev{\kern5pt}%
-  \hyperlinksectionstart{\kern5pt}%
-  \hyperlinksectionend{\kern5pt}%
-  \hyperlinksectionstartnext{\kern5pt}}
+  \hyperlinksectionendprev{\beamer@linkspace{5pt}}%
+  \hyperlinksectionstart{\beamer@linkspace{5pt}}%
+  \hyperlinksectionend{\beamer@linkspace{5pt}}%
+  \hyperlinksectionstartnext{\beamer@linkspace{5pt}}}
 
 \ifx\beamer@startpageofappendix\@empty
 % no appendix
     \color{\beamernavigationcolorstrong}%
     \pgfuseobject{beamerdocnavstrong}%
   \end{pgfpicture}\kern-20pt%
-  \hyperlinkpresentationstart{\kern9pt}%
-  \hyperlinkpresentationend{\kern11pt}}
+  \hyperlinkpresentationstart{\beamer@linkspace{9pt}}%
+  \hyperlinkpresentationend{\beamer@linkspace{11pt}}}
 \else
 \pgfdefobject{beamerdocnavlight}{\pgfpoint{0pt}{-1pt}}{\pgfpoint{20pt}{5pt}}
 {\pgfqmoveto{10}{-.5}
     \color{\beamernavigationcolorstrong}%
     \pgfuseobject{beamerdocnavstrong}%
   \end{pgfpicture}\kern-20pt%
-  \hyperlinkpresentationstart{\kern5pt}%
-  \hyperlinkpresentationend{\kern5pt}%
-  \hyperlinkappendixstart{\kern3.5pt}%
-  \hyperlinkappendixend{\kern6.5pt}}
+  \hyperlinkpresentationstart{\beamer@linkspace{5pt}}%
+  \hyperlinkpresentationend{\beamer@linkspace{5pt}}%
+  \hyperlinkappendixstart{\beamer@linkspace{3.5pt}}%
+  \hyperlinkappendixend{\beamer@linkspace{6.5pt}}}
 \fi
 
 \pgfdefobject{beamerbackfindforwardnav}{\pgfpoint{0pt}{-1pt}}{\pgfpoint{20pt}{5pt}}
     \color{\beamernavigationcolorlight!50!\beamernavigationcolorstrong}%
     \pgfuseobject{beamerbackfindforwardnav}%
   \end{pgfpicture}\kern-20pt%
-  \Acrobatmenu{GoBack}{\kern7pt}%
-  \Acrobatmenu{Find}{\kern6pt}%
-  \Acrobatmenu{GoForward}{\kern7pt}}
+  \Acrobatmenu{GoBack}{\beamer@linkspace{7pt}}%
+  \Acrobatmenu{Find}{\beamer@linkspace{6pt}}%
+  \Acrobatmenu{GoForward}{\beamer@linkspace{7pt}}}
 
 
 \def\usenavigationsymbolstemplate#1{%

File beamerthemebars.sty

   }}
 
                                 % Footline
-\usefoottemplate{%
-  \vbox{%
-    \tinycolouredline{structure!75!white}{\color{white}\textbf{\insertshortauthor\hfill\insertshortinstitute}}%
-    \tinycolouredline{structure}{\color{white}\textbf{\insertshorttitle}\hfill\lower1pt\hbox{\insertnavigationsymbols}}%
-    }}
-
 \def\beamernavigationcolorlight{structure!65!white}
 \def\beamernavigationcolorstrong{structure!50!white}
+ 
   
-  
-\def\logo#1{%
-  \def\insertlogo{#1}%
-  \usefoottemplate{%
-    \setbox\logobox=\hbox{\insertlogo}%
-    \vbox{%
-      \hbox to\textwidth{\hfill%
-        \setbox\logobox=\hbox{\raise 2pt\hbox{\insertlogo}}\ht\logobox=0pt%
-        \box\logobox\hskip-\Gm@rmargin\hskip0.1cm}\vskip2pt%
-      \tinycolouredline{structure!75}{\color{white}\textbf{\insertshortauthor\hfill}}%
-      \tinycolouredline{structure}{\color{white}\textbf{\insertshorttitle}\hfill\lower1pt\hbox{\insertnavigationsymbols}%
-%        \hskip10pt%
-%        \hskip\wd\logobox%
-%        \begin{pgfpicture}{0cm}{0cm}{0cm}{0cm}
-%          \color{white}
-%          \pgfcircle[fill]{\pgforigin}{1.25\wd\logobox}
-%          \color{structure}
-%          \pgfsetlinewidth{6pt}
-%          \pgfcircle[stroke]{\pgforigin}{1.25\wd\logobox}
-%        \end{pgfpicture}%
-%        \hskip-.5\wd\logobox%
-%        \hbox{\ht\logobox=0pt\dp\logobox=0pt\usebox\logobox}%
-        }%
-      }%
-    }%
-  }
-
+\usefoottemplate{%
+  \setbox\logobox=\hbox{\insertlogo}%
+  \vbox{%
+    \hbox to\textwidth{\hfill%
+      \setbox\logobox=\hbox{\raise 2pt\hbox{\insertlogo}}\ht\logobox=0pt%
+      \box\logobox\hskip-\Gm@rmargin\hskip0.1cm}\vskip2pt%
+    \tinycolouredline{structure!75}{\color{white}\textbf{\insertshortauthor\hfill}}%
+    \tinycolouredline{structure}{\color{white}\textbf{\insertshorttitle}\hfill\lower1pt\hbox{\insertnavigationsymbols}%
+  }}}
 
                                 % Blocks
 \useblocktemplate{\medskip{\color{structure}\large{\insertblockname}}\par}{\medskip}

File beamerthemeshadow.sty

 \fi
                                 % Footline
 \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}}
-
-\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}}}}
+  \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

File beamerthemesplit.sty

   }%
 }
 \fi
-                                % Footline
+
 \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}}
-
-\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}}}}
+  \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}}}
 
 \beamertemplatelargeblocks

File beamerthemetree.sty

 
                                 % Head
 \useheadtemplate{%
-  \vbox{%
-    \vskip3pt%
-    \tinyline{\color{structure}\insertshorttitle\hfill}%
-    \setbox\tempbox=\hbox{\insertsection}%
-    \tinyline{\color{structure}\ifdim\wd\tempbox>1pt{\hskip2pt\raise1.9pt\hbox{\vrule width0.4pt height5pt\vrule width 5pt height0.4pt}}\hskip1pt\insertsection\fi\hfill}%
-    \setbox\tempbox=\hbox{\insertsubsection}%
-    \tinyline{\color{structure}\ifdim\wd\tempbox>1pt{\hskip9.4pt\raise1.9pt\hbox{\vrule width0.4pt height5pt\vrule width 5pt height0.4pt}}\hskip1pt\insertsubsection\fi\hfill}%
-    \insertvrule{3pt}{structure!50!averagebackgroundcolor}%
-    }%
-  }
-
-                                % Footline
-\usefoottemplate{}
-
-\def\logo#1{%
-  \def\insertlogo{#1}%
-  \useheadtemplate{%
-    \setbox\logobox=\hbox{\insertlogo}%
+  \setbox\logobox=\hbox{\insertlogo}%
   \vbox{%
     \vskip3pt%
     \tinyline{\color{structure}\insertshorttitle\hfill}%
     \setbox\tempbox=\hbox{\insertsubsection}%
     \tinyline{\color{structure}\ifdim\wd\tempbox>1pt{\hskip9.4pt\raise1.9pt\hbox{\vrule width0.4pt height5pt\vrule width 5pt height0.4pt}}\hskip1pt\insertsubsection\fi\hfill\ht\logobox=0pt\box\logobox}%
     \insertvrule{3pt}{structure!50!averagebackgroundcolor}%
-    }%
-  }}
+    }}%
+
+
+                                % Footline
+\usefoottemplate{}
 
 
                                 % Blocks

File doc/beameruserguide.pdf

Binary file modified.

File doc/beameruserguide.tex

 
 \begin{document}
 
-\title{User's Guide to the Beamer Class, Version 1.03\\
+\title{User's Guide to the Beamer Class, Version 1.04\\
 \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}}}
 When using certain packages together with the |beamer| class, extra
 options or precautions may be necessary.
 
+\begin{package}{{babel}|[|\declare{|french|}|]|}
+  When using the French style, certain features that clash with the
+  functionality of the beamer class will be turned off. For example,
+  enumerations are still produced the way the theme dictates, not the
+  way the French style does.
+\end{package}
+
+\begin{package}{{babel}|[|\declare{|spanish|}|]|}
+  When using the Spanish style, certain features that clash with the
+  functionality of the beamer class will be turned off. In particular,
+  the special behaviour of the pointed brackets |<| and |>| is
+  deactivated. 
+\end{package}
+
 \begin{package}{{CJK}}
   When using the |CJK| package, you must use the class option
   \declare{|CJK|}. See |beamerexample4.tex| for an example.
 \end{package}
 
+\begin{package}{{deluxetable}}
+  The caption generation facilities of |deluxetable| are
+  deactivated. Instead, the caption template is used.
+\end{package}
+
 \begin{package}{{listings}}
   Note that you must treat |lstlisting| environments exactly the same
   way as you would treat |verbatim| environments.
 
 
 
+
 \section{Workflow}
 
 \label{section-workflow}
 shadings there is an awkward workaround, see the documentation of the
 \pgf\ package. 
 
-As a convenience, two commands are defined in |beamertemplates|
-that install a predefined uncovering behavior.
+As a convenience, two commands install a predefined uncovering
+behavior.
 
 \begin{command}{\beamertemplatetransparentcovered}
   Makes all covered text nearly transparent. 
 the next subsection. 
 
 Some of the below subsections start with commands for using
-\emph{predefined} templates. These commands are defined in the package
-|beamertemplates|. Calling one of them will change a template in
+\emph{predefined} templates. Calling one of them will change a template in
 a predefined way. Using them, you can use, for example, your favorite
 theme together with a predefined background.
 

File examples/beamerexample1.pdf

Binary file modified.

File examples/beamerexample1.tex

 \beamertemplateshadingbackground{red!10}{blue!10}
 
 \usepackage{beamerboxes}
-\usepackage{beamerthemeshadow}
+\usepackage{beamerthemetreebars}
 \usepackage{pgf,pgfarrows,pgfnodes,pgfautomata,pgfheaps,pgfshade}
 \usepackage{amsmath,amssymb}
 \usepackage[latin1]{inputenc}
 \pgfdeclareimage[mask=tu,width=0.6cm]{tu-logo}{tu-logo}
 \pgfdeclareimage[mask=ur,width=1cm]{ur-logo}{ur-logo}
 
-\logo{\vbox{\hbox to 1cm{\hfil\pgfuseimage{tu-logo}}\vskip0.1cm\hbox{\pgfuseimage{ur-logo}}}}
+%\logo{\vbox{\hbox to 1cm{\hfil\pgfuseimage{tu-logo}}\vskip0.1cm\hbox{\pgfuseimage{ur-logo}}}}
 
 \begin{document}