Mercurial > 14ss.theoinf
annotate notes/tex/beamerthemeLEA2.sty @ 2:dcbc3181a802
use new style; merge preambles
author | Markus Kaiser <markus.kaiser@in.tum.de> |
---|---|
date | Sun, 13 Apr 2014 17:11:29 +0200 |
parents | a9275b863a0d |
children |
rev | line source |
---|---|
1 | 1 \ProvidesPackage{beamerthemeLEA2} |
2 | |
3 \xdefinecolor{tumblue} {RGB}{ 0,101,189} | |
4 \xdefinecolor{tumgreen} {RGB}{162,173, 0} | |
5 \xdefinecolor{tumred} {RGB}{229, 52, 24} | |
6 \xdefinecolor{tumivory} {RGB}{218,215,203} | |
7 \xdefinecolor{tumorange} {RGB}{227,114, 34} | |
8 \xdefinecolor{tumlightblue}{RGB}{152,198,234} | |
9 | |
10 %% shadow, font, color, outer, inner | |
11 %% normal text, alerted text, example text, structure | |
12 | |
13 \useoutertheme{split} | |
14 | |
15 \setbeamercolor{normal text}{fg=black,bg=white} | |
16 \setbeamercolor{alerted text}{fg=tumred,bg=white} | |
17 \setbeamercolor{example text}{fg=tumgreen,bg=white} | |
18 \setbeamercolor{structure}{fg=tumblue,bg=white} | |
19 \setbeamercolor{titlelike}{fg=tumblue} | |
20 \setbeamercolor{subtitle}{fg=black} | |
21 \setbeamerfont{title}{series=\bfseries} | |
22 | |
23 \setbeamertemplate{sections/subsections in toc}[square] | |
24 \setbeamertemplate{items}[square] | |
25 \setbeamertemplate{navigation symbols}[only frame symbol] | |
26 | |
27 \setbeamertemplate{blocks}[default] | |
28 | |
29 \setbeamercolor{block title} {use=normal text, fg=black,bg=tumlightblue} | |
30 \setbeamercolor{block title alerted}{use=alerted text,fg=white,bg=alerted text.fg} | |
31 \setbeamercolor{block title example}{use=example text,fg=white,bg=example text.fg} | |
32 | |
33 \setbeamercolor{block body} {parent=normal text,use=block title, bg=block title.bg!25!bg} | |
34 \setbeamercolor{block body alerted}{parent=normal text,use=block title alerted,bg=block title.bg!25!bg} | |
35 \setbeamercolor{block body example}{parent=normal text,use=block title example,bg=block title example.bg!15!bg} | |
36 | |
2
dcbc3181a802
use new style; merge preambles
Markus Kaiser <markus.kaiser@in.tum.de>
parents:
1
diff
changeset
|
37 %\pgfdeclareimage[height=5mm]{uni}{TU_Muenchen_Logo_Breit} |
dcbc3181a802
use new style; merge preambles
Markus Kaiser <markus.kaiser@in.tum.de>
parents:
1
diff
changeset
|
38 \pgfdeclareimage[height=5mm]{uni}{tum} |
1 | 39 \logo{\pgfuseimage{uni}} |
40 | |
41 \defbeamertemplate*{footline}{infolines theme}{% | |
42 \hspace*{2ex}\raisebox{1.5ex}[-1.5ex]{% | |
43 \tiny\insertframenumber{}/\inserttotalframenumber \hspace{5mm} \insertnavigation{0.8\paperwidth}}% | |
44 } | |
45 | |
46 \setbeamertemplate{frametitle}{ | |
2
dcbc3181a802
use new style; merge preambles
Markus Kaiser <markus.kaiser@in.tum.de>
parents:
1
diff
changeset
|
47 \begin{beamercolorbox}[wd=\textwidth,leftskip=0mm]{frametitle} |
1 | 48 \usebeamerfont*{frametitle} |
2
dcbc3181a802
use new style; merge preambles
Markus Kaiser <markus.kaiser@in.tum.de>
parents:
1
diff
changeset
|
49 \insertframetitle\hfill\parbox{10mm}{\vspace{-1.5mm}\insertlogo} |
1 | 50 \end{beamercolorbox} |
2
dcbc3181a802
use new style; merge preambles
Markus Kaiser <markus.kaiser@in.tum.de>
parents:
1
diff
changeset
|
51 \vspace{-2.5mm}\textcolor{tumblue}{\noindent\rule{\textwidth}{0.4px}} |
1 | 52 } |
53 % hier kein Logo | |
2
dcbc3181a802
use new style; merge preambles
Markus Kaiser <markus.kaiser@in.tum.de>
parents:
1
diff
changeset
|
54 \setbeamertemplate{sidebar right}{}%{\vfill\vskip2pt\llap{\usebeamertemplate***{navigation symbols}\hskip1mm}\vskip2pt} |
1 | 55 |
56 \setbeamertemplate{headline}{} | |
57 | |
58 \setbeamercovered{transparent} | |
59 | |
60 % escapeinside= removed for utf8 compatibility | |
61 \lstset{numbers=left, numberstyle=\tiny, numbersep=5pt, basicstyle=\small, backgroundcolor=\color{tumlightblue}} |