Setup for part page.

This commit is contained in:
Achim D. Brucker 2017-01-02 20:34:20 +00:00
parent 56a6832a4d
commit 3155206aed
3 changed files with 11 additions and 14 deletions

View File

@ -15,6 +15,8 @@
\mode<presentation>
\setbeamercolor{structure}{fg=lhOrange}
\setbeamercolor{footer}{fg=white, bg=lhDarkGray}
\setbeamercolor{part title}{parent=footer}
\setbeamercolor{alerted text}{fg=lhOrange}

View File

@ -48,12 +48,14 @@
\advance\@tempdima by -6mm
\leavevmode%
\centerline{%
\colorbox{black}{%
\usebeamercolor{footer}{
\colorbox{bg}{%
\parbox{\@tempdima}{\mbox{}\\[.07cm]
\mbox{}\quad \textcolor{white}{\bfseries \textcopyright~\the\year{} \href{https://logicalhacking.com}{Logicalhacking.com}. All Rights Reserved. \hfill
\textcolor{lhOrange}{\textbf{\footnotesize \lh@classification}}\hfill
Page \insertframenumber{} of \inserttotalframenumber}\quad\mbox{}\\[.07cm]
}}}%
\mbox{}\quad \textcolor{fg}{\bfseries \textcopyright~\the\year{} \href{https://logicalhacking.com}{Logicalhacking.com}. All Rights Reserved. \hfill
\lh@classification\hfill
\insertsectionhead/\insertsubsectionhead
\footnotesize Page \insertframenumber{} of \inserttotalframenumber}\quad\mbox{}\\[.07cm]
}}}}%
\vskip0pt%
}
@ -85,7 +87,7 @@
\vskip-1em%
\vfill%
}%
\centerline{\color{black}% lhDarkGray}%
\centerline{\color{lhDarkGray}% black}% lhDarkGray}%
\parbox{\@tempdima}{\rule{\textwidth}{.3pt}}}
}

View File

@ -76,15 +76,8 @@
}
\DeclareDocumentCommand{\PartFrame}{ O{red} O{white} m }{%
\setbeamercolor{footer}{fg=#1, bg=#2}
\bgroup
\setbeamertemplate{footline}[default]
\ifbeamer@colour
\setbeamercolor{normal text}{fg=#2, bg=#1}
\setbeamercolor{structure}{fg=#2, bg=#1}
\else
\setbeamercolor{normal text}{fg=#1, bg=#2}
\setbeamercolor{structure}{fg=#1, bg=#2}
\fi
\part{#3}
\frame{\partpage}
\egroup