-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.tex
123 lines (96 loc) · 3.63 KB
/
main.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
\documentclass[aspectratio=169]{beamer}
\usepackage{tikz}
\usepackage[british,UKenglish]{babel}
\definecolor{mypres}{RGB}{0,150,215}
% setting some colors for the theme
\setbeamercolor{palette primary}{fg=mypres,bg=white}
\setbeamercolor{palette secondary}{fg=mypres,bg=white}
\setbeamercolor{structure}{fg=mypres,bg=white}
\setbeamercolor{title in head/foot}{fg=black,bg=white}
\setbeamercolor{date in head/foot}{fg=gray,bg=white}
\setbeamercolor*{frametitle}{fg=white,bg=mypres}
\setbeamercolor*{framesubtitle}{fg=white,bg=mypres}
% definition of the footline template
\defbeamertemplate*{footline}{mytheme}{%
\leavevmode%
\hbox{\begin{beamercolorbox}[wd=.5\paperwidth,ht=2.5ex,dp=1.125ex,leftskip=.3cm,rightskip=.3cm]{title in head/foot}%
\makebox[2em][l]{{\usebeamerfont{title in head/foot}\textcolor{mypres}{\insertframenumber}}}%
{\usebeamercolor{title in head/foot}\insertsection}
\end{beamercolorbox}%
\begin{beamercolorbox}[wd=.2\paperwidth,ht=2.5ex,dp=1.125ex,leftskip=.3cm,rightskip=.3cm]{date in head/foot}%
\usebeamerfont{date in head/foot}\insertshortdate%
\end{beamercolorbox}%
\begin{beamercolorbox}[wd=.3\paperwidth,ht=2.5ex,dp=1.125ex,leftskip=.3cm,rightskip=.3cm,right]{title in head/foot}%
\hspace{1em}
\end{beamercolorbox}}%
\vskip0pt%
}
%logo on every slide if you want it
%\addtobeamertemplate{frametitle}{}{%
%\begin{tikzpicture}[remember picture,overlay]
%\node at ([xshift=-1.9cm, yshift=-0.6cm]current page.north east)
% {\includegraphics[height=1cm]{Leeds_University_Logo.pdf}};
%\end{tikzpicture}}
% definition of the title page template
\defbeamertemplate*{title page}{mytheme}[1][]
{%
\begin{tikzpicture}[remember picture,overlay]
\node[text=black,anchor=south west,font=\sffamily\LARGE,text width=.85\paperwidth]
at ([xshift=10pt,yshift=1cm]current page.west)
(title)
{\raggedright\inserttitle};
% \node[anchor=west]
% at ([xshift=-4cm, yshift=-0.6cm]current page.north east)
% {\includegraphics[height=1cm]{Leeds_University_Logo.pdf}};
\node[text=black,font=\large\sffamily,anchor=south west]
at ([xshift=10pt,yshift=0.5cm]current page.south west)
(date)
{\insertdate};
\node[text=black,font=\large\sffamily,anchor=south west,text width=.75\paperwidth]
at ([yshift=70pt]date.north west)
(author)
{\insertauthor};
\textbf{ \node[text=black,font=\footnotesize\sffamily,anchor=south west,text width=.75\paperwidth]
at ([yshift=20pt]date.north west)
(inst)
{\insertinstitute};}
\end{tikzpicture}%
}
% remove navigation symbols
\setbeamertemplate{navigation symbols}{}
\title{Scientific Talk}
\author[author1]{\textbf{Pugh}\inst{1} \and Barney McGrew\inst{1}
}
\institute[shortinst]{\inst{1} Trumpton University, Trumptonshire
}
\date{\today}
\begin{document}
{
\setbeamertemplate{footline}{}
%\addtocounter{framenumber}{-1}
\begin{frame}
\frametitle{School of Science}
\framesubtitle{Institute for fire-fighting}
\maketitle
%\includegraphics[width=\textwidth]{snapshot.jpg}
\tikz [remember picture,overlay]
\node at
([xshift=-5.3cm,yshift=0.7cm]current page.south east)
%or: (current page.center)
%{\includegraphics[width=.7\textwidth]{logo.pdf}};
{\text{DTP logo placeholder etc}};
%this is if you want a logo on *just* the first slide
\tikz [remember picture, overlay]
\node[anchor=west]
at ([xshift=-4cm, yshift=-0.6cm]current page.north east)
{\includegraphics[height=1cm]{Leeds_University_Logo.pdf}};
\end{frame}
}
\section{Introduction}
\begin{frame}{Being a firefighter}
\framesubtitle{Experience}
\begin{itemize}
\item Playing in a brass band
\end{itemize}
\end{frame}
\end{document}