aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/templates/default.latex24
1 files changed, 18 insertions, 6 deletions
diff --git a/data/templates/default.latex b/data/templates/default.latex
index a9191aa2a..c36bf8576 100644
--- a/data/templates/default.latex
+++ b/data/templates/default.latex
@@ -193,22 +193,34 @@ $if(beamer)$
\widowpenalties 1 10000
\raggedbottom
$if(section-titles)$
+\setbeamertemplate{part page}{
+\centering
+\begin{beamercolorbox}[sep=16pt,center]{part title}
+ \usebeamerfont{part title}\insertpart\par
+\end{beamercolorbox}
+}
+\setbeamertemplate{section page}{
+\centering
+\begin{beamercolorbox}[sep=12pt,center]{part title}
+ \usebeamerfont{section title}\insertsection\par
+\end{beamercolorbox}
+}
+\setbeamertemplate{subsection page}{
+\centering
+\begin{beamercolorbox}[sep=8pt,center]{part title}
+ \usebeamerfont{subsection title}\insertsubsection\par
+\end{beamercolorbox}
+}
\AtBeginPart{
- \let\insertpartnumber\relax
- \let\partname\relax
\frame{\partpage}
}
\AtBeginSection{
\ifbibliography
\else
- \let\insertsectionnumber\relax
- \let\sectionname\relax
\frame{\sectionpage}
\fi
}
\AtBeginSubsection{
- \let\insertsubsectionnumber\relax
- \let\subsectionname\relax
\frame{\subsectionpage}
}
$endif$