From 30c63b75f9652cdeea9b8a7332580e5482646c76 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 11 Dec 2013 23:06:31 +0000 Subject: detlev-cm (11dec13) git-svn-id: svn://tug.org/texlive/trunk@32383 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/detlev-cm/LogoTop.png | Bin 0 -> 2710 bytes .../texmf-dist/doc/latex/detlev-cm/SAS-CRJ900.png | Bin 0 -> 191456 bytes Master/texmf-dist/doc/latex/detlev-cm/Sample.pdf | Bin 0 -> 871014 bytes Master/texmf-dist/doc/latex/detlev-cm/Sample.tex | 80 ++++++++++ Master/texmf-dist/doc/latex/detlev-cm/Wing.png | Bin 0 -> 150391 bytes .../texmf-dist/doc/latex/detlev-cm/WingSunrise.png | Bin 0 -> 207778 bytes .../tex/latex/detlev-cm/beamercolorthemeETII.sty | 55 +++++++ .../latex/detlev-cm/beamerfontthemeDetlevCM.sty | 27 ++++ .../latex/detlev-cm/beamerouterthemeDetlevCM.sty | 176 +++++++++++++++++++++ .../tex/latex/detlev-cm/beamerthemeDetlevCM.sty | 43 +++++ Master/tlpkg/bin/tlpkg-ctan-check | 2 +- Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc | 1 + Master/tlpkg/tlpsrc/detlev-cm.tlpsrc | 0 13 files changed, 383 insertions(+), 1 deletion(-) create mode 100644 Master/texmf-dist/doc/latex/detlev-cm/LogoTop.png create mode 100644 Master/texmf-dist/doc/latex/detlev-cm/SAS-CRJ900.png create mode 100644 Master/texmf-dist/doc/latex/detlev-cm/Sample.pdf create mode 100644 Master/texmf-dist/doc/latex/detlev-cm/Sample.tex create mode 100644 Master/texmf-dist/doc/latex/detlev-cm/Wing.png create mode 100644 Master/texmf-dist/doc/latex/detlev-cm/WingSunrise.png create mode 100644 Master/texmf-dist/tex/latex/detlev-cm/beamercolorthemeETII.sty create mode 100644 Master/texmf-dist/tex/latex/detlev-cm/beamerfontthemeDetlevCM.sty create mode 100644 Master/texmf-dist/tex/latex/detlev-cm/beamerouterthemeDetlevCM.sty create mode 100644 Master/texmf-dist/tex/latex/detlev-cm/beamerthemeDetlevCM.sty create mode 100644 Master/tlpkg/tlpsrc/detlev-cm.tlpsrc diff --git a/Master/texmf-dist/doc/latex/detlev-cm/LogoTop.png b/Master/texmf-dist/doc/latex/detlev-cm/LogoTop.png new file mode 100644 index 00000000000..a188dd8e096 Binary files /dev/null and b/Master/texmf-dist/doc/latex/detlev-cm/LogoTop.png differ diff --git a/Master/texmf-dist/doc/latex/detlev-cm/SAS-CRJ900.png b/Master/texmf-dist/doc/latex/detlev-cm/SAS-CRJ900.png new file mode 100644 index 00000000000..2a44aba0cf5 Binary files /dev/null and b/Master/texmf-dist/doc/latex/detlev-cm/SAS-CRJ900.png differ diff --git a/Master/texmf-dist/doc/latex/detlev-cm/Sample.pdf b/Master/texmf-dist/doc/latex/detlev-cm/Sample.pdf new file mode 100644 index 00000000000..2e93c08a9db Binary files /dev/null and b/Master/texmf-dist/doc/latex/detlev-cm/Sample.pdf differ diff --git a/Master/texmf-dist/doc/latex/detlev-cm/Sample.tex b/Master/texmf-dist/doc/latex/detlev-cm/Sample.tex new file mode 100644 index 00000000000..fa02f97464b --- /dev/null +++ b/Master/texmf-dist/doc/latex/detlev-cm/Sample.tex @@ -0,0 +1,80 @@ + +\documentclass[aspectratio=43,display]{beamer} + +%% http://tex.stackexchange.com/questions/114219/add-notes-to-latex-beamer +%\documentclass[note]{beamer} +%\setbeameroption{show notes} + +\usetheme{DetlevCM} +%% The colourtheme must be provided by the user +%% This allows extra flexibility and allows the use of other +%% colour themes. +\usecolortheme{ETII} + + +\usepackage{siunitx} + +\usepackage{enumerate} +\usepackage{hyperref} +\hypersetup{ +bookmarksopen=false, +pdfpagemode=UseNone, +%pdfpagemode=FullScreen, %% Enable to have Adobe Reader query for fullscreen mode +pdfauthor={Detlev Conrad Mielczarek} %% Enter the apppropriate author in here +} + +%% Title +\title[Beamer Theme]{LaTeX Beamer Theme following Uni Leeds, engineering branding} + +%% Author with both abbreviation and affiliation +\author[DCM] % +{% + Detlev C. Mielczarek\inst{1} +} + +%% Auther affiliation +\institute[UL]{\inst{1}Uni Leeds} + + + +%% Begin the actual document +\begin{document} + + +\maketitle + + + +\begin{frame}{Test?} + \tableofcontents +\end{frame} + +%% Sections must be explicitly defined +%% square brackets for the short form in the headline +%% braces for the long entry in the table of contents +\section[Short Title]{Long Title} + +%% slide titles must be given explicitly in braces +%% exclude to not print a slide title +%% the slide title can be different from the section +\begin{frame}{Example Frame} +\begin{itemize}[<1->] + + \item An LaTeX template designed for use at the University of Leeds (NOT officially endorsed in any way) + + \item This is a sample presentations + + \item Other colour choices are allowed in the preamble + + \item University logo not supplied (copyright issues) - use your own (LogoTop.png) + + \item frame titles can be removed by leaving braces blank + + \item The images are copyrighted - a licence is herewith granted to use the supplied low resolution version on a royalty free basis in connection with this theme +\end{itemize} +\end{frame} + + + + +\end{document} \ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/detlev-cm/Wing.png b/Master/texmf-dist/doc/latex/detlev-cm/Wing.png new file mode 100644 index 00000000000..036ebb0b0bb Binary files /dev/null and b/Master/texmf-dist/doc/latex/detlev-cm/Wing.png differ diff --git a/Master/texmf-dist/doc/latex/detlev-cm/WingSunrise.png b/Master/texmf-dist/doc/latex/detlev-cm/WingSunrise.png new file mode 100644 index 00000000000..9e635bffdc3 Binary files /dev/null and b/Master/texmf-dist/doc/latex/detlev-cm/WingSunrise.png differ diff --git a/Master/texmf-dist/tex/latex/detlev-cm/beamercolorthemeETII.sty b/Master/texmf-dist/tex/latex/detlev-cm/beamercolorthemeETII.sty new file mode 100644 index 00000000000..fdd892021c4 --- /dev/null +++ b/Master/texmf-dist/tex/latex/detlev-cm/beamercolorthemeETII.sty @@ -0,0 +1,55 @@ +% Copyright 2013 Detlev Conrad Mielczarek +% Based on work by Herbert Voss (FU Berlin Theme) +% +% This file may be distributed and/or modified +% under the LaTeX Project Public License +% +\ProvidesPackage{beamercolorthemeETII}[2013/12/08 v 1.00 (dcm)] + +% Defines layout of Presentation +\mode + + +% Defined for the background of the image box +%\definecolor{FUgray}{gray}{0.6} + + +% Colour Scheme designed for ETII at the University of Leeds +\definecolor{ETIIbg}{RGB}{0,90,47} % background in green +\definecolor{ETIIHead}{RGB}{250,250,250} % header in very light grey text + + +%Define colour for background and foreground (text) in the title area +\setbeamercolor*{frametitle}{fg=ETIIHead,bg=ETIIbg} + +% Defines colour in header and footer section +\setbeamercolor{section in head/foot}{fg=ETIIHead,bg=ETIIbg} + +%Define colour for background and foreground (text) in the footline area +\setbeamercolor*{footline}{fg=ETIIHead,bg=ETIIbg} + + +% Define colour for use in the title +\setbeamercolor*{structure}{fg=ETIIbg} +\setbeamercolor*{titlelike}{parent=structure} + +% Define colour for text on normal slides, black text on white +\setbeamercolor*{normal text}{fg=black,bg=white} + + + + +%% Colour scheme from the original FU Berlin scheme - might need to be cleaned up later +\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} + + + + +\mode + + +\endinput diff --git a/Master/texmf-dist/tex/latex/detlev-cm/beamerfontthemeDetlevCM.sty b/Master/texmf-dist/tex/latex/detlev-cm/beamerfontthemeDetlevCM.sty new file mode 100644 index 00000000000..937525e7781 --- /dev/null +++ b/Master/texmf-dist/tex/latex/detlev-cm/beamerfontthemeDetlevCM.sty @@ -0,0 +1,27 @@ +% Copyright 2013 Detlev Conrad Mielczarek +% Based on previous work by Herbert Voss (FU Berlin Theme) +% +% 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{beamerfontthemeDetlevCM}[2013/12/08 v 1.00 (dcm) http://detlevcm.eu] + +\mode + +\beamer@suppressreplacementstrue% no special font settings +\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 + + +\endinput diff --git a/Master/texmf-dist/tex/latex/detlev-cm/beamerouterthemeDetlevCM.sty b/Master/texmf-dist/tex/latex/detlev-cm/beamerouterthemeDetlevCM.sty new file mode 100644 index 00000000000..eb3b58ba438 --- /dev/null +++ b/Master/texmf-dist/tex/latex/detlev-cm/beamerouterthemeDetlevCM.sty @@ -0,0 +1,176 @@ +% Copyright 2013 Detlev Conrad Mielczarek +% Based on previous work by Herbert Voss (FU Berlin Theme) and Beamer Templates +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +\ProvidesPackage{beamerouterthemeDetlevCM}[2013/12/08 v 1.00 (dcm) http://detlevcm.eu] + +\mode + +\setlength\textwidth{\paperwidth} +\addtolength\textwidth{-30pt} +\setbeamersize{text margin left=15pt,text margin right=15pt} + +\definecolor{GreyBox}{gray}{0.6} + +% From FU Theme - defining image sizes +\newlength\FU@image@width\setlength\FU@image@width{\textwidth} +%\newlength\FU@image@height\setlength\FU@image@height{2.5cm} +\newlength\FU@image@height\setlength\FU@image@height{0.222\textwidth} % define height as relative for 3:2 photographs +\newlength\FU@rule\setlength\FU@rule{0.6pt} +% + +% The logo for the top right corner +\pgfdeclareimage[height=2em]{logo}{LogoTop.png} + +% 3 images as decoration +\pgfdeclareimage[height=\the\FU@image@height]{Image1}{Wing.png} +\pgfdeclareimage[height=\the\FU@image@height]{Image2}{SAS-CRJ900.png} +\pgfdeclareimage[height=\the\FU@image@height]{Image3}{WingSunrise.png} + + + +\newlength\titlevsep\setlength\titlevsep{2mm} + + + +\setbeamercolor{section in head/foot}{parent=palette tertiary} +\setbeamercolor{subsection in head/foot}{parent=palette secondary} +\setbeamercolor{author in head/foot}{parent=section in head/foot} +\setbeamercolor{title in head/foot}{parent=section in head/foot} +\setbeamercolor{date in head/foot}{parent=section in head/foot} + + + +% Define the headline +\defbeamertemplate*{headline}{Leeds theme} +{% + \begin{beamercolorbox}[colsep=1.5pt]{upper separation line head} + \end{beamercolorbox} +% + \begin{beamercolorbox}{section in head/foot} + \vskip2pt\insertnavigation{\paperwidth}\vskip2pt + \end{beamercolorbox}% +} + + + +% Define the footline +\defbeamertemplate*{footline}{Leeds} +{% + \leavevmode% + \hbox{% + \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{author in head/foot}% + \usebeamerfont{author in head/foot}\insertshortauthor\expandafter\beamer@ifempty\expandafter{\beamer@shortinstitute}{}{~~(\insertshortinstitute)} + \end{beamercolorbox}% + \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{title in head/foot}% + \usebeamerfont{title in head/foot}\insertshorttitle + \end{beamercolorbox}% + \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,right]{date in head/foot}% + \usebeamerfont{date in head/foot}%\insertshortdate{}\hspace*{2em} + \insertframenumber{} / \inserttotalframenumber\hspace*{2ex} + \end{beamercolorbox} + }% + \vskip0pt% +} + + + +% Frame title +\defbeamertemplate*{frametitle}{Leeds} +{% + \begin{beamercolorbox}[leftskip=15pt,rightskip=15pt,wd=\paperwidth]{section in head/foot} + {% + \usebeamerfont*{frametitle} + \usebeamercolor[fg]{frametitle} + \raisebox{0.3em}{\insertframetitle} % http://www.personal.ceu.hu/tex/spacebox.htm#raisebox + } + \hfill + \pgfuseimage{logo} + \vspace{0.1em} + \end{beamercolorbox} +} + + + +% Sidebar - Switched off +\setbeamertemplate*{sidebar left}{} +\setbeamertemplate*{sidebar right}{} +\setbeamertemplate*{sidebar canvas left}{} +\setbeamertemplate*{sidebar canvas right}{} + + + +\def\beamer@fteright{\vskip0.35cm\advance\leftskip by 1.7cm\advance\rightskip by1.7cm} + + + + +% From FU theme +% Frame title continuations, FU +\defbeamertemplate*{frametitle continuation}{FU}{\insertcontinuationcountroman} + + + +\mode + +{ + \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, + aspectratio=false,#1]{#2}% + \fi}% + }% + \titlegraphic{} +} + +\mode + + +\newcommand\fachbereich[1]{\def\insertfachbereich{#1}} +\fachbereich{}% + +\defbeamertemplate*{title page}{Leeds}{% +\vspace{-0.52em} +\begin{beamercolorbox}[leftskip=15pt,rightskip=15pt,wd=\paperwidth]{section in head/foot} + \usebeamerfont*{frametitle} + \usebeamercolor[bg]{frametitle} + \raisebox{0.3em}{DetlevCM Theme} + \hfill\pgfuseimage{logo} + \vspace{0.1em} +\end{beamercolorbox} + \par + \begingroup\fboxsep=0pt +\colorbox{GreyBox}{% +\makebox[\textwidth][l]{% +\rule{0pt}{\FU@image@height}% +\pgfuseimage{Image1} +\pgfuseimage{Image2} +\pgfuseimage{Image3} +\inserttitlegraphic}% +} + + \endgroup + \par\vfill +{\usebeamerfont{title}\usebeamercolor[bg]{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 + }\par\vfill~\vspace*{-\fill}} + +\endinput + + + +\mode \ No newline at end of file diff --git a/Master/texmf-dist/tex/latex/detlev-cm/beamerthemeDetlevCM.sty b/Master/texmf-dist/tex/latex/detlev-cm/beamerthemeDetlevCM.sty new file mode 100644 index 00000000000..d29140ecf6b --- /dev/null +++ b/Master/texmf-dist/tex/latex/detlev-cm/beamerthemeDetlevCM.sty @@ -0,0 +1,43 @@ +% Copyright 2013 Detlev Conrad Mielczarek +% Based on previous work by Herbert Voss (FU Berlin Theme) and Beamer Templates +% +% 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{beamerthemeDetlevCM}[2013/12/08 v 1.00 (dcm) http://detlevcm.eu] + +\PassOptionsToClass{xcolor=table,covered,hyperref={bookmarks,colorlinks}}{beamer} +\DeclareOptionBeamer{compress}{\beamer@compresstrue} +\ProcessOptionsBeamer + +\mode +% +%\usecolortheme{Leeds} % don't force the leeds colour theme - or rather ETII colour theme +\usefonttheme{DetlevCM} +\useoutertheme{DetlevCM} + +\setbeamertemplate{itemize item}[default] +\setbeamertemplate{sections/subsections in toc}[ball] + + +\setbeamertemplate{navigation symbols}{} +\beamerdefaultoverlayspecification{<+-| alert@+>} +\def\beamer@andinst{\quad } + +\setbeamercolor{titlelike}{parent=structure} +\def\maketitle{ +\ifbeamer@inframe\titlepage\else\frame[t]{\titlepage}\fi% + +} + + +% Removes numbers in TOC +\setbeamertemplate{section in toc}{\hspace*{1em}\inserttocsection} + + +\endinput +\mode \ No newline at end of file diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check index c1dc998c5af..8da015fcedd 100755 --- a/Master/tlpkg/bin/tlpkg-ctan-check +++ b/Master/tlpkg/bin/tlpkg-ctan-check @@ -152,7 +152,7 @@ my @TLP_working = qw( dancers dashbox dashrule dashundergaps datatool dateiliste datenumber datetime dblfloatfix dcpic de-macro decimal decorule dehyph-exptl dejavu - delim delimtxt dhua + delim delimtxt detlev-cm dhua diagbox diagmac2 dialogl diagnose dice dichokey dictsym digiconfigs din1505 dinat dinbrief dingbat directory dirtree dirtytalk disser dk-bib dlfltxb dnaseq doc-pictex docmfp docmute documentation doi doipubmed diff --git a/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc b/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc index e8d27b5e920..23fcc21f4da 100644 --- a/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc +++ b/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc @@ -186,6 +186,7 @@ depend decimal depend decorule depend delim depend delimtxt +depend detlev-cm depend diagbox depend diagnose depend dialogl diff --git a/Master/tlpkg/tlpsrc/detlev-cm.tlpsrc b/Master/tlpkg/tlpsrc/detlev-cm.tlpsrc new file mode 100644 index 00000000000..e69de29bb2d -- cgit v1.2.3