changeset 165:65599f4edb72

TUM theme
author Markus Kaiser <markus.kaiser@in.tum.de>
date Sun, 26 Oct 2014 00:00:35 +0200
parents 4a958d031396
children 593646061140
files theme/tum_beamer/beamerthemeTUM.sty theme/tum_beamer/example.tex theme/tum_beamer/preamble.tex theme/tum_beamer/tum.pdf
diffstat 4 files changed, 319 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/theme/tum_beamer/beamerthemeTUM.sty	Sun Oct 26 00:00:35 2014 +0200
@@ -0,0 +1,55 @@
+\ProvidesPackage{beamerthemeLEA2}
+
+\xdefinecolor{tumblue}     {RGB}{  0,101,189}
+\xdefinecolor{tumgreen}    {RGB}{162,173,  0}
+\xdefinecolor{tumred}      {RGB}{229, 52, 24}
+\xdefinecolor{tumivory}    {RGB}{218,215,203}
+\xdefinecolor{tumorange}   {RGB}{227,114, 34}
+\xdefinecolor{tumlightblue}{RGB}{152,198,234}
+
+%% shadow, font, color, outer, inner
+%% normal text, alerted text, example text, structure
+
+\useoutertheme{split}
+
+\setbeamercolor{normal text}{fg=black,bg=white}
+\setbeamercolor{alerted text}{fg=tumred,bg=white}
+\setbeamercolor{example text}{fg=tumgreen,bg=white}
+\setbeamercolor{structure}{fg=tumblue,bg=white}
+\setbeamercolor{titlelike}{fg=tumblue}
+\setbeamercolor{subtitle}{fg=black}
+\setbeamerfont{title}{series=\bfseries}
+
+\setbeamertemplate{sections/subsections in toc}[square]
+\setbeamertemplate{items}[square]
+\setbeamertemplate{navigation symbols}[only frame symbol]
+
+\setbeamertemplate{blocks}[default]
+
+\setbeamercolor{block title}        {use=normal text, fg=black,bg=tumlightblue}
+\setbeamercolor{block title alerted}{use=alerted text,fg=white,bg=alerted text.fg}
+\setbeamercolor{block title example}{use=example text,fg=white,bg=example text.fg}
+
+\setbeamercolor{block body}        {parent=normal text,use=block title,        bg=block title.bg!25!bg}
+\setbeamercolor{block body alerted}{parent=normal text,use=block title alerted,bg=block title.bg!25!bg}
+\setbeamercolor{block body example}{parent=normal text,use=block title example,bg=block title example.bg!15!bg}
+
+\pgfdeclareimage[height=5mm]{uni}{tum}
+\logo{\pgfuseimage{uni}}
+
+\defbeamertemplate*{footline}{infolines theme}{%
+    \hspace*{2ex}\raisebox{1.5ex}[-1.5ex]{%
+    \tiny\insertframenumber{}/\inserttotalframenumber \hspace{5mm} \insertnavigation{0.8\paperwidth}}%
+}
+
+\setbeamertemplate{frametitle}{
+    \begin{beamercolorbox}[wd=\textwidth,leftskip=0mm]{frametitle}
+        \usebeamerfont*{frametitle}
+        \insertframetitle\hfill\parbox{10mm}{\vspace{-1.5mm}\insertlogo}
+    \end{beamercolorbox}
+    \vspace{-2.5mm}\textcolor{tumblue}{\noindent\rule{\textwidth}{0.4px}}
+}
+
+\setbeamertemplate{sidebar right}{}%{\vfill\vskip2pt\llap{\usebeamertemplate***{navigation symbols}\hskip1mm}\vskip2pt}
+\setbeamertemplate{headline}{}
+\setbeamercovered{transparent}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/theme/tum_beamer/example.tex	Sun Oct 26 00:00:35 2014 +0200
@@ -0,0 +1,103 @@
+\input{preamble.tex}
+
+\title{Minimal Presentation}
+\subtitle{Fancy Latex}
+\author{\href{mailto:markus.kaiser@in.tum.de}{Markus Kaiser}}
+
+\begin{document}
+
+\begin{frame}
+    \titlepage
+\end{frame}
+
+\begin{frame}
+    \frametitle{Listings}
+
+    \begin{itemize}
+        \item Stuff can be itemized
+        \item Even recursively
+        \begin{itemize}
+            \item All the way
+            \item down
+                \begin{itemize}
+                    \item down
+                \end{itemize}
+        \end{itemize}
+    \end{itemize}
+
+    \vfill
+
+    \begin{enumerate}[(a)]
+        \item Or enumerated
+        \item With different numerals
+        \item Which can be changed in the argument
+    \end{enumerate}
+
+    \vfill
+
+    \begin{description}[For proper spacing]
+        \item[Words] Can be explained
+        \item[For proper spacing] beamer provides an optional argument to description
+    \end{description}
+\end{frame}
+
+\begin{frame}
+    \frametitle{Blocks}
+
+    \begin{definition}[Blockification]
+        \structure{Blockification} describes the process of putting words in pretty boxes. For \alert{Blockification} to work nicely, one has to observe the following relation between $\tau$, the complete area of the slide and $\mathfrak{B}$, the blockificated content.
+        \begin{align}
+            \tau^\mathfrak{B} = \frac{\pi}{\sqrt{3}} &\neq 5\\
+            \intertext{and}
+            1 &\defeq 1
+        \end{align}
+    \end{definition}
+
+    \vfill
+
+    \begin{example}[Block of different colors]
+        This is a block of different color and semantic.
+    \end{example}
+\end{frame}
+
+\begin{frame}[c]
+    \frametitle{Columns}
+
+    \begin{block}{Statement}
+        Graphs are cool.
+    \end{block}
+
+    \vfill
+
+    \begin{columns}[c]
+        \begin{column}{.4\textwidth}
+            \begin{itemize}
+                \item One can organize things next to each other.
+                \item Using columns
+                \item There are some tricky details concearning alignment
+                \item You might want to \alert{read the manual}!
+                \item Which you should use anyway.
+            \end{itemize}
+        \end{column}
+        \begin{column}{.6\textwidth}
+            \centering
+            \begin{tikzpicture}
+                \tikzstyle{vertex} = [circle,thick,draw,fill=tumblue!10]
+                \tikzstyle{edge} = [draw, thick, -]
+
+                \draw
+                    (0, 0)
+                    +(0, 0) node[vertex] (va) {}
+                    +(1, 0) node[vertex] (vb) {}
+                    +(0, 1) node[vertex] (vc) {}
+                    +(1, 1) node[vertex] (vd) {}
+                    +(0.5, -0.5) node {$K_4$};
+
+                \draw[edge]
+                    (va) -- (vb) -- (vc) -- (vd) -- (va) -- (vc) (vb) -- (vd);
+            \end{tikzpicture}
+        \end{column}
+    \end{columns}
+\end{frame}
+
+\end{document}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/theme/tum_beamer/preamble.tex	Sun Oct 26 00:00:35 2014 +0200
@@ -0,0 +1,77 @@
+\documentclass[compress, 9pt, german, t]{beamer}
+
+%%%%%%%%%%%%%%
+%  Language  %
+%%%%%%%%%%%%%%
+\usepackage[english]{babel}
+\uselanguage{English}
+\languagepath{English}
+
+%%%%%%%%%%%
+%  Fonts  %
+%%%%%%%%%%%
+\usepackage[T1]{fontenc}
+\usepackage[utf8]{inputenc}
+
+% You might want to change this
+% See http://www.tug.dk/FontCatalogue
+\usepackage{arev}
+\usepackage{mathpazo}
+\usepackage{microtype}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%  Used by beamer or theme  %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\usepackage{url}
+\usepackage{listings}
+\usepackage{xcolor}
+
+%%%%%%%%%%
+%  Tikz  %
+%%%%%%%%%%
+\usepackage{tikz}
+\usepackage{pgfplots}
+\pgfplotsset{compat=1.8}
+
+%%%%%%%%%%%%%%
+%  Mathmode  %
+%%%%%%%%%%%%%%
+\usepackage{amsmath}
+\usepackage{mathdots}
+\usepackage{mathtools}
+\mathtoolsset{showonlyrefs,showmanualtags}
+\usepackage{mathrsfs}
+\usepackage{csquotes}
+
+%%%%%%%%%%%%%%%%%%
+%  Beamer Theme  %
+%%%%%%%%%%%%%%%%%%
+\usepackage{beamerthemeTUM}
+\setbeamercovered{transparent}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%  Some useful(?) commands  %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\newcommand{\N}{\mathbb{N}}
+\newcommand{\Z}{\mathbb{Z}}
+\newcommand{\Q}{\mathbb{Q}}
+\newcommand{\R}{\mathbb{R}}
+\newcommand{\C}{\mathbb{C}}
+\newcommand{\Prob}{\mathrm{P}}
+\newcommand{\Oh}{\mathcal{O}}
+
+\newcommand{\true}{\mathrm{true}}
+\newcommand{\false}{\mathrm{false}}
+
+\newcommand{\abs}[1]{\left\vert #1 \right\vert}
+\newcommand{\powerset}[1]{\mathcal{P}\left( #1 \right)}
+\newcommand{\setnot}[1]{\overline{#1}}
+\newcommand{\setsymdiff}{\,\triangle\,}
+\newcommand{\alg}[1]{\left\langle #1 \right\rangle}
+\DeclareMathOperator{\ind}{ind}
+\DeclareMathOperator{\ord}{ord}
+\DeclareMathOperator{\ggt}{ggT}
+
+\newcommand{\rel}[1]{\,\mathrm{#1}\,}
+
+\newcommand{\defeq}{\coloneqq} %Mathtools already defines this
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/theme/tum_beamer/tum.pdf	Sun Oct 26 00:00:35 2014 +0200
@@ -0,0 +1,84 @@
+%PDF-1.4
+%쏢
+5 0 obj
+<</Length 6 0 R/Filter /FlateDecode>>
+stream
+xmMj!ཧ/ֿu"=Cthz S(Wc~{߶P~|7,u(MhDF%+E[̑T
+XJ[B&Ri%WJ%*R&NRͩKQ)Fƾ&	M.d\is?9_x}[Yendstream
+endobj
+6 0 obj
+172
+endobj
+4 0 obj
+<</Type/Page/MediaBox [0 0 54 29]
+/Parent 3 0 R
+/Resources<</ProcSet[/PDF]
+/ExtGState 8 0 R
+>>
+/Contents 5 0 R
+>>
+endobj
+3 0 obj
+<< /Type /Pages /Kids [
+4 0 R
+] /Count 1
+>>
+endobj
+1 0 obj
+<</Type /Catalog /Pages 3 0 R
+/Metadata 9 0 R
+>>
+endobj
+7 0 obj
+<</Type/ExtGState
+/OPM 1>>endobj
+8 0 obj
+<</R7
+7 0 R>>
+endobj
+9 0 obj
+<</Type/Metadata
+/Subtype/XML/Length 1448>>stream
+<?xpacket begin='' id='W5M0MpCehiHzreSzNTczkc9d'?>
+<?adobe-xap-filters esc="CRLF"?>
+<x:xmpmeta xmlns:x='adobe:ns:meta/' x:xmptk='XMP toolkit 2.9.1-13, framework 1.6'>
+<rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#' xmlns:iX='http://ns.adobe.com/iX/1.0/'>
+<rdf:Description rdf:about='uuid:c9ca2823-6786-11ee-0000-81ba9e8eeeec' xmlns:pdf='http://ns.adobe.com/pdf/1.3/' pdf:Producer='GPL Ghostscript 9.10'/>
+<rdf:Description rdf:about='uuid:c9ca2823-6786-11ee-0000-81ba9e8eeeec' xmlns:xmp='http://ns.adobe.com/xap/1.0/'><xmp:ModifyDate>2013-10-07T18:05:09+02:00</xmp:ModifyDate>
+<xmp:CreateDate>2013-10-07T18:05:09+02:00</xmp:CreateDate>
+<xmp:CreatorTool>Adobe Illustrator(R) 8.0</xmp:CreatorTool></rdf:Description>
+<rdf:Description rdf:about='uuid:c9ca2823-6786-11ee-0000-81ba9e8eeeec' xmlns:xapMM='http://ns.adobe.com/xap/1.0/mm/' xapMM:DocumentID='uuid:c9ca2823-6786-11ee-0000-81ba9e8eeeec'/>
+<rdf:Description rdf:about='uuid:c9ca2823-6786-11ee-0000-81ba9e8eeeec' xmlns:dc='http://purl.org/dc/elements/1.1/' dc:format='application/pdf'><dc:title><rdf:Alt><rdf:li xml:lang='x-default'>(TUMLogo_oZ_Vollfl_blau_CMYK.eps)</rdf:li></rdf:Alt></dc:title><dc:creator><rdf:Seq><rdf:li>(Florian) ()</rdf:li></rdf:Seq></dc:creator></rdf:Description>
+</rdf:RDF>
+</x:xmpmeta>
+                                                                        
+                                                                        
+<?xpacket end='w'?>
+endstream
+endobj
+2 0 obj
+<</Producer(GPL Ghostscript 9.10)
+/CreationDate(D:20131007180509+02'00')
+/ModDate(D:20131007180509+02'00')
+/Creator(Adobe Illustrator\(R\) 8.0)
+/Author(\(Florian\) \(\))
+/Title(\(TUMLogo_oZ_Vollfl_blau_CMYK.eps\))>>endobj
+xref
+0 10
+0000000000 65535 f 
+0000000464 00000 n 
+0000002122 00000 n 
+0000000405 00000 n 
+0000000276 00000 n 
+0000000015 00000 n 
+0000000257 00000 n 
+0000000528 00000 n 
+0000000569 00000 n 
+0000000598 00000 n 
+trailer
+<< /Size 10 /Root 1 0 R /Info 2 0 R
+/ID [<33FAFB8CEAEE9DBD080319A9DEBAF35A><33FAFB8CEAEE9DBD080319A9DEBAF35A>]
+>>
+startxref
+2352
+%%EOF