Compare commits

...

18 Commits

Author SHA1 Message Date
Achim D. Brucker dbef97cc08 Merged tuos-presentation - first basic implementation of a beamer-based presentation style following the guidelines of The University of Sheffield. 2016-08-17 10:15:15 +01:00
Achim D. Brucker 3efe1b2d62 Basic implemenation of \quotebox and \kickerbox. 2016-08-17 10:10:34 +01:00
Achim D. Brucker 0fc4b210e1 Basic implementation of \PartFrame. 2016-08-17 09:52:39 +01:00
Achim D. Brucker 7ce4c9af58 Added basic \ThanksFrame. 2016-08-17 09:31:11 +01:00
Achim D. Brucker 2f952fb90d Added \bgroup ... \egroup to \CopyrightFrame to ensrue that footline is only removed for this particular frame. 2016-08-17 09:28:31 +01:00
Achim D. Brucker d188a84988 Added \AgendaFrame. 2016-08-17 09:27:21 +01:00
Achim D. Brucker ddf64ca123 Added \CopyrightFrame. 2016-08-17 09:16:34 +01:00
Achim D. Brucker e7f6c8770e No footline on title page. 2016-08-17 08:46:08 +01:00
Achim D. Brucker 0132a82811 Improved logo placement. 2016-08-17 07:59:28 +01:00
Achim D. Brucker 69dbdd640c Removed fontenc. 2016-08-17 00:09:04 +01:00
Achim D. Brucker 03142209db Use round bullet points. 2016-08-16 23:58:59 +01:00
Achim D. Brucker 31cfa670ec Use serif fonts for titles. 2016-08-16 23:57:46 +01:00
Achim D. Brucker b5daa58210 Fixed compress options for plain frames. 2016-08-16 23:46:31 +01:00
Achim D. Brucker 7bf744ebf0 Basic font setup. 2016-08-16 23:40:38 +01:00
Achim D. Brucker b531c9232e Improved footer. 2016-08-16 23:36:29 +01:00
Achim D. Brucker 9501ce7898 Implemented compress option that sets frametitle left of the unversity logo and implemented plainfonts for using the default LaTeX fonts. 2016-08-16 23:32:40 +01:00
Achim D. Brucker e0dd13e5cc Initial style setup. 2016-08-16 21:28:27 +01:00
Achim D. Brucker 506be420c0 Branch for developing new feature: tuos-presentation. 2016-08-15 13:18:22 +01:00
9 changed files with 379 additions and 0 deletions

View File

@ -8,6 +8,8 @@ University of Sheffield.
Sheffield.
* **tuos-letter:** LaTeX style for writing letters that follow the
cooperate guidelines of The University of Sheffield.
* **tuos-presentation:** LaTeX style for writing presentations following
(roughly) the guidelines of The University of Sheffield.
## License
If not otherwise stated, all sub-projects are dual-licensed under a

23
tuos-presentation/LICENSE Normal file
View File

@ -0,0 +1,23 @@
Copyright (c) 2016 Achim D. Brucker
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

View File

