Commit 26c5fac8 authored by Ivo Kabadshow's avatar Ivo Kabadshow

initial commit of FZJ CD v17.12

parents
% Latex-Beamer Template Research Centre Juelich
% version 17.12
% please report any problems to i.kabadshow@fz-juelich.de
% this version does support pdflatex, xelatex and lualatex
%
\mode<presentation>
% new colors
\definecolor{fzjblue}{RGB}{2,61,107} % first color
\colorlet{color1}{fzjblue}
\definecolor{fzjlightblue}{RGB}{173,189,227} % second color
\colorlet{color2}{fzjlightblue}
\definecolor{fzjgray}{RGB}{235,235,235} % third color
\colorlet{color3}{fzjgray}
\definecolor{fzjred}{RGB}{235, 95, 115} % FZJ raspberry red
\colorlet{color4}{fzjred}
\definecolor{fzjgreen}{RGB}{185, 210, 95} % FZJ grass green
\colorlet{color4}{fzjgreen}
\definecolor{fzjyellow}{RGB}{250, 235, 90} % FZJ citrus yellow
\colorlet{color4}{fzjyellow}
\definecolor{fzjviolet}{RGB}{175, 130, 185} % FZJ Hyacinth violet
\colorlet{color4}{fzjviolet}
\definecolor{fzjorange}{RGB}{250, 180, 90} % FZJ apricot orange
\colorlet{color4}{fzjorange}
\definecolor{fzjwhite}{RGB}{255,255,255}
\setbeamercolor{note page}{bg=white, fg=black}
\setbeamercolor{note title}{bg=fzjlightblue!50!white, fg=black}
\setbeamercolor{note date}{fg=fzjblue}
% beamer color definitions
\setbeamercolor{structure}{fg=fzjblue,bg=}
\setbeamercolor{palette primary}{use=structure,fg=fzjblue,bg=}
\setbeamercolor{title}{fg=white,bg=}
\setbeamercolor{subtitle}{fg=fzjlightblue,bg=}
\setbeamercolor{header}{fg=fzjblue,bg=}
\setbeamercolor{navigation symbols}{fg=fzjgray,bg=}
\setbeamercolor{frametitle}{fg=fzjblue,bg=}
\setbeamercolor{framesubtitle}{fg=fzjblue,bg=}
\setbeamercolor{footline}{fg=fzjblue, bg=}
\setbeamercolor{inverse}{fg=fzjwhite,bg=fzjblue}
\setbeamercolor{normal text}{fg=black,bg=white}
\setbeamercolor{date in head/foot}{fg=structure}
\setbeamercolor{alerted text}{fg=fzjred}
\setbeamercolor{example text}{fg=fzjlightblue}
\setbeamercolor{emphasized text}{fg=fzjblue}
\setbeamercolor{part name}{fg=white}
\setbeamercolor{part title}{fg=white}
% Block stuff
\setbeamercolor{block title}{use=structure,fg=white,bg=structure.fg}
\setbeamercolor{block title alerted}{use=alerted text,fg=white,bg=alerted text.fg}
\setbeamercolor{block title example}{use=example text,fg=white,bg=example text.fg}
\setbeamercolor{block body}{parent=normal text,use=block title,bg=block title.bg!10!bg}
\setbeamercolor{block body alerted}{parent=normal text,use=block title alerted,bg=fzjgray}
\setbeamercolor{block body example}{parent=normal text,use=block title example,bg=fzjgray}
\mode<all>
% Latex-Beamer Template Research Centre Juelich
% version 17.12
% please report any problems to i.kabadshow@fz-juelich.de
% this version does support pdflatex, xelatex and lualatex
%
\mode<presentation>
\setbeamerfont{subtitle short}{size*={16pt}{18pt},series=\bfseries} % 30pt, baselineskip 36pt
\setbeamerfont{subtitle long}{size*={9pt}{11pt},series=\bfseries} % 18pt, baselineskip 22pt
\setbeamerfont*{subtitle}{parent=subtitle long} % reset font (*) and use parent font size
% deault subline style to short UPPERCASE s p a c e d text
\setbeamerfont*{subtitle}{parent=subtitle short}
%\setbeamerfont{normal text}{size*={8pt}{9pt}} % 14pt, baselineskip 18pt
\setbeamerfont{footline}{size*={4.5pt}{5pt}}
\setbeamerfont{frametitle}{size*={16pt}{16pt},series=\bfseries} %30pt, baselineskip 36pt
\setbeamerfont{framesubtitle}{size*={9pt}{11pt},series=\bfseries} % 18pt, baselineskip 22pt
% Default Definitions
\setbeamerfont{alerted text}{}
\setbeamerfont{example text}{}
\setbeamerfont{structure}{}
\setbeamerfont{tiny structure}{size=\tiny}
\setbeamerfont{title in head/foot}{}
\setbeamerfont{title in sidebar}{size=\tiny}
\setbeamerfont{author}{}
\setbeamerfont{author in head/foot}{}
\setbeamerfont{author in sidebar}{size=\tiny}
\setbeamerfont{institute}{size=\scriptsize}
\setbeamerfont{institute in head/foot}{}
\setbeamerfont{institute in sidebar}{}
\setbeamerfont{date}{size*={8pt}{8pt}}
\setbeamerfont{date in head/foot}{parent=footline}
\setbeamerfont{date in sidebar}{}
\setbeamerfont{part name}{size=\Large}
\setbeamerfont{part title}{parent=title}
\setbeamerfont{section in toc}{parent=structure}
\setbeamerfont{section in toc shaded}{parent=section in toc}
\setbeamerfont{section in head/foot}{}
\setbeamerfont{section in sidebar}{size=\tiny}
\setbeamerfont{section number projected}{size=\small,parent={section in toc,projected text}}
\setbeamerfont{subsection in toc}{}
\setbeamerfont{subsection in toc shaded}{parent=subsection in toc}
\setbeamerfont{subsection in head/foot}{}
\setbeamerfont{subsection in sidebar}{}
\setbeamerfont{subsubsection in toc}{size=\footnotesize}
\setbeamerfont{subsubsection in toc shaded}{parent=subsubsection in toc}
\setbeamerfont{subsubsection in head/foot}{}
\setbeamerfont{subsubsection in sidebar}{}
\setbeamerfont{headline}{parent={tiny structure}}
\setbeamerfont{footline}{parent={tiny structure}}
\setbeamerfont{sidebar}{size=\Tiny,parent={tiny structure}}
\setbeamerfont{sidebar left}{parent=sidebar}
\setbeamerfont{sidebar right}{parent=sidebar}
\setbeamerfont{caption}{size=\small}
\setbeamerfont{caption name}{parent={structure,caption}}
\setbeamerfont{button}{size=\tiny}
\setbeamerfont{block body}{}
\setbeamerfont{block body alerted}{}
\setbeamerfont{block body example}{}
\setbeamerfont{block title}{size=\large,parent={structure,block body}}
\setbeamerfont{block title alerted}{parent={block title,alerted text}}
\setbeamerfont{block title example}{parent={block title,example text}}
\setbeamerfont{item}{parent=structure}
\setbeamerfont{subitem}{parent=item}
\setbeamerfont{subsubitem}{parent=subitem}
\setbeamerfont{item projected}{size=\tiny,parent={item,projected text}}
\setbeamerfont{subitem projected}{parent=item projected}
\setbeamerfont{subsubitem projected}{parent=subitem projected}
\setbeamerfont{itemize item}{parent=item}
\setbeamerfont{itemize subitem}{parent=subitem}
\setbeamerfont{itemize subsubitem}{parent=subsubitem}
\setbeamerfont{enumerate item}{parent=item}
\setbeamerfont{enumerate subitem}{parent=subitem}
\setbeamerfont{enumerate subsubitem}{parent=subsubitem}
\setbeamerfont{itemize/enumerate body}{}
\setbeamerfont{itemize/enumerate subbody}{size=\small}
\setbeamerfont{itemize/enumerate subsubbody}{size=\footnotesize}
\setbeamerfont{description item}{parent=item}
\setbeamerfont{projected text}{parent={tiny structure}}
\setbeamerfont{abstract}{size=\small}
\setbeamerfont{abstract title}{parent={abstract,structure},size=\normalsize}
\setbeamerfont{verse}{family=\rmfamily,shape=\itshape}
\setbeamerfont{quotation}{shape=\itshape}
\setbeamerfont{quote}{parent=quotation}
\setbeamerfont{note page}{size=\small}
\makeatletter
\pgfkeys{
/beamerfzj/font/title/.cd,
.is choice,
.default=regular,
regular/.code={%
\let\beamerfzj@titleformatcaps\emptydummya%
\let\beamerfzj@titleformatspacinga\emptydummya%
\let\beamerfzj@titleformatspacingb\emptydummyb%
\setbeamerfont{title}{size*={16pt}{18pt},series=\bfseries} % 32pt, baselineskip 36pt%
},
allcaps/.code={%
\let\beamerfzj@titleformatcaps\uppercase%
\let\beamerfzj@titleformatspacinga\textls%
\let\beamerfzj@titleformatspacingb\addfontfeature%
\setbeamerfont{title}{size*={16pt}{18pt},series=\bfseries} % 32pt, baselineskip 36pt%
},
}
\pgfkeys{
/beamerfzj/font/subtitle/.cd,
.is choice,
.default=allcaps,
regular/.code={%
\let\beamerfzj@subtitleformatcaps\emptydummya%
\let\beamerfzj@subtitleformatspacinga\emptydummya
\let\beamerfzj@subtitleformatspacingb\emptydummyb%
\setbeamerfont{subtitle long}{size*={9pt}{11pt},series=\bfseries} % 18pt, baselineskip 22pt
},
allcaps/.code={%
\let\beamerfzj@subtitleformatcaps\uppercase%
\let\beamerfzj@subtitleformatspacinga\textls%
\let\beamerfzj@subtitleformatspacingb\addfontfeature%
\setbeamerfont{title}{size*={16pt}{16pt},series=\bfseries} % 30pt, baselineskip 36pt%
},
}
\pgfkeys{
/beamerfzj/font/part/.cd,
.is choice,
.default=allcaps,
regular/.code={%
\let\beamerfzj@partformatcaps\emptydummya%
\let\beamerfzj@partformatspacinga\emptydummya
\let\beamerfzj@partformatspacingb\emptydummyb%
\setbeamerfont{part}{size*={16pt}{18pt},series=\bfseries} % 30pt, baselineskip 36pt%
},
allcaps/.code={%
\let\beamerfzj@partformatcaps\MakeUppercase%
\let\beamerfzj@partformatspacinga\textls%
\let\beamerfzj@partformatspacingb\addfontfeature%
\setbeamerfont{part}{size*={16pt}{18pt},series=\bfseries} % 30pt, baselineskip 36pt%
},
}
\fzjset{part=allcaps}
% define options for letter spacing
\providecommand{\emptydummyb}[1]{} % eats argument of \uppercase() and and \addfontfeature{}
\providecommand{\emptydummya}[2][]{#2}{} % eats optional argument of textls and forwards #2 argument
\providecommand{\addfontfeature}[1]{} % defined only if latex or pdflatex is used, available in xelatex and lualatex
\providecommand{\textls}[2][]{#2}{} % defined only if microtype is loaded
% redefine beamer title, subtitle command
\def\beamerfzj@titleformat#1{#1}
\def\beamerfzj@subtitleformat#1{#1}
\def\beamerfzj@partformat#1{#1}
\patchcmd{\beamer@title}%
{\def\inserttitle{#2}}%
{\def\inserttitle{{\beamerfzj@titleformatspacingb{LetterSpace=15.0}\beamerfzj@titleformatcaps{\beamerfzj@titleformatspacinga[120]{#2}}}}}%
{}%
{\PackageError{beamerfzj}{Patching original title failed}\@ehc}
\patchcmd{\beamer@subtitle}%
{\def\insertsubtitle{#2}}%
{\def\insertsubtitle{{\beamerfzj@subtitleformatspacingb{LetterSpace=15.0}\beamerfzj@subtitleformatcaps{\beamerfzj@subtitleformatspacinga[120]{#2}}}}}%
{}%
{\PackageError{beamerfzj}{Patching original subtitle failed}\@ehc}
\patchcmd{\beamer@part}%
{\def\insertpart{\expandafter\hyperlink\partlink}}%
{\def\insertpart{{\beamerfzj@partformatspacingb{LetterSpace=15.0}\beamerfzj@partformatcaps{\beamerfzj@partformatspacinga[120]{\expandafter\hyperlink\partlink}}}}}%
{}%
{\PackageError{beamerfzj}{Patching original part failed}\@ehc}
\makeatother
\mode
<all>
% Latex-Beamer Template Research Centre Juelich
% version 17.12
% please report any problems to i.kabadshow@fz-juelich.de
% this version does support pdflatex, xelatex and lualatex
%
\mode<presentation>
%------------------------------------------------
% subtitle: allow different styles
%------------------------------------------------
\expandafter\let\csname beamer@@tmpop@subtitle@default\endcsname\relax
\defbeamertemplate*{subtitle}{short}
{%
\setbeamerfont*{subtitle}{parent=subtitle short}
}
\defbeamertemplate{subtitle}{long}
{%
\setbeamerfont*{subtitle}{parent=subtitle long}
}
\defbeamertemplatealias{subtitle}{default}{short}
% Enumerate items, Juelich
\setbeamertemplate{enumerate items}[square]
\expandafter\let\csname beamer@@tmpop@itemize item@square\endcsname\relax
\defbeamertemplate*{itemize item}{square}{\small\hbox{\vrule width 1ex height 1ex}}
\expandafter\let\csname beamer@@tmpop@itemize subitem@square\endcsname\relax
\defbeamertemplate*{itemize subitem}{square}{\footnotesize\hbox{\vrule width 1ex height 1ex}}
\expandafter\let\csname beamer@@tmpop@itemize subsubitem@dash\endcsname\relax
\defbeamertemplate*{itemize subsubitem}{dash}{\footnotesize---}
\setbeamercolor{block title}{use=structure,fg=white,bg=structure.fg}
% fix block spacing
%\addtobeamertemplate{block begin}{\vskip-\medskipamount}{}
\addtobeamertemplate{block end}{}{\vskip-\smallskipamount}
%
\renewcommand{\emph}[1]{\structure{#1}}
\let\oldabovecaptionskip\abovecaptionskip
\let\oldbelowcaptionskip\belowcaptionskip
\BeforeBeginEnvironment{columns}{%
\setlength{\abovecaptionskip}{\dimexpr\oldabovecaptionskip+12.2pt\relax}%
\setlength{\belowcaptionskip}{\dimexpr\oldbelowcaptionskip-11.86pt\relax}%
\begin{minipage}{\linewidth}}
\AfterEndEnvironment{columns}{\end{minipage}}
\mode<all>
% Latex-Beamer Template Research Centre Juelich
% version 17.12
% please report any problems to i.kabadshow@fz-juelich.de
% this version does support pdflatex, xelatex and lualatex
%
\setbeamersize{text margin left=0.5cm,text margin right=0.5cm}
% compute white border
\newlength{\myborder}
\setlength{\myborder}{\dimexpr(\paperwidth-0.1\paperheight)\relax}
% compute height of letter H in title
\newlength{\mylen}
\settoheight{\mylen}{\usebeamerfont{title}H} % according to the CD the headline is not aligned at the baseline, but the top left corner
\newlength{\myheadlinea}
\setlength{\myheadlinea}{\dimexpr(0.10\paperheight-\headheight-6pt+\mylen)\relax}
\newlength{\myheadlineb}
\setlength{\myheadlineb}{\dimexpr(0.55\paperheight-\headheight-6pt+\mylen)\relax} % alignmet at the left top corner of the headline
\newlength{\hlvstart}
\setlength{\hlvstart}{\dimexpr(1cm-15pt)\relax}
% alignment
\newcommand{\tlap}[1]{\vbox to 0pt{\vss\hbox{#1}}}
\newcommand{\blap}[1]{\vbox to 0pt{\hbox{#1}\vss}}
\mode<presentation>
%------------------------------------------------
% navigation symbols
%------------------------------------------------
\expandafter\let\csname beamer@@tmpop@navigation symbols@default\endcsname\relax
\defbeamertemplate{navigation symbols}{visible}
{%
\hbox{%
\insertslidenavigationsymbol%
\insertframenavigationsymbol%
\insertsubsectionnavigationsymbol%
\insertsectionnavigationsymbol%
\insertdocnavigationsymbol%
\insertbackfindforwardnavigationsymbol}%
}
\defbeamertemplate*{navigation symbols}{invisible}{}
\defbeamertemplatealias{navigation symbols}{default}{invisible}
% handout and trans mode settings
\only<handout| trans>{
% diable navigation symbols
\setbeamertemplate{navigation symbols}{}
}
%------------------------------------------------
% Helmholtz Banner
%------------------------------------------------
\defbeamertemplate*{helmholtz banner}{}{\translate{HelmholtzBanner}}
%------------------------------------------------
% frame number
%------------------------------------------------
\defbeamertemplate*{frame number}{visible}[1][\translate{SlideName}]
{%
\usebeamercolor[fg]{footline}%
#1~\insertframenumber%
}
\defbeamertemplate{frame number}{full}[1][\translate{SlideName}]
{%
\usebeamercolor[fg]{footline}%
#1~\insertframenumber\,\vrule width0.3pt\,\inserttotalframenumber%
}
\defbeamertemplate{frame number}{invisible}[1][]{}
\defbeamertemplatealias{frame number}{default}{visible}
%------------------------------------------------
% date in footer
%------------------------------------------------
\expandafter\let\csname beamer@@tmpop@date@default\endcsname\relax
\defbeamertemplate*{date}{visible}
{%
\usebeamercolor[fg]{footline}%
\insertdate%
}
\defbeamertemplate{date}{invisible}{}
\defbeamertemplatealias{date}{default}{visible}
%------------------------------------------------
% headline
%------------------------------------------------
\expandafter\let\csname beamer@@tmpop@headline@default\endcsname\relax
\defbeamertemplate*{headline}{visible}[1][\usebeamertemplate*{navigation symbols}]
{%
\begin{beamercolorbox}[wd=\paperwidth,ht=0ex,dp=0ex]{header}%
\hfill\blap{#1}%
\end{beamercolorbox}%
}
\defbeamertemplate{headline}{invible}{}
\defbeamertemplatealias{headline}{default}{visible}
%------------------------------------------------
% footer elements: empty settings
%------------------------------------------------
\defbeamertemplate{footer element1}{empty}{}
\defbeamertemplate{footer element2}{empty}{}
\defbeamertemplate{footer element3}{empty}{}
\defbeamertemplate{footer element4}{empty}{}
%------------------------------------------------
% footline
%------------------------------------------------
\expandafter\let\csname beamer@@tmpop@footline@default\endcsname\relax
\defbeamertemplate*{footline}{four elements}
{%
\leavevmode%
\ifbeamertemplateempty{footer element1}{
}{%
\usebeamertemplate*{footer element1}%
}%
\hfill%
\ifbeamertemplateempty{footer element2}{}{%
\usebeamertemplate*{footer element2}%
}%
\hfill%
\ifbeamertemplateempty{footer element3}{}{%
\usebeamertemplate*{footer element3}%
}%
\hfill%
\ifbeamertemplateempty{footer element4}{}{%
\usebeamertemplate*{footer element4}%
}%
\par%
\ifbeamertemplateempty{progressbar}{}{%
\usebeamertemplate*{progressbar}
}%
}%
\defbeamertemplatealias{footline}{four elements}{default}
%------------------------------------------------
% footer elements: logos
%------------------------------------------------
\defbeamertemplate{footer element1}{logo}[1]
{%
\begin{beamercolorbox}[sep=0.0cm,left,wd=.25\paperwidth,ht=1.25em,dp=0.0cm]{footline}
\includegraphics[width=3.0cm]{#1}%
\end{beamercolorbox}%
}
\defbeamertemplate{footer element2}{logo}[1]
{%
\begin{beamercolorbox}[sep=0.0cm,center,wd=.25\paperwidth,ht=1.25em,dp=0.0cm]{footline}
\includegraphics[width=3.0cm]{#1}%
\end{beamercolorbox}%
}
\defbeamertemplate{footer element3}{logo}[1]
{%
\begin{beamercolorbox}[sep=0.0cm,center,wd=.25\paperwidth,ht=1.25em,dp=0.0cm]{footline}
\includegraphics[width=3.0cm]{#1}%
\end{beamercolorbox}%
}
%------------------------------------------------
% footer elements: default settings
%------------------------------------------------
\defbeamertemplate*{footer element1}{default}[1][\usebeamertemplate{helmholtz banner}]
{%
\tlap{%
\vspace{\dimexpr(.5cm-3pt)}%
\begin{beamercolorbox}[sep=0.0cm,wd=.25\paperwidth,ht=1.25em,dp=0.0cm]{footline}
\hspace*{0.5cm}#1 % if no extra option is given, use \usebeamertemplate{helmholtz banner}
\end{beamercolorbox}%
}%
}
\defbeamertemplate*{footer element2}{default}[1][\usebeamertemplate{date}]
{%
\tlap{%
\vspace{\dimexpr(.5cm-3pt)}%
\begin{beamercolorbox}[sep=0.0cm,center,wd=.25\paperwidth,ht=1.25em,dp=0.0cm]{footline}
#1 % if no extra option is given, use \usebeamertemplate*{date}
\end{beamercolorbox}%
}%
}
\defbeamertemplate*{footer element3}{default}[1][\usebeamertemplate*{frame number}]
{%
\tlap{%
\vspace{\dimexpr(.5cm-3pt)}%
\begin{beamercolorbox}[sep=0.0cm,center,wd=.25\paperwidth,ht=1.25em,dp=0.0cm]{footline}
#1 % if no extra option is given, use \usebeamertemplate*{frame number}
\end{beamercolorbox}%
}%
}
\defbeamertemplate*{footer element4}{default}
{%
\begin{beamercolorbox}[sep=0.0cm,right,wd=.25\paperwidth,ht=1.25em,dp=0.0cm]{footline}
\includegraphics[scale=0.50]{fzj}%
\end{beamercolorbox}%
}
%------------------------------------------------
% progressbar at the very bottom
%------------------------------------------------
\defbeamertemplate{progressbar}{visible}
{%
\tlap{\progressbar@progressbar}
}
\defbeamertemplate*{progressbar}{invisible}{}
\defbeamertemplatealias{footline}{default}{visible}
% handout and trans mode settings
\only<handout| trans>{%
% disable progressbar
\setbeamertemplate{progressbar}[invisible]
}
%------------------------------------------------
% background canvas
%------------------------------------------------
\expandafter\let\csname beamer@@tmpop@background canvas@default\endcsname\relax
% blue background canvas for titles slide, option 1
\defbeamertemplate{background canvas}{text}
{%
\vbox{%
\vskip0.05\paperheight%
\hbox{\color{fzjblue}\vrule width \paperwidth height 0.74\paperheight}%
}%
}
% blue background canvas for titles slide + image, option 2
\defbeamertemplate{background canvas}{image}
{%
\vbox{%
\vskip0.05\paperheight%
\hskip0.05\paperheight\tikz\node[draw=none,
minimum width=\myborder,
minimum height=0.45\paperheight,
path picture={
\node at (path picture bounding box.center){
\inserttitlegraphic%
};
}]{};
\hbox{\color{fzjblue}\vrule width\paperwidth height0.29\paperheight}%
}%
}
\defbeamertemplate*{background canvas}{empty}{}
\pgfkeys{/beamerfzj/outer/.cd,
background canvas/.initial=empty
}
%------------------------------------------------
% title page definitions
%------------------------------------------------
\expandafter\let\csname beamer@@tmpop@title page@default\endcsname\relax
% title page image version
\defbeamertemplate*{title page}{image}
{%
\vskip\myheadlineb%
\usebeamercolor[fg]{title}\usebeamerfont*{title}\strut{}\inserttitle\par%
\usebeamercolor[fg]{subtitle}\usebeamerfont{subtitle}\strut{}\insertsubtitle\par\medskip%
\usebeamercolor[fg]{title}\usebeamerfont*{date}\insertdate\enspace\vrule width0.3pt\enspace\insertauthor\enspace\vrule width0.3pt\enspace\insertinstitute%
}
% title page text version
\defbeamertemplate{title page}{text}
{%
\vskip\myheadlinea%
\usebeamercolor[fg]{title}\usebeamerfont{title}\strut{}\inserttitle\par\medskip%
\usebeamercolor[fg]{subtitle}\usebeamerfont{subtitle}\strut{}\insertsubtitle\par\bigskip\bigskip%
\usebeamercolor[fg]{title}\usebeamerfont*{date}\insertdate\enspace\vrule width0.3pt\enspace\insertauthor\enspace\vrule width0.3pt\enspace\insertinstitute
}
\defbeamertemplate{title page}{empty}{}
\pgfkeys{/beamerfzj/outer/.cd,
title page/.initial=image
}
%------------------------------------------------
% lecture page definitions
%------------------------------------------------
\expandafter\let\csname beamer@@tmpop@lecture page@default\endcsname\relax
% part page image version
\defbeamertemplate*{lecture page}{image}
{%
\vskip\myheadlineb%
\usebeamercolor[fg]{title}\usebeamerfont{title}\strut{}\insertlecture\par%
% \usebeamercolor[fg]{subtitle}\usebeamerfont{subtitle}\strut{}\insertsubtitle\par\medskip%
\usebeamercolor[fg]{title}\usebeamerfont*{date}\insertdate\enspace\vrule width0.3pt\enspace\insertauthor\enspace\vrule width0.3pt\enspace\insertinstitute%
}
% part page text version
\defbeamertemplate{lecture page}{text}
{%
\vskip\myheadlinea%
\usebeamercolor[fg]{title}\usebeamerfont{title}\strut{}\insertlecture\par\medskip%
% \usebeamercolor[fg]{subtitle}\usebeamerfont{subtitle}\strut{}\insertsubtitle\par\bigskip\bigskip%
\usebeamercolor[fg]{title}\usebeamerfont*{date}\insertdate\enspace\vrule width0.3pt\enspace\insertauthor\enspace\vrule width0.3pt\enspace\insertinstitute