89 lines
2.0 KiB
TeX
89 lines
2.0 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>
|
|
|
|
\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}
|
|
}
|
|
|
|
|
|
\endinput
|
|
|