diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/beamertheme-focus/beamerinnerthemefocus.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/beamertheme-focus/beamerinnerthemefocus.sty | 42 |
1 files changed, 39 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/beamertheme-focus/beamerinnerthemefocus.sty b/Master/texmf-dist/tex/latex/beamertheme-focus/beamerinnerthemefocus.sty index 1fc1be8442a..a753dacf367 100644 --- a/Master/texmf-dist/tex/latex/beamertheme-focus/beamerinnerthemefocus.sty +++ b/Master/texmf-dist/tex/latex/beamertheme-focus/beamerinnerthemefocus.sty @@ -77,7 +77,8 @@ \vspace*{\baselineskip} \begin{minipage}[t]{\textwidth} - \usebeamerfont{date}{\insertdate} + \usebeamerfont{date} + \insertdate \end{minipage} \vspace*{0pt plus 100fill} @@ -100,8 +101,13 @@ \usebeamercolor[fg]{frametitle} \let\hyperlink\@secondoftwo\insertsection \end{minipage} - - \vspace*{0pt plus 100fill} + + \vspace{1.5\baselineskip} + \begin{minipage}[t][0.55\paperheight]{\textwidth} + \usebeamerfont{subsectiontitle} + \usebeamercolor[bg]{frametitle} + \insertsubsection + \end{minipage} } \AtBeginSection[]{% @@ -110,4 +116,34 @@ \end{frame}% } +% Subsection page. +\defbeamertemplate*{subsection page}{focus}{% + {% + \usebeamercolor{frametitle}\colorlet{focus@@temp}{bg}% + \begin{tikzpicture}[overlay, remember picture] + \fill[color=focus@@temp] (current page.north west) rectangle ([shift = {(0, -0.45\paperheight)}] current page.north east); + \end{tikzpicture}% + } + + \vspace{-2.5\baselineskip} + \begin{minipage}[b][0.45\paperheight]{\textwidth} + \usebeamerfont{sectiontitle} + \usebeamercolor[fg]{frametitle} + \let\hyperlink\@secondoftwo\insertsection + \end{minipage} + + \vspace{1.5\baselineskip} + \begin{minipage}[t][0.55\paperheight]{\textwidth} + \usebeamerfont{subsectiontitle} + \usebeamercolor[bg]{frametitle} + \insertsubsection + \end{minipage} +} + +\AtBeginSubsection[]{% + \begin{frame}[plain, noframenumbering]{} + \subsectionpage + \end{frame}% +} + \mode<all> |