Aufgrund einer Wartung wird GitLab am 17.08. zwischen 8:30 und 9:00 Uhr kurzzeitig nicht zur Verfügung stehen. / Due to maintenance, GitLab will be temporarily unavailable on 17.08. between 8:30 and 9:00 am.

Add section-ttile-frames

Signed-off-by: Adrian C. Hinrichs's avatarAdrian C. Hinrichs <adrian.hinrichs@rwth-aachen.de>
parent 86033e89
......@@ -63,6 +63,6 @@
\setbeamercolor{block body alerted}{bg=rot-10}
% Title page header bar
\setbeamercolor{title page bar}{parent={primary}}
\setbeamercolor{title page bar}{fg=rwth}
\mode<all>
......@@ -4,6 +4,16 @@
\RequirePackage{calc}
\RequirePackage{ifthen}
% For conditionals
\def\prjktn@inner@false{f}
\def\prjktn@inner@true{t}
\DeclareOptionBeamer{sectiontitles}{\def\prjktn@inner@sectiontitles{#1}}
\ExecuteOptionsBeamer{sectiontitles=t} % default value
\ProcessOptionsBeamer
% t= true, anything else disables them, t is default
\providecommand\inserttitle{}
\providecommand\insertsubtitle{}
......@@ -21,6 +31,8 @@
\includegraphics[width=\paperwidth]{#2}};}
}
}
\newcommand{\prjktn@inversetitlepagebox}[2]{
\tikz[overlay, remember picture] {
\fill[color=#1] ($(current page.south west)$) rectangle
......@@ -69,6 +81,37 @@
}
}
%%%
% Section Titles page
%%%
\defbeamertemplate{section title}{projektion}{
\usebeamercolor{palette primary}
\prjktn@titlepagebox{bg}{}
\tikz[overlay, remember picture]{
% Insert title
\node[anchor=east] (title) at ($(current page.south west)+(0.7\paperwidth,.5\paperheight-.5\titlebarheight)$)
{\usebeamerfont{title}\insertsectionhead};
% Paint Line
\draw[line width=2pt,color=bg] ($(current page.south west)
+ (0.725\paperwidth,.5\paperheight-.5\titlebarheight+.75\titleheight)$)
-- ($(current page.south west)
+ (0.725\paperwidth,.5\paperheight-.5\titlebarheight-.75\titleheight)$);
}
}
\if\prjktn@inner@sectiontitles\prjktn@inner@true
\AtBeginSection[]{
\setbeamertemplate{section title}[projektion]{}
\begin{frame}[plain]
\usebeamertemplate{section title}
\end{frame}
}
\else
\fi
%%%
% Template for final slide
%%%
......
......@@ -6,6 +6,7 @@
\mode<presentation>
%This template uses a 16:9 paper-format
\geometry{paperwidth=33.867cm,paperheight=19.05cm}
......@@ -23,6 +24,11 @@
\setlength{\leftmarginiii}{3em}
% Load all the parts
\DeclareOptionBeamer{sectiontitles}{
\PassOptionsToPackage{sectiontitles=#1}{beamerinnerthemeprojektion}
}
\ProcessOptionsBeamer
\useinnertheme{projektion}
\useoutertheme{projektion}
\usecolortheme{projektion}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment