improved sectiongraphic and subsectiongraphic

This commit is contained in:
Jan Benda 2021-04-25 00:04:37 +02:00
parent 409067c874
commit 429d8e56b6
2 changed files with 4 additions and 2 deletions

View File

@ -122,12 +122,12 @@
\setbeamercolor{section name}{parent=titlelike} \setbeamercolor{section name}{parent=titlelike}
\setbeamercolor{section name separator}{fg=utgold} \setbeamercolor{section name separator}{fg=utgold}
\setbeamercolor{section title}{parent=titlelike} \setbeamercolor{section title}{parent=titlelike}
\setbeamercolor{sectiongraphic}{fg=white, bg=utgray} \setbeamercolor{sectiongraphic}{parent=normal text}
\setbeamercolor{subsection name}{parent=titlelike} \setbeamercolor{subsection name}{parent=titlelike}
\setbeamercolor{subsection name separator}{fg=utgold} \setbeamercolor{subsection name separator}{fg=utgold}
\setbeamercolor{subsection title}{parent=titlelike} \setbeamercolor{subsection title}{parent=titlelike}
\setbeamercolor{subsectiongraphic}{fg=white, bg=utgray} \setbeamercolor{subsectiongraphic}{parent=normal text}
% color of numbers in table of columns (sections get hyperref linkcolor): % color of numbers in table of columns (sections get hyperref linkcolor):
\setbeamercolor{section in toc}{use=normal text, fg=normal text.fg!60} \setbeamercolor{section in toc}{use=normal text, fg=normal text.fg!60}

View File

@ -988,6 +988,7 @@
\ifx\insertsectiongraphic\@empty\else% \ifx\insertsectiongraphic\@empty\else%
\vspace{1.5ex} \vspace{1.5ex}
\begin{beamercolorbox}[wd=\linewidth]{sectiongraphic} \begin{beamercolorbox}[wd=\linewidth]{sectiongraphic}
\usebeamerfont{normal text}%
\insertsectiongraphic% \insertsectiongraphic%
\end{beamercolorbox}% \end{beamercolorbox}%
\fi \fi
@ -1051,6 +1052,7 @@
\ifx\insertsectiongraphic\@empty\else% \ifx\insertsectiongraphic\@empty\else%
\vspace{1.5ex} \vspace{1.5ex}
\begin{beamercolorbox}[wd=\linewidth]{subsectiongraphic} \begin{beamercolorbox}[wd=\linewidth]{subsectiongraphic}
\usebeamerfont{normal text}%
\insertsubsectiongraphic% \insertsubsectiongraphic%
\end{beamercolorbox}% \end{beamercolorbox}%
\fi \fi