Added special footer for the toc, section and subsection slides

This commit is contained in:
Lukas Pietzschmann
2022-12-25 11:30:42 +01:00
parent f7ac05e1ed
commit be6f7196fc
2 changed files with 36 additions and 5 deletions

View File

@@ -548,13 +548,44 @@
\hfill% \hfill%
\colorbox{awesomehighlight}{ \colorbox{awesomehighlight}{
\color{white} \color{white}
\hspace{0.3cm}%
Agenda
\hspace{0.3cm} \hspace{0.3cm}
}%
\end{beamercolorbox}%
}
\vskip0pt%
}
\@nameuse{ps@navigation}
}
\def\ps@navigation@sec{
\setbeamertemplate{footline}{
\leavevmode%
\hbox{%
\usebeamerfont{footline}%
\begin{beamercolorbox}[
wd=\textwidth,
ht=2.5ex,
dp=1ex
]{footline}%
\hspace{0.3cm}%
\insertauthor%
\hfill%
\hyperlinkdocumentstart{\inserttitle}%
\hfill%
\colorbox{awesomehighlight}{
\color{white}
\hspace{0.3cm}%
\ifawesome@english@ \ifawesome@english@
Page Section
\else \else
Seite Kapitel
\fi
~\thesection
\ifx\insertsubsection\empty\else
.\thesubsection
\fi \fi
~\insertframenumber~/~\inserttotalframenumber
\hspace{0.3cm} \hspace{0.3cm}
}% }%
\end{beamercolorbox}% \end{beamercolorbox}%
@@ -589,7 +620,7 @@
\AtBeginSection[]{ \AtBeginSection[]{
\ifawesome@secslide \ifawesome@secslide
\begin{frame}[c, noframenumbering] \begin{frame}[c, noframenumbering]
\thispagestyle{navigation@toc}% \thispagestyle{navigation@sec}%
\centering% \centering%
\usebeamerfont{title}% \usebeamerfont{title}%
\usebeamercolor[fg]{section number projected}% \usebeamercolor[fg]{section number projected}%
@@ -603,7 +634,7 @@
\AtBeginSubsection[]{ \AtBeginSubsection[]{
\ifawesome@subsecslide \ifawesome@subsecslide
\begin{frame}[c, noframenumbering] \begin{frame}[c, noframenumbering]
\thispagestyle{navigation@toc}% \thispagestyle{navigation@sec}%
\centering% \centering%
\usebeamerfont{title}% \usebeamerfont{title}%
\usebeamercolor[fg]{section number projected}% \usebeamercolor[fg]{section number projected}%

Binary file not shown.