Initial commit
This commit is contained in:
commit
07b4a25a11
|
@ -0,0 +1,32 @@
|
||||||
|
*.acn
|
||||||
|
*.acr
|
||||||
|
*.alg
|
||||||
|
*.aux
|
||||||
|
*.bbl
|
||||||
|
*.blg
|
||||||
|
*.dvi
|
||||||
|
*.fdb_latexmk
|
||||||
|
*.glg
|
||||||
|
*.glo
|
||||||
|
*.gls
|
||||||
|
*.idx
|
||||||
|
*.ilg
|
||||||
|
*.ind
|
||||||
|
*.ist
|
||||||
|
*.lof
|
||||||
|
*.log
|
||||||
|
*.lot
|
||||||
|
*.maf
|
||||||
|
*.mtc
|
||||||
|
*.mtc0
|
||||||
|
*.nav
|
||||||
|
*.nlo
|
||||||
|
*.out
|
||||||
|
*.pdfsync
|
||||||
|
*.ps
|
||||||
|
*.snm
|
||||||
|
*.synctex.gz
|
||||||
|
*.toc
|
||||||
|
*.vrb
|
||||||
|
*.xdy
|
||||||
|
*.tdo
|
|
@ -0,0 +1,12 @@
|
||||||
|
SRC = demo.tex
|
||||||
|
PDF = demo.pdf
|
||||||
|
TEXC := xelatex
|
||||||
|
|
||||||
|
.PHONY: clean
|
||||||
|
|
||||||
|
$(PDF): $(SRC)
|
||||||
|
$(TEXC) $(SRC)
|
||||||
|
|
||||||
|
clean:
|
||||||
|
@rm -f $(PDF)
|
||||||
|
@git clean
|
|
@ -0,0 +1,157 @@
|
||||||
|
% Taken from https://github.com/hsrmbeamertheme/hsrmbeamertheme
|
||||||
|
|
||||||
|
\ProvidesPackage{beamerthemem}
|
||||||
|
|
||||||
|
%{{{ --- Packages ---------------------
|
||||||
|
|
||||||
|
\usepackage[no-math]{fontspec}
|
||||||
|
\usepackage{tikz}
|
||||||
|
|
||||||
|
\usetikzlibrary{backgrounds}
|
||||||
|
|
||||||
|
%}}}
|
||||||
|
%{{{ --- Options ----------------------
|
||||||
|
|
||||||
|
\newif\if@doSectionPage
|
||||||
|
\@doSectionPagefalse
|
||||||
|
\DeclareOption{nosectionpages}{\@doSectionPagetrue}
|
||||||
|
\ProcessOptions
|
||||||
|
|
||||||
|
%}}}
|
||||||
|
%{{{ --- Colors -----------------------
|
||||||
|
|
||||||
|
% http://paletton.com/#uid=7050t0kkJkJsntwoyp6gYgoddc4
|
||||||
|
|
||||||
|
\definecolor{mDarkBrown}{HTML}{604c38}
|
||||||
|
\definecolor{mDarkTeal}{HTML}{23373b}
|
||||||
|
|
||||||
|
\definecolor{mLightBrown}{HTML}{EB811B}
|
||||||
|
\definecolor{mMediumBrown}{HTML}{C87A2F}
|
||||||
|
|
||||||
|
\setbeamercolor{normal text}{fg=mDarkTeal}
|
||||||
|
\setbeamercolor{structure}{fg=mDarkTeal}
|
||||||
|
\setbeamercolor{palette primary}{fg=mDarkBrown}
|
||||||
|
\setbeamercolor{palette secondary}{fg=mDarkBrown}
|
||||||
|
\setbeamercolor{palette tertiary}{fg=white, bg=mMediumBrown}
|
||||||
|
\setbeamercolor{palette quaternary}{fg=white, bg=mDarkTeal}
|
||||||
|
\setbeamercolor{frametitle}{parent=palette quaternary}
|
||||||
|
|
||||||
|
% \setbeamercolor{block title}{parent=palette tertiary}
|
||||||
|
|
||||||
|
\setbeamercolor{page number in head/foot}{fg=mDarkTeal}
|
||||||
|
%}}}
|
||||||
|
%{{{ --- Fonts ------------------------
|
||||||
|
|
||||||
|
\defaultfontfeatures{Mapping=tex-text}
|
||||||
|
\setmainfont{Fira Sans}
|
||||||
|
\setsansfont{Fira Sans Light}
|
||||||
|
\newfontfamily\Light{Fira Sans Light}
|
||||||
|
\newfontfamily\Book{Fira Sans}
|
||||||
|
\newfontfamily\Medium{Fira Sans Medium}
|
||||||
|
|
||||||
|
\setbeamerfont{section title}{family=\Book, size=\LARGE}
|
||||||
|
|
||||||
|
\setbeamerfont{block title}{family=\Book,size=\normalsize}
|
||||||
|
\setbeamerfont{block title alerted}{family=\Book,size=\normalsize}
|
||||||
|
|
||||||
|
\setbeamerfont{subtitle}{family=\Light, size=\fontsize{12}{14}}
|
||||||
|
\setbeamerfont{frametitle}{family=\Book, series=\scshape, size=\large}
|
||||||
|
|
||||||
|
\setbeamerfont{caption}{size=\small}
|
||||||
|
\setbeamerfont{caption name}{family=\Book}
|
||||||
|
%}}}
|
||||||
|
%{{{ --- Progressbar ------------------
|
||||||
|
|
||||||
|
\makeatletter
|
||||||
|
\def\progressbar@progressbar{} % the progress bar
|
||||||
|
\newcount\progressbar@tmpcounta % auxiliary counter
|
||||||
|
\newcount\progressbar@tmpcountb % auxiliary counter
|
||||||
|
\newdimen\progressbar@pbht % progressbar height
|
||||||
|
\newdimen\progressbar@pbwd % progressbar width
|
||||||
|
\newdimen\progressbar@tmpdim % auxiliary dimension
|
||||||
|
|
||||||
|
\progressbar@pbwd=20em
|
||||||
|
\progressbar@pbht=0.5pt
|
||||||
|
|
||||||
|
% the progress bar
|
||||||
|
\def\progressbar@progressbar{%
|
||||||
|
\progressbar@tmpcounta=\insertframenumber
|
||||||
|
\progressbar@tmpcountb=\inserttotalframenumber
|
||||||
|
\progressbar@tmpdim=\progressbar@pbwd
|
||||||
|
\multiply\progressbar@tmpdim by \progressbar@tmpcounta
|
||||||
|
\divide\progressbar@tmpdim by \progressbar@tmpcountb
|
||||||
|
|
||||||
|
\makebox[\textwidth][c]{
|
||||||
|
\begin{tikzpicture}[tight background]
|
||||||
|
|
||||||
|
\node[anchor=west, white, inner sep=0pt] at (0pt, 0pt) {\insertsectionHEAD};
|
||||||
|
|
||||||
|
\draw[anchor=west, mDarkBrown, fill=mDarkBrown, inner sep=0pt]
|
||||||
|
(2pt, -16pt) rectangle ++ (\progressbar@pbwd, \progressbar@pbht);
|
||||||
|
|
||||||
|
\draw[anchor=west, mMediumBrown, fill=mMediumBrown, inner sep=0pt]
|
||||||
|
(2pt, -16pt) rectangle ++ (\progressbar@tmpdim, \progressbar@pbht);
|
||||||
|
\end{tikzpicture}%
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
%}}}
|
||||||
|
%{{{ --- Commands ---------------------
|
||||||
|
|
||||||
|
\newcommand{\rightTextArrow}{→}
|
||||||
|
|
||||||
|
%}}}
|
||||||
|
%{{{ --- Itemize ----------------------
|
||||||
|
|
||||||
|
\setbeamertemplate{itemize item}{\rightTextArrow}
|
||||||
|
\setbeamertemplate{itemize subitem}{\rightTextArrow}
|
||||||
|
\setbeamertemplate{itemize subsubitem}{\rightTextArrow}
|
||||||
|
\setlength{\parskip}{0.5em}
|
||||||
|
|
||||||
|
%}}}
|
||||||
|
%{{{ --- Sections ---------------------
|
||||||
|
|
||||||
|
\newcommand{\insertsectionHEAD}{%
|
||||||
|
\expandafter\insertsectionHEADaux\insertsectionhead}
|
||||||
|
\newcommand{\insertsectionHEADaux}[3]{\textsc{\MakeLowercase{#3}}
|
||||||
|
}
|
||||||
|
\if@doSectionPage\@empty
|
||||||
|
\else
|
||||||
|
% Insert frame with section title at every section start
|
||||||
|
\AtBeginSection[]
|
||||||
|
{
|
||||||
|
\begingroup
|
||||||
|
\setbeamercolor{background canvas}{bg=mDarkTeal}
|
||||||
|
\begin{frame}[plain]
|
||||||
|
\vspace{2em}\usebeamerfont{section title}
|
||||||
|
\progressbar@progressbar%
|
||||||
|
\end{frame}
|
||||||
|
\endgroup
|
||||||
|
}
|
||||||
|
\fi
|
||||||
|
|
||||||
|
%}}}
|
||||||
|
%{{{ --- Captions ---------------------
|
||||||
|
|
||||||
|
\setbeamertemplate{caption label separator}{: }
|
||||||
|
|
||||||
|
%}}}
|
||||||
|
%{{{ --- Footline ---------------------
|
||||||
|
|
||||||
|
\usenavigationsymbolstemplate{}
|
||||||
|
\setbeamertemplate{footline}
|
||||||
|
{%
|
||||||
|
\begin{beamercolorbox}[wd=\textwidth,ht=3ex,dp=1.5ex,leftskip=0.3cm,rightskip=0.3cm]{structure}%
|
||||||
|
\hfill\usebeamerfont{page number in head/foot}%
|
||||||
|
\insertframenumber%
|
||||||
|
\end{beamercolorbox}%
|
||||||
|
}
|
||||||
|
|
||||||
|
%}}}
|
||||||
|
%{{{ --- Frametitle -------------------
|
||||||
|
\setbeamertemplate{frametitle}{
|
||||||
|
\begin{beamercolorbox}[wd=\paperwidth,leftskip=0.3cm,rightskip=0.3cm,ht=3ex,dp=1.5ex]{frametitle}
|
||||||
|
\usebeamerfont{frametitle}\MakeLowercase{\insertframetitle}%
|
||||||
|
\end{beamercolorbox}
|
||||||
|
}
|
||||||
|
%}}}
|
|
@ -0,0 +1,81 @@
|
||||||
|
\documentclass[compress]{beamer}
|
||||||
|
|
||||||
|
\usetheme{m}
|
||||||
|
|
||||||
|
\title{Titel der supertollen Arbeit}
|
||||||
|
\subtitle{Untertitel -- wenn man's denn braucht}
|
||||||
|
\date{\today}
|
||||||
|
\author{Max Mustermann}
|
||||||
|
\institute{Institut für so und so\\Universtität Bla}
|
||||||
|
|
||||||
|
|
||||||
|
\begin{document}
|
||||||
|
|
||||||
|
\maketitle
|
||||||
|
|
||||||
|
|
||||||
|
\section{Motivation}
|
||||||
|
|
||||||
|
\begin{frame}{Viel text}
|
||||||
|
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
|
||||||
|
tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At
|
||||||
|
vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,
|
||||||
|
no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit
|
||||||
|
amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut
|
||||||
|
labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam
|
||||||
|
et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata
|
||||||
|
sanctus est Lorem ipsum dolor sit amet.
|
||||||
|
\end{frame}
|
||||||
|
|
||||||
|
|
||||||
|
\section{Elements}
|
||||||
|
|
||||||
|
\begin{frame}{Lists}
|
||||||
|
\begin{itemize}
|
||||||
|
\item Hello
|
||||||
|
\item Hello \emph{you}
|
||||||
|
\item Hello
|
||||||
|
\end{itemize}
|
||||||
|
|
||||||
|
\begin{enumerate}
|
||||||
|
\item One
|
||||||
|
\item Two
|
||||||
|
\item Three
|
||||||
|
\end{enumerate}
|
||||||
|
\end{frame}
|
||||||
|
|
||||||
|
\begin{frame}{Figures}
|
||||||
|
\begin{figure}
|
||||||
|
\begin{tikzpicture}
|
||||||
|
\node[circle, draw=black] at (0, 0) {foo};
|
||||||
|
\node[rectangle, draw=black] at (2, 0) {bar};
|
||||||
|
\end{tikzpicture}
|
||||||
|
\caption{Circle and rectangle}
|
||||||
|
\end{figure}
|
||||||
|
\end{frame}
|
||||||
|
|
||||||
|
\begin{frame}{Blocks}
|
||||||
|
\begin{block}{Fancy block title}
|
||||||
|
Block inside
|
||||||
|
\end{block}
|
||||||
|
|
||||||
|
Outside
|
||||||
|
\end{frame}
|
||||||
|
|
||||||
|
\begin{frame}{Math}
|
||||||
|
\begin{equation*}
|
||||||
|
I_c(x,y) = \sum_{i=-n}^n\sum_{j=-n}^n w\left(
|
||||||
|
\mathcal{N}_{x,y},\ \mathcal{N}_{x-i, y-j}\right)
|
||||||
|
\cdot
|
||||||
|
I_r(x-i,y-j)
|
||||||
|
\end{equation*}
|
||||||
|
\end{frame}
|
||||||
|
|
||||||
|
|
||||||
|
\section{Conclusion}
|
||||||
|
|
||||||
|
\begin{frame}{Summary}
|
||||||
|
Last words.
|
||||||
|
\end{frame}
|
||||||
|
|
||||||
|
\end{document}
|
Loading…
Reference in New Issue