Mercurial > latex
changeset 16:c5994931304f
add utf8 TUM-Theme
author | Markus Kaiser <markus.kaiser@in.tum.de> |
---|---|
date | Sun, 13 May 2012 21:18:46 +0100 |
parents | 12f4d2dce6a4 |
children | b81399bc8f54 |
files | theme/TU_Muenchen_Logo_Breit.pdf theme/beamerthemeLEA2.sty theme/example.tex |
diffstat | 3 files changed, 193 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/theme/beamerthemeLEA2.sty Sun May 13 21:18:46 2012 +0100 @@ -0,0 +1,60 @@ +\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}{TU_Muenchen_Logo_Breit} +\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=80mm,leftskip=0mm]{frametitle} + \usebeamerfont*{frametitle} + \insertframetitle\hfill\parbox{10mm}{\vspace{-2mm}\insertlogo}\hspace{-2mm} + \end{beamercolorbox} + \vspace{-3mm}\textcolor{tumblue}{\noindent\rule{\textwidth}{0.4px}} +} +% hier kein Logo +\setbeamertemplate{sidebar right}{\vfill\vskip2pt\llap{\usebeamertemplate***{navigation symbols}\hskip1mm}\vskip2pt} + +\setbeamertemplate{headline}{} + +\setbeamercovered{transparent} + +% escapeinside= removed for utf8 compatibility +\lstset{numbers=left, numberstyle=\tiny, numbersep=5pt, basicstyle=\small, backgroundcolor=\color{tumlightblue}}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/theme/example.tex Sun May 13 21:18:46 2012 +0100 @@ -0,0 +1,133 @@ +\documentclass[compress]{beamer} +%,hyperref={pdfpagelabels=false} + +\usepackage[ngerman,english]{babel} +\usepackage[T1]{fontenc} +\usepackage[utf8]{inputenc} +\usepackage{amsmath} +\usepackage{amsthm} +\usepackage{amsfonts} +\usepackage{helvet} +\usepackage{url} +\usepackage{listings} +\usepackage{xcolor} +\usepackage{xspace} % Abstand hinter Variablennamen +\usepackage{fix-cm} +%\usepackage[square, sort, numbers, authoryear]{natbib} + +\usepackage{beamerthemeLEA2} + +%\bibliographystyle{plainnat} + +\newcommand{\N} {\mathbb{N}} % natürliche Zahlen +\newcommand{\Z} {\mathbb{Z}} % ganze Zahlen +\newcommand{\R} {\mathbb{R}} % reelle Zahlen +\newcommand{\Prob} {\mathrm{P}} % Wahrscheinlichkeit +\newcommand{\inter} {\cap} % Schnittmenge +\newcommand{\union} {\cup} % Vereinigung +\newcommand{\Oh} {O} % O-Notation (Landau-Symbole) +\newcommand{\mycite}[1]{\textcolor{tumgreen}{[#1]}} + +\newenvironment{changemargin}[2]{% + \begin{list}{}{% + \setlength{\topsep}{0pt}% + \setlength{\leftmargin}{#1}% + \setlength{\rightmargin}{#2}% + \setlength{\listparindent}{\parindent}% + \setlength{\itemindent}{\parindent}% + \setlength{\parsep}{\parskip}% + }% + \item[]}{\end{list}} + +\title{Title of the talk} +\subtitle{Proseminar ``XY''} +\author{\href{mailto:mail@example.com}{Vorname Nachname}} +\date{\today} +%\date{2011-09-07} +\institute{Technische Universität München} + +% Inhaltsverzeichnis zu Begin von jedem Abschnitt einblenden? +%\AtBeginSection[]{ +% \begin{frame} +% \frametitle{Outline} +% \tableofcontents[currentsection] +% \end{frame} +%} + +\begin{document} + +\begin{frame} + \titlepage +\end{frame} + +% Inhaltsverzeichnis +%\begin{frame} +% \frametitle{Outline} +% \tableofcontents +%\end{frame} + +\section{Motivation} + +\begin{frame} + \frametitle{Motivation} + \small + \begin{block}{Observation 1}<1-> + \footnotesize + Analyzing biological sequences for their statistical properties can lead to interesting conclusions: + \begin{itemize} + \footnotesize + \item Coding vs. non-coding regions (CpG content, entropy, \ldots) + \item Species identification + \item Number and length of repeats + \end{itemize} + \end{block} + \begin{block}{Observation 2}<2-> + \footnotesize + Many algorithms and data structures depend on statistical properties of the underlying sequence: + \begin{itemize} + \footnotesize + \item Algorithms for sequence assembly: repeats + \item Suffix tree: repeats + \item $q$-gram index: number and distribution of $q$-grams + \item Compressed index structures: entropy + \end{itemize} + \end{block} +\end{frame} + +\section{Algorithm} + +\begin{frame} + \frametitle{Logo} + The logo of the Technische Universität München looks as follows: + \only<2>{\includegraphics[width=\textwidth]{TU_Muenchen_Logo_Breit}} +\end{frame} + +\section{Discussion} + +\begin{frame} + \frametitle{Discussion} + \begin{itemize} + \item<1-> Summary + \begin{itemize} + \item First + \item Second + \end{itemize} + \item<2-> Outlook + \begin{itemize} + \item First + \item Second + \end{itemize} + \end{itemize} +\end{frame} + +\begin{frame} + \Large + \begin{itemize} + \item<1> Thank you! + \end{itemize} + \begin{itemize} + \item<2> Questions? + \end{itemize} +\end{frame} + +\end{document}