@ -0,0 +1,22 @@
# tuos-presentation
A LaTeX class (based on the [beamer class](https://www.ctan.org/pkg/beamer))
that roughly follows the
[PowerPoint guidelines](http://www.sheffield.ac.uk/marketing/visual-identity/downloads/powerpoint-templates)
of The University of Sheffield.
## Disclaimer
Please not that this LaTeX setup is neither endorsed nor officially
supported by the University of Sheffield.
## Prerequisites
* The `tuos-logo` style.
* The `tuos-fonts` style (optional).
## Installation
## Usage
## License
This project is dual-licensed under a 2-clause BSD-style license and/or
the LPPL version 1 or any later version.

View File

@ -0,0 +1,41 @@
%% Copyright (C) 2016 Achim D. Brucker, https://www.brucker.ch
%%
%% License:
%% This program can be redistributed and/or modified under the terms
%% of the LaTeX Project Public License Distributed from CTAN
%% archives in directory macros/latex/base/lppl.txt; either
%% version 1 of the License, or any later version.
%% OR
%% The 2-clause BSD-style license.
%%
\NeedsTeXFormat{LaTeX2e}[1994/06/01]
\ProvidesPackage{beamercolorthemetuos}
[2016/08/20 v1.1 LaTeX presentation class following the cooperate design of The University of Sheffield]
\definecolor{TUOSlightblue}{RGB}{000, 167, 220}
\definecolor{TUOSdarkblue} {RGB}{041, 025, 111}
\definecolor{TUOSmagenta} {RGB}{255, 000, 174}
\definecolor{TUOSyellow} {RGB}{255, 255, 051}
\mode<presentation>
\ifbeamer@colour
\setbeamercolor{structure}{fg=white}
\setbeamercolor{normal text}{fg=white, bg=TUOSlightblue}
\setbeamercolor*{title}{fg=white}
\setbeamercolor*{subtitle}{fg=white}
\setbeamercolor{frametitle}{fg=white}
\setbeamercolor{framesubtitle}{fg=white}
\setbeamercolor{kicker}{use=structure,fg=white,bg=TUOSdarkblue}
\else
\setbeamercolor{structure}{fg=TUOSlightblue, bg=white}
\setbeamercolor{normal text}{fg=TUOSlightblue, bg=white}
\setbeamercolor*{title}{fg=TUOSdarkblue}
\setbeamercolor*{subtitle}{fg=TUOSlightblue}
\setbeamercolor{frametitle}{fg=TUOSdarkblue}
\setbeamercolor{framesubtitle}{fg=TUOSlightblue}
\setbeamercolor{kicker}{use=structure,fg=white,bg=TUOSdarkblue}
\fi
\mode
<all>

View File

@ -0,0 +1,28 @@
%% Copyright (C) 2016 Achim D. Brucker, https://www.brucker.ch
%%
%% License:
%% This program can be redistributed and/or modified under the terms
%% of the LaTeX Project Public License Distributed from CTAN
%% archives in directory macros/latex/base/lppl.txt; either
%% version 1 of the License, or any later version.
%% OR
%% The 2-clause BSD-style license.
%%
\NeedsTeXFormat{LaTeX2e}[1994/06/01]
\ProvidesPackage{beamerfontthemetuos}
[2016/08/20 v1.1 LaTeX presenation class following the cooperate design of The University of Sheffield]
\mode<presentation>
\beamer@suppressreplacementstrue% no special font settings
\setbeamerfont{tiny structure}{series=\mdseries,size=\tiny}
\setbeamerfont{title}{size=\Large,series=\bfseries,family=\rmfamily}
\setbeamerfont{subtitle}{size=\large,series=\bfseries,family=\sffamily}
\setbeamerfont*{author}{size=\normalsize,series=\bfseries,family=\sffamily}
\setbeamerfont{frametitle}{size=\large,series=\bfseries,family=\rmfamily}
\setbeamerfont{framesubtitle}{size=\footnotesize,family=\sffamily}
\setbeamerfont*{footline}{size=\Tiny}
\setbeamerfont*{date}{size=\footnotesize}
\mode
<all>
\endinput

View File

@ -0,0 +1,18 @@
%% Copyright (C) 2016 Achim D. Brucker, https://www.brucker.ch
%%
%% License:
%% This program can be redistributed and/or modified under the terms
%% of the LaTeX Project Public License Distributed from CTAN
%% archives in directory macros/latex/base/lppl.txt; either
%% version 1 of the License, or any later version.
%% OR
%% The 2-clause BSD-style license.
%%
\NeedsTeXFormat{LaTeX2e}[1994/06/01]
\ProvidesPackage{beamerinnerthemetuos}
[2016/08/20 v1.1 LaTeX presenation class following the cooperate design of The University of Sheffield]
\mode<presentation>
\setbeamertemplate{items}[circle]
\mode
<all>
\endinput

View File

@ -0,0 +1,73 @@
%% Copyright (C) 2016 Achim D. Brucker, https://www.brucker.ch
%%
%% License:
%% This program can be redistributed and/or modified under the terms
%% of the LaTeX Project Public License Distributed from CTAN
%% archives in directory macros/latex/base/lppl.txt; either
%% version 1 of the License, or any later version.
%% OR
%% The 2-clause BSD-style license.
%%
\NeedsTeXFormat{LaTeX2e}[1994/06/01]
\ProvidesPackage{beamerouterthemetuos}
[2016/08/20 v1.1 LaTeX presenation class following the cooperate design of The University of Sheffield]
\mode<presentation>
\RequirePackage{ifthen}
\RequirePackage{ifpdf}
\RequirePackage{datetime}
\ifpdf\else
\@ifundefined{pdfpagewidth}{\newdimen\pdfpagewidth}{}
\@ifundefined{pdfpageheight}{\newdimen\pdfpageheight}{}
\pdfpagewidth=\paperwidth
\pdfpageheight=\paperheight
\fi
\RequirePackage{tikz}
\defbeamertemplate*{navigation symbols}{TUOS}{}
\defbeamertemplate*{headline}{TUOS}{%
\begin{tikzpicture}[overlay,remember picture]
\node[anchor=north west,yshift=-0.1cm,xshift=-.2cm]
at (current page.north west) {
\ifbeamer@colour
\tuosLogoDark[height=1.2cm]
\else
\tuosLogoLight[height=1.2cm]
\fi
};
\end{tikzpicture}}
\defbeamertemplate*{frametitle}{TUOS}{%
\ifbeamer@plainframe%
\else%
\ifbeamer@compress%
\vskip0.2cm%
\hskip2.5cm%
\else
\vskip1.8cm%
\vskip-\topsep%
\fi%
\fi%
\usebeamercolor[fg]{frametitle}\usebeamerfont{frametitle}%
\insertframetitle\par%
\ifbeamer@plainframe%
\else%
\ifbeamer@compress%
\hskip2.5cm%
\else%
\fi%
\fi%
\usebeamercolor[fg]{framesubtitle}\usebeamerfont{framesubtitle}%
\insertframesubtitle
}
\defbeamertemplate*{footline}{TUOS}{%
\quad
\ifnum \insertpagenumber=1
\else
\mmddyyyydate\today \quad \textcopyright\ Copyright The University
of Sheffield /
Page \insertframenumber{} of \inserttotalframenumber\hspace*{2ex}
\fi
\vskip5pt%
}
\mode
<all>
\endinput

View File

@ -0,0 +1,154 @@
%% Copyright (C) 2016 Achim D. Brucker, https://www.brucker.ch
%%
%% License:
%% This program can be redistributed and/or modified under the terms
%% of the LaTeX Project Public License Distributed from CTAN
%% archives in directory macros/latex/base/lppl.txt; either
%% version 1 of the License, or any later version.
%% OR
%% The 2-clause BSD-style license.
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{beamerthemetuos}
[2016/08/20 v1.1 LaTeX presentation style following the cooperate design of The University of Sheffield]
\mode<presentation>
\newif\ifbeamer@plainfonts
\beamer@plainfontsfalse
\newif\ifbeamer@colour
\beamer@colourfalse
\DeclareOption{plainfonts}{\beamer@plainfontstrue}
\DeclareOptionBeamer{colour}{\beamer@colourtrue}
\ProcessOptionsBeamer
\ProcessOptions
\RequirePackage{xcolor}
\RequirePackage[]{tuos-logo}[2016/08/15]
\RequirePackage{tikz}
\RequirePackage{xparse}
\ifbeamer@plainfonts
\typeout{Using LaTeX fonts instead of cooperate fonts.}
\else
\RequirePackage{tuos-fonts}[2016/08/15]
\usefonttheme{professionalfonts}
\fi
\usecolortheme{tuos}
\useinnertheme{tuos}
\useoutertheme{tuos}
\usefonttheme{tuos}
\mode
<all>
\AtBeginDocument{
\providecommand{\thanksMsg}{Thank you for your attention!}
\providecommand{\thankYouMsg}{Thank you!}
\providecommand{\thanksQuestionsMsg}{Any questions or remarks?}
\providecommand{\AgendaMsg}{Outline}
}
\newcommand{\CopyrightFrame}{%
\bgroup\setbeamertemplate{footline}[default]%
\begin{frame}\vfill\Huge%
{\usebeamercolor[fg]{title}\rmfamily%
\noindent To\\
\noindent Discover\\
\noindent And\\
\noindent Understand.}\vfill
\end{frame}
\egroup}
\newcommand{\AgendaFrame}[1][]{%
\bgroup \setbeamertemplate{footline}[default]%
\begin{frame}
\frametitle{\AgendaMsg}
{\tableofcontents[#1]}
\end{frame}
\egroup}
\newcommand{\ThanksFrame}[1]{%
\begin{frame}[plain]
\huge
\begin{center}
\thanksMsg\\
\end{center}
\begin{center}
\large
\thanksQuestionsMsg
\end{center}
\end{frame}
}
\DeclareDocumentCommand{\PartFrame}{ O{TUOSmagenta} O{white} m }{%
\bgroup
\setbeamertemplate{footline}[default]
\ifbeamer@colour
\setbeamercolor{normal text}{fg=#2, bg=#1}
\setbeamercolor{structure}{fg=#2, bg=#1}
\else
\setbeamercolor{normal text}{fg=#1, bg=#2}
\setbeamercolor{structure}{fg=#1, bg=#2}
\fi
\part{#3}
\frame{\partpage}
\egroup
}
\newsavebox{\@tempsboxa}
\newsavebox{\@tempsboxb}
\newlength{\@tempdimd}
\newenvironment{kickerbox}[1][]
{%
\@tempdima=\textwidth%
\advance\@tempdima by -8mm%
\advance\@tempdima by -4mm%
%
\sbox{\@tempsboxb}{\parbox{4mm}{#1}}%
%
\begin{lrbox}{\@tempsboxa}%
\begin{minipage}{\the\@tempdima}%
}{%
\end{minipage}%
\end{lrbox}%
\settowidth{\@tempdima}{\usebox{\@tempsboxa}}
\advance\@tempdima by .4cm%
\settoheight{\@tempdimb}{\usebox{\@tempsboxa}}
\settodepth{\@tempdimc}{\usebox{\@tempsboxa}}
\advance\@tempdimb by .4cm%
\advance\@tempdimb by \the\@tempdimc%
%
\@tempdimc=\@tempdimb%
\settodepth{\@tempdimd}{\usebox{\@tempsboxb}}
\advance\@tempdimc by -\@tempdimd
\settodepth{\@tempdimd}{\usebox{\@tempsboxb}}
\advance\@tempdimc by -\@tempdimd
\advance\@tempdimc by -.6cm
\smallskip
\begin{columns}[onlytextwidth]
\begin{column}[t]{7mm}
\begin{beamercolorbox}[sep=.1cm,wd=8mm,ht=\the\@tempdimb]{palette secondary}
\usebox{\@tempsboxb}\vspace{\the\@tempdimc}%
\end{beamercolorbox}
\end{column}
\begin{column}[t]{\the\@tempdima}
\begin{beamercolorbox}[sep=0.2cm,wd=\the\@tempdima,ht=\the\@tempdimb]{kicker}%
\usebox{\@tempsboxa}%
\end{beamercolorbox}%
\end{column}
\end{columns}
\smallskip
}
\newenvironment{quotebox}
{\begin{kickerbox}[{\Huge\textbf{\usebeamercolor[bg]{kicker}{\,``}}}]}
{\end{kickerbox}}
\endinput

View File

@ -0,0 +1,18 @@
%% Copyright (C) 2016 Achim D. Brucker, https://www.brucker.ch
%%
%% License:
%% This program can be redistributed and/or modified under the terms
%% of the LaTeX Project Public License Distributed from CTAN
%% archives in directory macros/latex/base/lppl.txt; either
%% version 1 of the License, or any later version.
%% OR
%% The 2-clause BSD-style license.
%%
\NeedsTeXFormat{LaTeX2e}[1994/06/01]
\ProvidesClass{tuos-presentation}%
[2016/08/20 v1.1 LaTeX presenation class following the cooperate design of The University of Sheffield]
\RequirePackage{ifthen}
\LoadClassWithOptions{beamer}[]
\ProcessOptions\relax
\usetheme{tuos}
\endinput