You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
61 lines
2.0 KiB
61 lines
2.0 KiB
% Copyright 2007 by Till Tantau
|
|
% Copyright 2015 by Vedran Mileti\'c, Joseph Wright
|
|
%
|
|
% This file may be distributed and/or modified
|
|
%
|
|
% 1. under the LaTeX Project Public License and/or
|
|
% 2. under the GNU Public License.
|
|
%
|
|
% See the file doc/licenses/LICENSE for more details.
|
|
|
|
\newif\ifbeamer@tree@showhooks
|
|
\beamer@tree@showhookstrue
|
|
|
|
\DeclareOptionBeamer{hooks}[true]{\csname beamer@tree@showhooks#1\endcsname}
|
|
\ProcessOptionsBeamer
|
|
|
|
\mode<presentation>
|
|
|
|
\defbeamertemplate*{headline}{tree theme}
|
|
{%
|
|
\begin{beamercolorbox}[wd=\paperwidth,colsep=1.5pt]{upper separation line head}
|
|
\end{beamercolorbox}
|
|
\begin{beamercolorbox}[wd=\paperwidth,ht=2.5ex,dp=1.125ex,%
|
|
leftskip=.3cm,rightskip=.3cm plus1fil]{title in head/foot}
|
|
\usebeamerfont{title in head/foot}\insertshorttitle
|
|
\end{beamercolorbox}
|
|
\begin{beamercolorbox}[wd=\paperwidth,ht=2.5ex,dp=1.125ex,%
|
|
leftskip=.3cm,rightskip=.3cm plus1fil]{section in head/foot}
|
|
\usebeamerfont{section in head/foot}%
|
|
\ifbeamer@tree@showhooks
|
|
\setbox\beamer@tempbox=\hbox{\insertsectionhead}%
|
|
\ifdim\wd\beamer@tempbox>1pt%
|
|
\hskip2pt\raise1.9pt\hbox{\vrule width0.4pt height1.875ex\vrule width 5pt height0.4pt}%
|
|
\hskip1pt%
|
|
\fi%
|
|
\else%
|
|
\hskip6pt%
|
|
\fi%
|
|
\insertsectionhead
|
|
\end{beamercolorbox}
|
|
\begin{beamercolorbox}[wd=\paperwidth,ht=2.5ex,dp=1.125ex,%
|
|
leftskip=.3cm,rightskip=.3cm plus1fil]{subsection in head/foot}
|
|
\usebeamerfont{subsection in head/foot}%
|
|
\ifbeamer@tree@showhooks
|
|
\setbox\beamer@tempbox=\hbox{\insertsubsectionhead}%
|
|
\ifdim\wd\beamer@tempbox>1pt%
|
|
\hskip9.4pt\raise1.9pt\hbox{\vrule width0.4pt height1.875ex\vrule width 5pt height0.4pt}%
|
|
\hskip1pt%
|
|
\fi%
|
|
\else%
|
|
\hskip12pt%
|
|
\fi%
|
|
\insertsubsectionhead
|
|
\end{beamercolorbox}
|
|
\begin{beamercolorbox}[wd=\paperwidth,colsep=1.5pt]{lower separation line head}
|
|
\end{beamercolorbox}
|
|
}
|
|
|
|
|
|
\mode
|
|
<all>
|
|
|