This repository has been archived on 2024-04-22. You can view files and clone it, but cannot push or open issues or pull requests.
tuos-latex/tuos-presentation/beamerthemetuos.sty

59 lines
1.4 KiB
TeX

%% 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}
\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>
\newcommand{\CopyrightFrame}{%
\setbeamertemplate{footline}[default]
\begin{frame}\vfill\Huge%
{\usebeamercolor[fg]{title}\rmfamily%
\noindent To\\
\noindent Discover\\
\noindent And\\
\noindent Understand.}\vfill
\end{frame}}
\endinput