diff options
author | Karl Berry <karl@freefriends.org> | 2009-07-17 00:57:54 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-07-17 00:57:54 +0000 |
commit | 50e41b53ae966ed159cdb3fde4b26e0f6ce317fe (patch) | |
tree | 73d13d3ccb3cadc7dda9385875bf44b4e89b7915 /Master/texmf-dist/tex/xelatex/bidi/beamerthemebidiJLTree.sty | |
parent | 6daa627c7cb7dfd9e78504d4641c87a0d4248724 (diff) |
bidi 1.0.1 (14jul09)
git-svn-id: svn://tug.org/texlive/trunk@14288 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/xelatex/bidi/beamerthemebidiJLTree.sty')
-rw-r--r-- | Master/texmf-dist/tex/xelatex/bidi/beamerthemebidiJLTree.sty | 133 |
1 files changed, 133 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/xelatex/bidi/beamerthemebidiJLTree.sty b/Master/texmf-dist/tex/xelatex/bidi/beamerthemebidiJLTree.sty new file mode 100644 index 00000000000..010f8255575 --- /dev/null +++ b/Master/texmf-dist/tex/xelatex/bidi/beamerthemebidiJLTree.sty @@ -0,0 +1,133 @@ +%% +%% This is file `beamerthemebidiJLTree.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `beamerthemebidiJLTree.sty') +%% +%% __________________________________ +%% Copyright © 2009 Vafa Khalighi +%% +%% License information appended. +%% +%% +\ProvidesPackage{beamerthemebidiJLTree} + +\newif\ifbeamer@tree@showhooks +\beamer@tree@showhookstrue + +\DeclareOptionBeamer{hooks}[true]{\csname beamer@tree@showhooks#1\endcsname} + +\ProcessOptionsBeamer +\mode +<presentation> + +\setbeamertemplate{navigation symbols}{} +\usecolortheme{rose} +\useinnertheme[shadow=true]{rounded}% les block + +\defbeamertemplate*{footline}{bidiJLTree theme} +{ + \begin{beamercolorbox}[colsep=1.5pt]{upper separation line foot} + \end{beamercolorbox} + \hbox{% + \begin{beamercolorbox}[wd=.5\paperwidth,ht=2.25ex,dp=1ex,left]{date in head/foot}% + \usebeamerfont{date in head/foot} + \insertframenumber{} / \inserttotalframenumber\hspace*{2ex} + \end{beamercolorbox}% + \begin{beamercolorbox}[wd=.5\paperwidth,ht=2.25ex,dp=1ex,right]{title in head/foot}% + \usebeamerfont{title in head/foot}\beginR\hspace*{2ex}\insertauthor \hspace*{1ex} (\insertshortinstitute) \hspace*{2ex} \insertdate\endR + \end{beamercolorbox}}% +} + +\defbeamertemplate*{sidebar right}{bidiJLTree theme}{} + +\usesectionheadtemplate +{\hfil\insertsectionhead} +{\hfill\color{fg!50!bg}\insertsectionhead} + +\usesubsectionheadtemplate +{\hfil\insertsubsectionhead} +{\hfill\color{fg!50!bg}\insertsubsectionhead} + +\defbeamertemplate*{headline}{bidiJLTree theme} +{% + \leavevmode% + \begin{beamercolorbox}[wd=\paperwidth,colsep=1.5pt]{upper separation line head} + \end{beamercolorbox} + \@tempdimb=3.625ex% 2.4375ex% + \multiply\@tempdimb by\beamer@sectionmax% +%% \advance\@tempdimb by 1.125ex% + \advance\@tempdimb by -1.125ex% + \ifdim\@tempdimb<10.9ex% 3*(2.5+1.125) + \@tempdimb=10.9ex% + \fi + \begin{beamercolorbox}[wd=.45\paperwidth, ht=\@tempdimb]{left block}% + \usebeamerfont{section in head/foot}% + \vbox to\@tempdimb{\vfill\insertsectionnavigation{.45\paperwidth}\vfill}% + \end{beamercolorbox}% + \begin{beamercolorbox}[wd=1.125ex,ht=\@tempdimb,dp=1.125ex]{middle separation line head}% + \end{beamercolorbox}% + \begin{beamercolorbox}[wd=.44\paperwidth]{middle block}% + \vbox to\@tempdimb{\vfill% + \begin{beamercolorbox}[wd=.44\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=.44\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=.44\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}% + \vfill}% + \end{beamercolorbox}% + \begin{beamercolorbox}[wd=.1\paperwidth,ht=\@tempdimb,right]{right block}% + \vbox to\@tempdimb{\vfill\insertlogo\vfill} + \end{beamercolorbox} + \vfill + \begin{beamercolorbox}[wd=\paperwidth,colsep=1.5pt]{lower separation line head} + \end{beamercolorbox} +} +\setbeamercolor{separation line}{use=structure,bg=structure.fg!50!bg} + +\mode +<all> +%% +%% Copyright © 2009 by Vafa Khalighi <vafa@users.berlios.de> +%% +%% Distributable under the LaTeX Project Public License, +%% version 1.3c or higher (your choice). The latest version of +%% this license is at: http://www.latex-project.org/lppl.txt +%% +%% This work is "maintained" (as per LPPL maintenance status) +%% by Vafa Khalighi. +%% +%% +%% +%% +%% +%% End of file `beamerthemebidiJLTree.sty'. |