summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/beamertheme-focus/beamerinnerthemefocus.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-06-27 20:58:17 +0000
committerKarl Berry <karl@freefriends.org>2019-06-27 20:58:17 +0000
commite79ccbb041045e467e9bae3ba9e4b6490c1b9110 (patch)
treea8af605cb15a75553ab5b50cb34c462bfe7cf2de /Master/texmf-dist/tex/latex/beamertheme-focus/beamerinnerthemefocus.sty
parente74c348e84fe30d7277b437eae715c0afeddb7f7 (diff)
beamertheme-focus (27jun19)
git-svn-id: svn://tug.org/texlive/trunk@51489 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/beamertheme-focus/beamerinnerthemefocus.sty')
-rw-r--r--Master/texmf-dist/tex/latex/beamertheme-focus/beamerinnerthemefocus.sty42
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>