diff options
author | Karl Berry <karl@freefriends.org> | 2015-12-07 22:26:16 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2015-12-07 22:26:16 +0000 |
commit | 20bfedffa632b68fff540699916d55011daf9b2e (patch) | |
tree | b7abfeb9be8d4a2bcb1ef78372d4442217b2534a /Master | |
parent | 6288c68ea9a284425689e1a30313d48459ca7cc2 (diff) |
beamertheme-detlevcm, renamed again (from beamertheme-detlev-cm)
git-svn-id: svn://tug.org/texlive/trunk@39048 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
12 files changed, 476 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/beamertheme-detlevcm/FS-img1.png b/Master/texmf-dist/doc/latex/beamertheme-detlevcm/FS-img1.png Binary files differnew file mode 100644 index 00000000000..036ebb0b0bb --- /dev/null +++ b/Master/texmf-dist/doc/latex/beamertheme-detlevcm/FS-img1.png diff --git a/Master/texmf-dist/doc/latex/beamertheme-detlevcm/FS-img2.png b/Master/texmf-dist/doc/latex/beamertheme-detlevcm/FS-img2.png Binary files differnew file mode 100644 index 00000000000..2a44aba0cf5 --- /dev/null +++ b/Master/texmf-dist/doc/latex/beamertheme-detlevcm/FS-img2.png diff --git a/Master/texmf-dist/doc/latex/beamertheme-detlevcm/FS-img3.png b/Master/texmf-dist/doc/latex/beamertheme-detlevcm/FS-img3.png Binary files differnew file mode 100644 index 00000000000..9e635bffdc3 --- /dev/null +++ b/Master/texmf-dist/doc/latex/beamertheme-detlevcm/FS-img3.png diff --git a/Master/texmf-dist/doc/latex/beamertheme-detlevcm/LogoTop.png b/Master/texmf-dist/doc/latex/beamertheme-detlevcm/LogoTop.png Binary files differnew file mode 100644 index 00000000000..e3177522bbe --- /dev/null +++ b/Master/texmf-dist/doc/latex/beamertheme-detlevcm/LogoTop.png diff --git a/Master/texmf-dist/doc/latex/beamertheme-detlevcm/README.txt b/Master/texmf-dist/doc/latex/beamertheme-detlevcm/README.txt new file mode 100644 index 00000000000..2c48acb96db --- /dev/null +++ b/Master/texmf-dist/doc/latex/beamertheme-detlevcm/README.txt @@ -0,0 +1,59 @@ + +Readme v1.02 - 7th Dec 2015 + +The Beamer Theme DetlevCM was originally designed to be used for presentations +at the University of Leeds (during my PhD time) - however it is NOT endorsed in +any way by the university. (Hence being named after me.) + +A sample/example presentation is included with this package. +- A table of contents is shown on slides (or blank bar without sections) +- A titlebar is optional on every slide +- Author's initials are shown on slides +- The title is shown on the slides +- The slide number is shown on the slide + + +To my best knowledge, it is possible to use other colour themes without any +problems using the \usecolortheme{} command from Beamer. + + +Author Name: Detlev Conrad Mielczarek +Author Contact: detlevcm - at - googlemail - dot - com + +The theme being a derivative work, is licensed under the GPL. +The University Logo is not supplied - please use your own and name it +"LogoTop.png" in the root of your LaTeX document. + +The photographs are copyrighted images - however a license is given to the user +of the package to use the supplied low resolution version on a royalty free +basis in connection with this theme. (I.e. with the Beamer Theme named DetlevCM) + + + + + + +Changelog: + +v 1.0.2 + +- generalisation of first slide images (requirement, 3 images, ideally 3:2 aspect ratio) +- renaming of first slide/titlepage images +- renamed some "heritage variables" +- removal of grey background box hidden behind images +- tidying up code, removing some redundant leftovers, improving comments +- modification to title page, now needs to be placed in a proper frame +- simplification of layout +- improvement to frame title bar (logo on white background no longer touches borders) +- updated help file +- minor adjustments to titlepage (titleslide?) layout as a result of the restructuring + +v 1.0.1 + +- removal of hidden header text on first slide to improve compatibility with other colour schemes +- generalisation of logo (to be supplied by the user) + + +v 1.0.0 + +- Original public release
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/beamertheme-detlevcm/beamertheme-detlevcm.pdf b/Master/texmf-dist/doc/latex/beamertheme-detlevcm/beamertheme-detlevcm.pdf Binary files differnew file mode 100644 index 00000000000..cf7a310b7f1 --- /dev/null +++ b/Master/texmf-dist/doc/latex/beamertheme-detlevcm/beamertheme-detlevcm.pdf diff --git a/Master/texmf-dist/doc/latex/beamertheme-detlevcm/beamertheme-detlevcm.tex b/Master/texmf-dist/doc/latex/beamertheme-detlevcm/beamertheme-detlevcm.tex new file mode 100644 index 00000000000..65ca4f63e56 --- /dev/null +++ b/Master/texmf-dist/doc/latex/beamertheme-detlevcm/beamertheme-detlevcm.tex @@ -0,0 +1,129 @@ + +\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} + +%% It is advised to use lmodern to avoid/reduce font warnings (still leaves 1) +\usepackage{lmodern} + + +\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 aiming to incorporate the best of \LaTeX} + +%% Author with both abbreviation and affiliation +\author[DCM] % +{% + Detlev C. Mielczarek\inst{1} +} + +%% Auther affiliation +\institute[UL]{\inst{1}Your Institution Here} + + + +%% Begin the actual document +\begin{document} + + + +%% \titlepage or \maketitle, both are valid chocies for input +\begin{frame} +\titlepage +%\maketitle +\end{frame} + + + + + + + + +\begin{frame}{Optional Table of Contents Slide} + \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 - About this Theme} +\begin{itemize}[<1->] + + \item A LaTeX template designed originally during my PhD \\ for use at the University of Leeds \\ (It is \textbf{NOT} officially endorsed in any way) + + \item This is a sample presentation \& manual + + \item Other colour choices are allowed in the preamble + + \item University logo not supplied (copyright issues) - use your own \\ File must be named ``LogoTop.png'' or ``LogoTop.jpg'' + + \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 \\ (If required, a format change from .png to jpg is allowed.) +\end{itemize} +\end{frame} + +\section[Usage Information]{Frame With an Empty Title - Usage Information} +\begin{frame}[<1->] + + \begin{itemize} + + \item to reduce font warnings, the use of \textbackslash usepackage\{lmodern\} is encouraged + + \item frame titles can be included by inserting them in a second set of braces, e.g.: \\ + \textbackslash begin\{frame\}\{frametitle\} \\ + \textbackslash end\{frame\} + + \item frame titles can be omitted by excluding the second set of braces, e.g.: \\ + \textbackslash begin\{frame\} \\ + \textbackslash end\{frame\} + + \item please refer to the Beamer documentation for Beamer options \\ + \footnotesize + \url{http://mirror.ctan.org/macros/latex/contrib/beamer/} + \end{itemize} + +\end{frame} + +\section{Swapping Images} +\begin{frame}[<1->]{Swapping Images} + + \begin{itemize} + \item with release 1.02 the images on the first slide are exchangeable + + \item images must be named FS-img1, FS-img2, FS-img3 \\ + ``\textbf{F}irst \textbf{S}lide \textbf{im}a\textbf{g}e'' + + \item a file ending is not defined, \textbf{png} and \textbf{jpg} were tested (in MikTeX) + + \item the aspect ratio of an individual image is 3:2 \\ + (standard SLR aspect ratio) + + \item images will be scaled \& transformed automatically where necessary + \end{itemize} + +\end{frame} + + +\end{document}
\ No newline at end of file diff --git a/Master/texmf-dist/tex/latex/beamertheme-detlevcm/beamercolorthemeETII.sty b/Master/texmf-dist/tex/latex/beamertheme-detlevcm/beamercolorthemeETII.sty new file mode 100644 index 00000000000..fdd892021c4 --- /dev/null +++ b/Master/texmf-dist/tex/latex/beamertheme-detlevcm/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<presentation> + + +% 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 +<all> + +\endinput diff --git a/Master/texmf-dist/tex/latex/beamertheme-detlevcm/beamerfontthemeDetlevCM.sty b/Master/texmf-dist/tex/latex/beamertheme-detlevcm/beamerfontthemeDetlevCM.sty new file mode 100644 index 00000000000..24648f1e6b3 --- /dev/null +++ b/Master/texmf-dist/tex/latex/beamertheme-detlevcm/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. +% + + +\ProvidesPackage{beamerfontthemeDetlevCM}[2013/12/08 v 1.00 (dcm) http://detlevcm.eu ] + +\mode<presentation> + +\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 +<all> + +\endinput diff --git a/Master/texmf-dist/tex/latex/beamertheme-detlevcm/beamerouterthemeDetlevCM.sty b/Master/texmf-dist/tex/latex/beamertheme-detlevcm/beamerouterthemeDetlevCM.sty new file mode 100644 index 00000000000..8048366e620 --- /dev/null +++ b/Master/texmf-dist/tex/latex/beamertheme-detlevcm/beamerouterthemeDetlevCM.sty @@ -0,0 +1,163 @@ +% Copyright 2015 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}[2015/12/07 v 1.02 (dcm) http://detlevcm.eu ] + +\mode<presentation> + +\setlength\textwidth{\paperwidth} +\addtolength\textwidth{-30pt} +\setbeamersize{text margin left=15pt,text margin right=15pt} + + + +%%% define height as relative to texwidth for 3:2 photographs +\newlength\DCM@image@height\setlength\DCM@image@height{0.223\textwidth} +%%% Width of the image, 1.5x the height +\newlength\DCM@image@width\setlength\DCM@image@width{0.3345\textwidth} + + +% The logo for the top right corner +%% Old Value: 2.0em +\pgfdeclareimage[interpolate=true,height=1.7em]{logo}{LogoTop} + +% 3 images as decoration +\pgfdeclareimage[interpolate=true,width=\the\DCM@image@width,height=\the\DCM@image@height]{Image1}{FS-img1} +\pgfdeclareimage[interpolate=true,width=\the\DCM@image@width,height=\the\DCM@image@height]{Image2}{FS-img2} +\pgfdeclareimage[interpolate=true,width=\the\DCM@image@width,height=\the\DCM@image@height]{Image3}{FS-img3} + + + +\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=.33333\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=.33333\paperwidth,ht=2.25ex,dp=1ex,center]{title in head/foot}% + \usebeamerfont{title in head/foot}\insertshorttitle + \end{beamercolorbox}% + \begin{beamercolorbox}[wd=.33333\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}[ht=1.6em,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}{DetlevCM}{\insertcontinuationcountroman} + + + + +\newcommand\fachbereich[1]{\def\insertfachbereich{#1}} +\fachbereich{}% + +\defbeamertemplate*{title page}{DetlevCM}{% + +%% New implemenation for blank frame title with only the logo +\frametitle{~} + +%% pull up images a bit +\vspace{-1em} + +%% Title Page Images - 3 Images side by side +\begingroup\fboxsep=0pt + \pgfuseimage{Image1} + \pgfuseimage{Image2} + \pgfuseimage{Image3} +\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}% + +}% End of Title Page definition + + + + + +\endinput + + +\mode<all>
\ No newline at end of file diff --git a/Master/texmf-dist/tex/latex/beamertheme-detlevcm/beamerthemeDetlevCM.sty b/Master/texmf-dist/tex/latex/beamertheme-detlevcm/beamerthemeDetlevCM.sty new file mode 100644 index 00000000000..dc38683209b --- /dev/null +++ b/Master/texmf-dist/tex/latex/beamertheme-detlevcm/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<presentation> +% +%\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 <all>
\ No newline at end of file diff --git a/Master/tlpkg/tlpsrc/beamertheme-detlevcm.tlpsrc b/Master/tlpkg/tlpsrc/beamertheme-detlevcm.tlpsrc new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/Master/tlpkg/tlpsrc/beamertheme-detlevcm.tlpsrc |