Permalink
Browse files

Beamer template: In section pages, don't print "Section" and number.

Similarly for parts and subsections.
Reason:  this is not properly internationalized, and for consistency
with other slide formats.

Closes #566.
  • Loading branch information...
1 parent c08ed3f commit 150f3ce9c67a2b4c948fcdc5793344bf8b53072b @jgm committed Aug 26, 2012
Showing with 17 additions and 4 deletions.
  1. +17 −4 default.beamer
View
@@ -64,12 +64,25 @@ $if(graphics)$
\makeatother
\setkeys{Gin}{width=\ScaleIfNeeded}
$endif$
+
% Comment these out if you don't want a slide with just the
% part/section/subsection/subsubsection title:
-\AtBeginPart{\frame{\partpage}}
-\AtBeginSection{\frame{\sectionpage}}
-\AtBeginSubsection{\frame{\subsectionpage}}
-\AtBeginSubsubsection{\frame{\subsubsectionpage}}
+\AtBeginPart{
+ \let\insertpartnumber\relax
+ \let\partname\relax
+ \frame{\partpage}
+}
+\AtBeginSection{
+ \let\insertsectionnumber\relax
+ \let\sectionname\relax
+ \frame{\sectionpage}
+}
+\AtBeginSubsection{
+ \let\insertsubsectionnumber\relax
+ \let\subsectionname\relax
+ \frame{\subsectionpage}
+}
+
$if(strikeout)$
\usepackage[normalem]{ulem}
% avoid problems with \sout in headers with hyperref:

1 comment on commit 150f3ce

Contributor

twsh commented on 150f3ce Jul 14, 2016

For what it's worth, the way things are now set up with languages and babel.sty/polyglossia.sty will internationalise the section titles etc.

Please sign in to comment.