-
Notifications
You must be signed in to change notification settings - Fork 0
/
beamerinnerthemejlug.sty
55 lines (49 loc) · 1.91 KB
/
beamerinnerthemejlug.sty
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
\mode<presentation>
% standard pages
\setbeamertemplate{background}{
\begin{tikzpicture}
\useasboundingbox (0,0) rectangle(\the\paperwidth,\the\paperheight);
\fill[color=jluglightblue] (.04*\the\paperwidth,0.) rectangle (\the\paperwidth,0.77*\paperheight);
\fill[color=jlugblue] (0,.09*\the\paperheight) rectangle(.96*\the\paperwidth,.25*\the\paperheight);
\node[inner sep=0pt, anchor=north east] (signet) at (.96*\the\paperwidth,.95*\the\paperheight) %
{\includegraphics[width=0.215\paperwidth]{../../../JLUbox/62_materials/jlug_signet.png}};
\ifnum\thepage>1\relax%
\fill[white,opacity=1] (0,0) rectangle(\the\paperwidth,\the\paperheight);
\fi
\end{tikzpicture}
}
% Title page
\defbeamertemplate*{title page}{jlug}[1][]
{ \vskip59.5mm%
\begin{beamercolorbox}[wd=245mm, left, #1]{author}
\hspace{9mm}\usebeamerfont{author}\insertauthor\ | \insertinstitute\ %
\end{beamercolorbox}
\begin{beamercolorbox}[wd=245mm, left, #1]{date}
\hspace{9mm}\usebeamerfont{author}\insertdate%
\end{beamercolorbox}
\vskip0.3cm%
\begin{beamercolorbox}[wd=245mm,#1,left]{title page header}
\hspace{9mm}\usebeamerfont{title}\inserttitle\par%
\hspace{9mm}\usebeamerfont{title}\insertsubtitle\par%
\end{beamercolorbox}%
\vfill
}
%% Title page
\setbeamertemplate{frametitle}{
% \ifbeamercolorempty[bg]{frametitle}{}{\nointerlineskip}%
\@tempdima=\textwidth%
\advance\@tempdima by\beamer@leftmargin%
\advance\@tempdima by\beamer@rightmargin%
% \hspace*{1cm} %%%%%%%%%%%%% For example insert shift to right
\begin{beamercolorbox}[sep=0.9cm,left,wd=\the\paperwidth]{frame title}
\usebeamerfont{frametitle}%
\vbox{}\vskip-1ex%
\if@tempswa\else\csname beamer@ftecenter\endcsname\fi%
\strut\expandafter\MakeUppercase\expandafter{\insertframetitle}\strut\par%
% \strut\insertframetitle\strut\par%
\vskip-1ex%
% \if@tempswa\else\vskip-.3cm\fi% set inside beamercolorbox... evil here...
\end{beamercolorbox}%
}
\mode
<all>