summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/beamer-contrib/themes/beamertheme-npbt/beamerouterthemeNPBT_FOM.sty
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/beamer-contrib/themes/beamertheme-npbt/beamerouterthemeNPBT_FOM.sty')
-rw-r--r--macros/latex/contrib/beamer-contrib/themes/beamertheme-npbt/beamerouterthemeNPBT_FOM.sty88
1 files changed, 88 insertions, 0 deletions
diff --git a/macros/latex/contrib/beamer-contrib/themes/beamertheme-npbt/beamerouterthemeNPBT_FOM.sty b/macros/latex/contrib/beamer-contrib/themes/beamertheme-npbt/beamerouterthemeNPBT_FOM.sty
new file mode 100644
index 0000000000..ebee40419d
--- /dev/null
+++ b/macros/latex/contrib/beamer-contrib/themes/beamertheme-npbt/beamerouterthemeNPBT_FOM.sty
@@ -0,0 +1,88 @@
+\ProvidesPackage{beamerouterthemeNPBT_FOM}[2018/08/15 v4.1 Beamer Outer Theme FOM]
+% ===========================================================================
+% beamerouterthemeNPBT_FOM.sty
+% ============================-----------------------------------------------
+%
+% (C) in 2011-2018 by Norman Markgraf (nmarkgraf(at)hotmail(dot)com)
+%
+% ---------------------------------------------------------------------------
+%
+\mode<presentation>
+% ---------------------------------------------------------------------------
+
+% ---------------------------------------------------------------------------
+%
+% Frame title template:
+%
+\defbeamertemplate{frametitle}{old}
+{
+ \leavevmode
+ \hbox{%
+ \begin{beamercolorbox}[ht=6ex,leftskip=.4cm,wd=\paperwidth]{frametitle}%
+% \strut%
+ {\small%
+ \ifthenelse{\equal{\thesection}{0}}{% then:
+ {%
+ \usebeamercolor[fg]{section in head}%
+ \usebeamerfont{section in head}%
+ \phantom{\thesection.}~\NoHyper%
+ \insertsection%
+ \endNoHyper%
+ }\\\vspace*{-1.03ex}%
+ {%
+ \usebeamercolor[fg]{frametitle in head}%
+ \usebeamerfont{section in head}%
+ ~\phantom{\thesection.}%
+ \usebeamerfont{frametitle in head}%
+ \Large\insertframetitle%
+ }%
+ }{%else:
+ \ifthenelse{\equal{\thesubsection}{0}}{% then:
+ {%
+ \usebeamercolor[fg]{section in head}%
+ \usebeamerfont{section in head}%
+ \thesection.~\NoHyper\insertsection\endNoHyper%
+ }\\\vspace*{-1.03ex}%
+ {%
+ \usebeamercolor[fg]{frametitle in head}%
+ \usebeamerfont{section in head}%
+ ~\phantom{\thesection.}%
+ \usebeamerfont{frametitle in head}%
+ \Large\insertframetitle%
+ }%
+ }{% else:
+ {%
+ \usebeamercolor[fg]{subsection in head}%
+ \usebeamerfont{subsection in head}%
+ \thesection.\thesubsection.~\insertsubsection%
+ }\\\vspace*{-1.03ex}%
+ {%
+ \usebeamercolor[fg]{frametitle in head}%
+ \usebeamerfont{subsection in head}%
+ ~\phantom{\thesection.\thesubsection.}
+ \usebeamerfont{frametitle in head}%
+ \Large\insertframetitle}%
+ }
+ }%
+ }%
+ \strut
+ \vspace*{-0.875em}
+ \includegraphics[%
+ width=0.9\paperwidth%
+ ]{%
+ \lineimage%
+ }%
+ \begin{tikzpicture}[remember picture, overlay]
+ \node[shift={(\logoxshift,\logoyshift)},inner sep=0pt] at (current page.north east){%
+ \includegraphics[width=\logowidth,height=\logoheight]{\logoimage}%
+ };%
+ \end{tikzpicture}%
+ \end{beamercolorbox}%
+ }%
+}
+
+% ---------------------------------------------------------------------------
+\mode<all>
+%
+% ===========================================================================
+% \ No newline at end of file