Initial style setup.

This commit is contained in:
Achim D. Brucker 2016-08-16 21:28:27 +01:00
parent 506be420c0
commit e0dd13e5cc
5 changed files with 179 additions and 0 deletions

View File

@ -0,0 +1,39 @@
%% 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}
\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}
\fi
\mode
<all>

View File

@ -0,0 +1,20 @@
%% 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>
\defbeamertemplate*{itemize item}{TUOS}{$\bullet$}
\defbeamertemplate*{itemize subitem}{TUOS}{\---}
\defbeamertemplate*{itemize subsubitem}{TUOS}{\---}
\mode
<all>
\endinput

View File

@ -0,0 +1,58 @@
%% 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=0cm,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%
\vskip1.8cm%
\vskip-\topsep%
\fi%
\usebeamercolor[fg]{frametitle}\usebeamerfont{frametitle}%
\insertframetitle\par%
\usebeamercolor[fg]{framesubtitle}\usebeamerfont{framesubtitle}%
\insertframesubtitle
}
\defbeamertemplate*{footline}{TUOS}{%
{ \quad
\mmddyyyydate\today \quad \textcopyright\ Copyright The University
of Sheffield. /
Page \insertframenumber{} of \inserttotalframenumber}\hspace*{2ex}
\vskip5pt%
}
\mode
<all>
\endinput

View File

@ -0,0 +1,30 @@
%% 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@colour
\beamer@colourfalse
\DeclareOptionBeamer{colour}{\beamer@colourtrue}
\ProcessOptionsBeamer
\RequirePackage[]{tuos-logo}[2016/08/15]
\RequirePackage{tikz}
\usecolortheme{tuos}
\useinnertheme{tuos}
\useoutertheme{tuos}
\mode
<all>
\endinput

View File

@ -0,0 +1,32 @@
%% 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}
\newboolean{tuos@plainfonts}
\setboolean{tuos@plainfonts}{false}
\LoadClassWithOptions{beamer}[]
\DeclareOption{plainfonts}{\setboolean{tuos@plainfonts}{true}}
\ProcessOptions\relax
\ifthenelse{\boolean{tuos@plainfonts}}
{\typeout{Using LaTeX fonts instead of cooperate fonts.}}
{\RequirePackage{tuos-fonts}[2016/08/15]}
\RequirePackage[T1]{fontenc}
\RequirePackage{tuos-logo}[2016/08/15]
\RequirePackage{xcolor}
\usetheme{tuos}
\endinput