Commits

Vedran Miletić committed 8b34d0c

Bump version to 3.08, just to differ it from 3.07 floating around. Initial work on sectionpage in style of partpage. TODO:
-- redesign and make separate styles in same way partpage has.
-- fix compatibility with babel (it's Section regardless of babel language; not so with Part).

  • Participants
  • Parent commits 4a40d04

Comments (0)

Files changed (5)

File base/beamer.cls

 % See the file doc/licenses/LICENSE for more details.
 
 \RequirePackage{beamerbasercs}
-\def\beamer@version{3.07}
+\def\beamer@version{3.08}
 
 \ProvidesClassRCS $Header$
 [cvs version \beamer@version\space A class for typesetting presentations]

File base/beamerarticle.sty

 %
 % See the file doc/licenses/LICENSE for more details.
 
-\providecommand\beamer@version{3.00}
+\providecommand\beamer@version{3.08}
 
 \RequirePackage{beamerbasercs}
 \ProvidesPackageRCS $Header$

File base/beamerbasesection.sty

 \def\insertsection{}
 \def\lastsubsection{}
 
+\def\insertsectionnumber{\@arabic\c@section}
+
 \def\breakhere{\protect\beamer@breakhere}
 \def\beamer@breakhere{}
 

File base/beamerbasetitle.sty

 %
 \def\titlepage{\usebeamertemplate*{title page}\@thanks}
 \def\partpage{\usebeamertemplate*{part page}}
+\def\sectionpage{\usebeamertemplate*{section page}}
+%\def\subsectionpage{\usebeamertemplate*{subsection page}} % TODO
 
 \mode
 <article>

File themes/inner/beamerinnerthemedefault.sty

       \usebeamerfont{part title}\insertpart\par
     \end{beamercolorbox}
   \end{centering}
-} 
+}
 
 
+% Section page: default
+
+\defbeamertemplate*{section page}{default}[1][]
+{
+  \begin{centering}
+    {\usebeamerfont{part name}\usebeamercolor[fg]{part name}\sectionname~\insertsectionnumber}
+    \vskip1em\par
+    \begin{beamercolorbox}[sep=8pt,center,#1]{part title}
+      \usebeamerfont{part title}\insertsection\par
+    \end{beamercolorbox}
+  \end{centering}
+}
+