Commit f4a00157 authored by Ivo Kabadshow's avatar Ivo Kabadshow

Merge remote-tracking branch 'origin/master'

parents 0e83e30f e6ae9baf
......@@ -291,6 +291,34 @@
title page/.initial=image
}
%------------------------------------------------
% teaser page definitions
%------------------------------------------------
\expandafter\let\csname beamer@@tmpop@teaser page@default\endcsname\relax
% teaser page image version
\defbeamertemplate*{teaser page}{image}
{%
\vskip\myheadlineb%
\hspace{0.5cm}\usebeamercolor[fg]{title}\usebeamerfont*{title}\strut{}\inserttitle\par%
\hspace{0.5cm}\usebeamercolor[fg]{subtitle}\usebeamerfont{subtitle}\strut{}\insertsubtitle\par\medskip%
}
% page text version
\defbeamertemplate{teaser page}{text}
{%
\vskip\myheadlinea%
\hspace{0.5cm}\usebeamercolor[fg]{title}\usebeamerfont{title}\strut{}\inserttitle\par\medskip%
\hspace{0.5cm}\usebeamercolor[fg]{subtitle}\usebeamerfont{subtitle}\strut{}\insertsubtitle\par\bigskip\bigskip%
}
\defbeamertemplate{teaser page}{empty}{}
\pgfkeys{/beamerfzj/outer/.cd,
teaser page/.initial=image
}
%------------------------------------------------
% lecture page definitions
%------------------------------------------------
......@@ -354,7 +382,7 @@
%------------------------------------------------
\expandafter\let\csname beamer@@tmpop@section page@default\endcsname\relax
% part page image version
% section page image version
\defbeamertemplate*{section page}{image}
{%
\vskip\myheadlineb%
......@@ -363,7 +391,7 @@
% \hspace{0.5cm}\usebeamercolor[fg]{title}\usebeamerfont{date}\insertdate\enspace\vrule width0.3pt\enspace\insertauthor\enspace\vrule width0.3pt\enspace\insertinstitute%
}
% part page text version
% section page text version
\defbeamertemplate{section page}{text}
{%
\vskip\myheadlinea%
......@@ -427,7 +455,28 @@
}
%------------------------------------------------
% title slide definition via makelecture
% teaser slide definition via maketeaser
%------------------------------------------------
\def\teaserpage{\usebeamertemplate*{teaser page}}
\def\maketeaser{%
{%
\ifbeamer@inframe%
\teaserpage%
% resetting the background does not work for inframe, since empty title theme template cannot be set after \frame{...} here
\else%
\setbeamertemplate{frame number}[invisible]%
\setbeamertemplate{date}[invisible]%
\setbeamertemplate{background canvas}[\pgfkeysvalueof{/beamerfzj/outer/teaser page}]
\setbeamertemplate{title page}[\pgfkeysvalueof{/beamerfzj/outer/teaser page}]
\frame[t,noframenumbering]{\teaserpage}%
\fi%
}%
% reset background to normal slides, does not change selected theme
\setbeamertemplate{background canvas}[empty]
}
%------------------------------------------------
% lecture slide definition via makelecture
%------------------------------------------------
\def\lecturepage{\usebeamertemplate*{lecture page}}
......
......@@ -12,7 +12,7 @@
\ifluatex
\RequirePackage{microtype}
\RequirePackage{fontspec}
\RequirePackage[no-math]{fontspec}
\setmainfont{LiberationSans}
\setsansfont{LiberationSans}
\setmonofont{LiberationMono}
......
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