aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorJonathan <[email protected]>2024-07-24 17:22:38 +0200
committerJohn MacFarlane <[email protected]>2024-07-29 10:52:16 -0700
commitd89681179d05ef1d81c55fba0902a250d4e34174 (patch)
treeede0b4f8ff94c832fd2be73d8663b59ec50c7dc7 /data
parentaa5ad5cff4f10a62a7ec40428502b26a2bd96dfb (diff)
default.latex: wrong beamer color in (sub)section page
The default.latex template defines "part title", "section title" and "subsection title" via \setbeamertemplate. But for "section title" and "subsection title", the beamercolorbox also used the "part title" parameter instead of the "(sub)section title". This had the effect that for (sub)section pages the color attributes of the part title were used.
Diffstat (limited to 'data')
-rw-r--r--data/templates/default.latex4
1 files changed, 2 insertions, 2 deletions
diff --git a/data/templates/default.latex b/data/templates/default.latex
index 00e6d4ccf..678583f99 100644
--- a/data/templates/default.latex
+++ b/data/templates/default.latex
@@ -60,13 +60,13 @@ $if(section-titles)$
}
\setbeamertemplate{section page}{
\centering
- \begin{beamercolorbox}[sep=12pt,center]{part title}
+ \begin{beamercolorbox}[sep=12pt,center]{section title}
\usebeamerfont{section title}\insertsection\par
\end{beamercolorbox}
}
\setbeamertemplate{subsection page}{
\centering
- \begin{beamercolorbox}[sep=8pt,center]{part title}
+ \begin{beamercolorbox}[sep=8pt,center]{subsection title}
\usebeamerfont{subsection title}\insertsubsection\par
\end{beamercolorbox}
}