forked from cryingshadow/talkReactReflux
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.tex
executable file
·38 lines (38 loc) · 2.04 KB
/
style.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
%TODO
\mode<presentation>
{
\setbeamerfont{block title}{size={}}
\usefonttheme{professionalfonts} % using non standard fonts for beamer
\usefonttheme{serif} % default family is serif
\setbeamercovered{transparent}
\setbeamertemplate{navigation bars}{}
\setbeamertemplate{navigation symbols}{}
\setbeamersize{text margin left=4mm}
\setbeamersize{text margin right=4mm}
\setbeamertemplate{itemize items}[ball]
\setbeamertemplate{enumerate items}[ball]
\setbeamertemplate{headline}{}
\setbeamertemplate{footline}{
\begin{tikzpicture}[remember picture,overlay]
\draw[metroblue] ($(current page.south west)+(0.6,0.6)$) -- ($(current page.south east)+(-3.5,0.6)$);
\node (logosmall) at ($(current page.south east)+(-0.2,-0.1)$) [anchor=south east] {\includegraphics[height=8mm]{pics/metro.png}};
\node[metroblue] (textline) at ($(current page.south west)+(0.8,0.13)$) [anchor=south west] {\footertext{}};
\end{tikzpicture}
}
\defbeamertemplate*{title page}{metro}[1][]{
\begin{tikzpicture}[remember picture,overlay]
\node (logo) at (current page.north west) [anchor=north west] {\includegraphics[height=\paperheight]{pics/left.png}};
\node[white] (title) at ($(logo)+(-0.7,0.65)$) [anchor=south west] {\fontsize{20}{20}\selectfont\textbf{\inserttitle}\par};
\node[white] (subtitle) [below=0.7 of title.west,anchor=west] {\fontsize{12}{12}\selectfont\textbf{\insertsubtitle}\par};
\node[white] (date) [below=0.9 of subtitle.west,anchor=west] {\datesize\insertdate,};
\node[white] (place) [below=0.42 of date.west,anchor=west] {\datesize\selectfont\location};
\node[white] (authorpic) [below=0.1 of place.south west,anchor=north west] {\insertauthorpic};
\node[white] (author) [right=0.1 of authorpic.south east,anchor=south west] {\datesize\selectfont\insertauthor};
\node[white] (textline) at ($(current page.south west)+(0.8,0.13)$) [anchor=south west] {\footertext{}};
\end{tikzpicture}
}
\defbeamertemplate*{frametitle}{metro}[1][]{
\vskip2mm%
\hspace*{3mm}\parbox{11cm}{\fontsize{16}{12}\selectfont\textbf{\textcolor{metroblue}{\insertframetitle}}}
}
}