diff options
author | Karl Berry <karl@freefriends.org> | 2009-07-24 23:28:47 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-07-24 23:28:47 +0000 |
commit | d9694ce1fb8dd23d0e0854338fff8c6cddc28d19 (patch) | |
tree | dba5c7f8404825ebc904b2ec794d27eef2e088c3 /Master/texmf-dist/tex/latex/beamer-FUBerlin | |
parent | a695cbe43e950e112ec6baba0398dd8cd921d9ec (diff) |
new latex package beamer-FUBerlin (24jul09)
git-svn-id: svn://tug.org/texlive/trunk@14434 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/beamer-FUBerlin')
5 files changed, 345 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/beamer-FUBerlin/FUbeamer.cls b/Master/texmf-dist/tex/latex/beamer-FUBerlin/FUbeamer.cls new file mode 100644 index 00000000000..146dcf427d6 --- /dev/null +++ b/Master/texmf-dist/tex/latex/beamer-FUBerlin/FUbeamer.cls @@ -0,0 +1,150 @@ +% +% $Id: FUbeamer.cls 82 2009-06-14 15:24:07Z herbert $ +% +%% +%% Praesentationen mit LaTeX +%% +%% Copyright (C) 2009 Herbert Voss <hvoss@tug.org> +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +% +\ProvidesClass{FUbeamer}[2009/05/22 v0.01 Vorlage Freie Universitaet Berlin (hv)] +% +\PassOptionsToPackage{ngerman}{babel} +\PassOptionsToPackage{table}{xcolor} +\PassOptionsToPackage{bookmarks,colorlinks}{hyperref} +\DeclareOption*{\PassOptionsToClass{\CurrentOption}{beamer}} +\ProcessOptions\relax +\LoadClass[profesionalfonts,covered]{beamer} +\RequirePackage[T1]{fontenc} +\RequirePackage{babel} +\RequirePackage{graphicx} +\RequirePackage{tabularx} +\RequirePackage[scaled]{helvet} +% +\definecolor{FUblue}{RGB}{0,51,102} +\definecolor{FUgreen}{RGB}{153,204,0} +\definecolor{FUred}{RGB}{204,0,0} +\definecolor{FUorange}{RGB}{255,153,51} +\definecolor{FUgray}{gray}{0.6} +% +\setbeamersize{text margin left=15pt,text margin right=15pt} +% +\setbeamercolor*{frametitle}{fg=FUgray,bg=white} +\setbeamercolor*{normal text}{fg=black,bg=white} +\setbeamercolor*{alerted text}{fg=FUred,bg=white} +\setbeamercolor*{footline}{fg=FUblue,bg=white} +\setbeamercolor*{structure}{fg=FUred} +\setbeamercolor*{palette primary}{use=structure,fg=structure.fg,bg=} +\setbeamercolor*{palette secondary}{fg=FUblue,bg=} +\setbeamercolor*{separation line}{fg=FUblue} +\setbeamercolor*{example text}{fg=FUgreen,bg=} +\setbeamercolor*{block title}{use=structure,fg=structure.fg,bg=FUblue!20!bg} +\setbeamercolor*{block title alerted}{use=alerted text,fg=alerted text.fg,bg=alerted text.fg!20!bg} +\setbeamercolor*{block title example}{use=example text,fg=example text.fg,bg=example text.fg!20!bg} +\setbeamercolor*{block body}{parent=normal text,use=block title,bg=block title.bg!50!bg} +\setbeamercolor*{block body alerted}{parent=normal text,use=block title alerted,bg=block title alerted.bg!50!bg} +\setbeamercolor*{block body example}{parent=normal text,use=block title example,bg=block title example.bg!50!bg} + +\setbeamerfont{tiny structure}{series=\mdseries,size=\tiny} +\setbeamerfont{title}{size=\Large,series=\bfseries} +\setbeamerfont*{author}{size=\normalsize,series=\bfseries} +\setbeamerfont{frametitle}{size=\large,series=\bfseries} +\setbeamerfont{framesubtitle}{size=\footnotesize} +\setbeamerfont*{footline}{series=\mdseries,size=\Tiny} +\setbeamerfont*{date}{size=\footnotesize} + +\setbeamertemplate{itemize item}[default] +\setbeamertemplate{sections/subsections in toc}[ball] +\setbeamertemplate{headline}{} +\setbeamertemplate{navigation symbols}{} +%\setbeamertemplate{alerted text}[default] +\beamerdefaultoverlayspecification{<+-| alert@+>} +\def\beamer@andinst{\quad } + +\makeatletter +\setlength\textwidth{\paperwidth} +\addtolength\textwidth{-30pt} +\newlength\FU@image@width\setlength\FU@image@width{\textwidth} +\newlength\FU@image@height\setlength\FU@image@height{2.5cm} +\newlength\FU@rule\setlength\FU@rule{0.6pt} +% +\pgfdeclareimage[height=1cm]{logo}{FULogo.png} +\expandafter\pgfdeclareimage\expandafter[height=\the\FU@image@height]{bib}{FUbib.jpg} +\newlength\titlevsep\setlength\titlevsep{2mm} +\newsavebox\FU@box\savebox\FU@box{\pgfuseimage{bib}} +\mode +<all> +{ + \renewcommand\titlegraphic[2][]{% + \edef\inserttitlegraphic{% + \ifx\relax#2\relax\else + \noexpand\includegraphics[height=\FU@image@height,width=\the\numexpr\textwidth-\wd\FU@box\relax sp, + %viewpoint=0 0 \the\numexpr\FU@image@width-2\wd\FU@box\relax sp \FU@image@height,clip + aspectratio=false,#1]{#2}% + \fi}% + }% + \titlegraphic{} +} + +\mode +<all> +{ + \newcommand\fachbereich[1]{\def\insertfachbereich{#1}} + \fachbereich{}% +} + +\defbeamertemplate*{title page}{FU}{% + \vspace*{-1mm} + ~\hfill\pgfuseimage{logo}\par + \begingroup\fboxsep=0pt + \colorbox{FUgray}{\makebox[\textwidth][l]{\rule{0pt}{\FU@image@height}\pgfuseimage{bib}% + \inserttitlegraphic}} + \endgroup + \par\vfill + {\usebeamerfont{title}\usebeamercolor[fg]{frametitle}\inserttitle}\\[\titlevsep] + \ifx\insertsubtitle\@empty\else\vskip0.25em% + {\usebeamerfont{subtitle}\insertsubtitle\par}% + \fi% + \par\vfill + \begin{beamercolorbox}[sep=0pt]{author} + {\usebeamerfont{author}\insertauthor}\\ + {\usebeamerfont{institute}\insertinstitute} + \end{beamercolorbox} + \par\vfill + {\usebeamerfont{date}\usebeamercolor*[fg]{date}\insertdate%\rule[-.5ex]{0pt}{.5ex} + }% +} + +\defbeamertemplate{frametitle}{FU}{% + \begin{beamercolorbox}[ht=4.25ex,dp=1ex]{headline}% + \parbox{0.6\textwidth}{% + \usebeamerfont*{frametitle}\usebeamercolor[fg]{frametitle}\insertframetitle}\hfill% + \parbox{0.32\textwidth}{\pgfuseimage{logo}}\\ + {\usebeamercolor{separation line}\hspace*{-15pt}\rule{\paperwidth}{\FU@rule}}\par\vspace{-1.5ex} + \end{beamercolorbox}} + +\def\maketitle{\ifbeamer@inframe\titlepage\else\frame{\titlepage}\fi% + \setbeamertemplate{frametitle}[FU]\setbeamertemplate{footline}[FU]} + +\newcommand{\FU@footline}{% + \mbox{}\insertfachbereich, \inserttitle, \insertdate + \hfill \insertframenumber/\inserttotalframenumber} + +\defbeamertemplate{footline}{FU}{% + \begin{beamercolorbox}[leftskip=15pt,rightskip=15pt,ht=2.5ex,dp=1ex]{footline} + \hspace*{-15pt}{\usebeamercolor{separation line}\rule[1ex]{1.1\paperwidth}{\FU@rule}}\\ + \usebeamerfont{footline}\FU@footline\par + \vspace{2ex} + \end{beamercolorbox}% +} +\makeatother + + +\endinput + diff --git a/Master/texmf-dist/tex/latex/beamer-FUBerlin/beamercolorthemeBerlinFU.sty b/Master/texmf-dist/tex/latex/beamer-FUBerlin/beamercolorthemeBerlinFU.sty new file mode 100644 index 00000000000..6cee7639bcd --- /dev/null +++ b/Master/texmf-dist/tex/latex/beamer-FUBerlin/beamercolorthemeBerlinFU.sty @@ -0,0 +1,37 @@ +% Copyright 2009 by Herbert Voss +% +% This file may be distributed and/or modified +% under the LaTeX Project Public License +% +\ProvidesPackage{beamercolorthemeBerlinFU}[2009/05/23 v 0.01 (hv)] + +\mode<presentation> + +\definecolor{FUblue}{RGB}{0,51,102} +\definecolor{FUgreen}{RGB}{153,204,0} +\definecolor{FUred}{RGB}{204,0,0} +\definecolor{FUorange}{RGB}{255,153,51} +\definecolor{FUgray}{gray}{0.6} +% +\setbeamercolor*{frametitle}{fg=FUgray,bg=white} +\setbeamercolor*{normal text}{fg=black,bg=white} +\setbeamercolor*{alerted text}{fg=FUred,bg=white} +\setbeamercolor*{footline}{fg=FUblue,bg=white} +\setbeamercolor*{structure}{fg=FUred} +\setbeamercolor*{palette primary}{use=structure,fg=structure.fg,bg=} +\setbeamercolor*{palette secondary}{fg=FUblue,bg=} +\setbeamercolor*{separation line}{fg=FUblue} +\setbeamercolor*{example text}{fg=FUgreen,bg=} +\setbeamercolor*{block title}{use=structure,fg=structure.fg,bg=FUblue!20!bg} +\setbeamercolor*{block title alerted}{use=alerted text,fg=alerted text.fg,bg=alerted text.fg!20!bg} +\setbeamercolor*{block title example}{use=example text,fg=example text.fg,bg=example text.fg!20!bg} +\setbeamercolor*{block body}{parent=normal text,use=block title,bg=block title.bg!50!bg} +\setbeamercolor*{block body alerted}{parent=normal text,use=block title alerted,bg=block title alerted.bg!50!bg} +\setbeamercolor*{block body example}{parent=normal text,use=block title example,bg=block title example.bg!50!bg} + +\setbeamercolor*{titlelike}{parent=structure} + +\mode +<all> + +\endinput diff --git a/Master/texmf-dist/tex/latex/beamer-FUBerlin/beamerfontthemeBerlinFU.sty b/Master/texmf-dist/tex/latex/beamer-FUBerlin/beamerfontthemeBerlinFU.sty new file mode 100644 index 00000000000..50dc8f1e670 --- /dev/null +++ b/Master/texmf-dist/tex/latex/beamer-FUBerlin/beamerfontthemeBerlinFU.sty @@ -0,0 +1,25 @@ +% Copyright 2009 by Herbert Voss +% +% 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. + +\ProvidesPackage{beamerfontthemeBerlinFU}[2009/05/23 v 0.01 (hv)] + +\mode<presentation> + +\setbeamerfont{tiny structure}{series=\mdseries,size=\tiny} +\setbeamerfont{title}{size=\Large,series=\bfseries} +\setbeamerfont*{author}{size=\normalsize,series=\bfseries} +\setbeamerfont{frametitle}{size=\large,series=\bfseries} +\setbeamerfont{framesubtitle}{size=\footnotesize} +\setbeamerfont*{footline}{size=\Tiny} +\setbeamerfont*{date}{size=\footnotesize} + +\mode +<all> + +\endinput diff --git a/Master/texmf-dist/tex/latex/beamer-FUBerlin/beamerouterthemeBerlinFU.sty b/Master/texmf-dist/tex/latex/beamer-FUBerlin/beamerouterthemeBerlinFU.sty new file mode 100644 index 00000000000..0612ea7749f --- /dev/null +++ b/Master/texmf-dist/tex/latex/beamer-FUBerlin/beamerouterthemeBerlinFU.sty @@ -0,0 +1,100 @@ +% Copyright 2009 by Herbert Voss +% +% 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. + +\ProvidesPackage{beamerouterthemeBerlinFU}[2009/05/23 v. 0.01 (hv)] + +\mode<presentation> + +\setlength\textwidth{\paperwidth} +\addtolength\textwidth{-30pt} +\setbeamersize{text margin left=15pt,text margin right=15pt} +\newlength\FU@image@width\setlength\FU@image@width{\textwidth} +\newlength\FU@image@height\setlength\FU@image@height{2.5cm} +\newlength\FU@rule\setlength\FU@rule{0.6pt} +% +\pgfdeclareimage[height=1cm]{logo}{FULogo.png} +\expandafter\pgfdeclareimage\expandafter[height=\the\FU@image@height]{bib}{FUbib.jpg} +\newlength\titlevsep\setlength\titlevsep{2mm} +\newsavebox\FU@box\savebox\FU@box{\pgfuseimage{bib}} + +% Headline and footline + +\newcommand{\FU@footline}{% + \insertfachbereich, \inserttitle, \insertdate + \hfill \insertframenumber/\inserttotalframenumber} + +\defbeamertemplate{footline}{FU}{% + \begin{beamercolorbox}[leftskip=15pt,rightskip=15pt,ht=2.5ex,dp=1ex]{footline} + \hspace*{-15pt}{\usebeamercolor{separation line}\rule[1ex]{1.1\paperwidth}{\FU@rule}}% + \usebeamerfont{footline}\FU@footline\par + \vspace{2ex} + \end{beamercolorbox}% +} + +% Sidebar + +\setbeamertemplate*{sidebar left}{} +\setbeamertemplate*{sidebar right}{} +\setbeamertemplate*{sidebar canvas left}{} +\setbeamertemplate*{sidebar canvas right}{} + +% Frame title: FU + +\defbeamertemplate{frametitle}{FU}{% + \vspace*{1mm} + \mbox{}\hfill\pgfuseimage{logo}\\[-15pt] + {\usebeamerfont*{frametitle}\usebeamercolor[fg]{frametitle}\insertframetitle}\\[-0.5\normalbaselineskip] + {\usebeamercolor{separation line}\hspace*{-15pt}\rule{\paperwidth}{\FU@rule}}\par\vspace{-1.5ex}} + +\def\beamer@fteright{\vskip0.35cm\advance\leftskip by 1.7cm\advance\rightskip by1.7cm} + +% Frame title continuations, FU +\defbeamertemplate*{frametitle continuation}{FU}{\insertcontinuationcountroman} + +\mode +<all> +{ + \renewcommand\titlegraphic[2][]{% + \edef\inserttitlegraphic{% + \ifx\relax#2\relax\else + \noexpand\includegraphics[height=\FU@image@height,width=\the\numexpr\textwidth-\wd\FU@box\relax sp, + %viewpoint=0 0 \the\numexpr\FU@image@width-2\wd\FU@box\relax sp \FU@image@height,clip + aspectratio=false,#1]{#2}% + \fi}% + }% + \titlegraphic{} +} + +\mode +<all> + \newcommand\fachbereich[1]{\def\insertfachbereich{#1}} + \fachbereich{}% + +\defbeamertemplate*{title page}{FU}{% + \vspace*{-0.5ex} + \mbox{}\hfill\pgfuseimage{logo}\par + \begingroup\fboxsep=0pt + \colorbox{FUgray}{\makebox[\textwidth][l]{\rule{0pt}{\FU@image@height}\pgfuseimage{bib}% + \inserttitlegraphic}} + \endgroup + \par\vfill + {\usebeamerfont{title}\usebeamercolor[fg]{frametitle}\inserttitle}\\[\titlevsep] + \ifx\insertsubtitle\@empty\else\vskip0.25em% + {\usebeamerfont{subtitle}\insertsubtitle\par}% + \fi% + \par\vfill + \begin{beamercolorbox}[sep=0pt]{author} + {\usebeamerfont{author}\insertauthor}\\ + {\usebeamerfont{institute}\insertinstitute} + \end{beamercolorbox} + \par\vfill + {\usebeamerfont{date}\usebeamercolor*[fg]{date}\insertdate%\rule[-.5ex]{0pt}{.5ex} + }\par\vfill~\vspace*{-\fill}} + +\endinput
\ No newline at end of file diff --git a/Master/texmf-dist/tex/latex/beamer-FUBerlin/beamerthemeBerlinFU.sty b/Master/texmf-dist/tex/latex/beamer-FUBerlin/beamerthemeBerlinFU.sty new file mode 100644 index 00000000000..925069319ec --- /dev/null +++ b/Master/texmf-dist/tex/latex/beamer-FUBerlin/beamerthemeBerlinFU.sty @@ -0,0 +1,33 @@ +% Copyright 2009 by Herbert Voss +% +% 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. + +\ProvidesPackage{beamerthemeBerlinFU}[2009/05/23 v. 0.01 (hv)] + +\PassOptionsToClass{xcolor=table,profesionalfonts,covered,hyperref={bookmarks,colorlinks}}{beamer} +\DeclareOptionBeamer{compress}{\beamer@compresstrue} +\ProcessOptionsBeamer + +\mode<presentation> +% +\usecolortheme{BerlinFU} +\usefonttheme{BerlinFU} +\useoutertheme{BerlinFU} + +\setbeamertemplate{itemize item}[default] +\setbeamertemplate{sections/subsections in toc}[ball] +\setbeamertemplate{headline}{} +\setbeamertemplate{navigation symbols}{} +%\setbeamertemplate{alerted text}[default] +\beamerdefaultoverlayspecification{<+-| alert@+>} +\def\beamer@andinst{\quad } + +\def\maketitle{\ifbeamer@inframe\titlepage\else\frame[t]{\titlepage}\fi% + \setbeamertemplate{frametitle}[FU]\setbeamertemplate{footline}[FU]} + +\endinput |