Commit a72f436c authored by Felix Lammermann's avatar Felix Lammermann
Browse files

Original Beamer Theme Vorlage von Uni

Das hier sind erstmal alle (teilweise unnötigen) Dateien, die in dem Beamer Theme der FAU enthalten sind.
parents
################################################################################
# Settings
################################################################################
COMPILER := pdflatex
BIBTEXER := biber
DOCUMENT = presentation
REFERENCES = references.bib
TEXINPUTS := ./themefau/:$(TEXINPUTS)
################################################################################
# Variables
################################################################################
COMPILER := TEXINPUTS=$(TEXINPUTS) $(COMPILER)
ifdef VERBOSE
PIPE :=
else
PIPE := 1>/dev/null 2>/dev/null
COMPILER := $(COMPILER) -interaction=nonstopmode
endif
ifdef REFERENCES
BIBDEP := %.bbl
else
BIBDEP :=
endif
################################################################################
# Functions
################################################################################
check_error = \
if [ ! $(1) -eq 0 ]; then \
cat $(2).log | perl -0777 -ne 'print m/\n! .*?\nl\.\d.*?\n.*?(?=\n)/gs'; \
exit 1; \
fi
compile = $(COMPILER) $(1).tex $(PIPE) || $(call check_error, $$?, $(1))
################################################################################
# Targets
################################################################################
.PHONY: all presentation clean distclean
.PRECIOUS: %.pdf %.bcf %.bbl
all: presentation
presentation: $(DOCUMENT).build
%.status:
@# Echo status message
@echo "Building $*.pdf"
%.pdf %.bcf: %.status %.tex
@# Initial compile
@echo " Compiling $*.tex"
@$(call compile, $*)
%.bbl: %.status %.bcf $(REFERENCES)
@# Bibliography
@echo " Running $(BIBTEXER)"
-@TEXINPUTS=$(TEXINPUTS) $(BIBTEXER) $* $(PIPE)
@# Update references
@echo " Updating references"
@$(call compile, $*)
@# Reset time stamp of .bbl to newer than .bcf
@touch $@
%.build: %.status %.pdf $(BIBDEP)
@# Fill in missing references
@if test -e $*.log && \
( grep -q "There were undefined references." $*.log || \
grep -q "Rerun to get outlines right" $*.log ); then \
echo " Filling in missing references"; \
$(call compile, $*); \
fi
@# Fix cross-references
@while test -e $*.log && \
grep -q "Rerun to get cross-references right." $*.log; do \
echo " Fixing cross-references"; \
$(call compile, $*); \
done
clean:
rm -rf *.aux *.ind *.idx *.toc *.out *.log *.ilg *.dvi *.bbl *.blg *.syg \
*.syi *.synctex *.slg *.lol *.lof *.ist *.gls *.glo *.gli *.glg \
*.alg *.acr *.acn *.ps *.defn *.nlo *.satz *.nav *.snm *.xml \
*.synctex.gz *.synctex *.vrb *.bcf *.makefile *.figlist
distclean: clean
rm -f *.pdf
set TEXINPUTS=.\themefau
pdflatex presentation.tex
biber presentation
pdflatex presentation.tex
del *.aux *.bbl *.bcf *.blg *.nav *.out *.snm *.log *.toc *.vrb
exit
\documentclass[aspectratio=43,t]{beamer}
%\documentclass[aspectratio=43,t,handout]{beamer}
\usepackage[ansinew]{inputenc}
\usepackage[T1]{fontenc}
%English version FAU Logo
\usepackage[english]{babel}
%German version FAU Logo
%\usepackage[ngerman]{babel}
\usepackage{amsmath,amssymb}
\usepackage{graphicx}
\usepackage{listings}
\usepackage[backend=biber,sorting=none,doi=true,style=ieee]{biblatex}
% Themes:
% - fau: FAU theme
% - fau-med: MedFak FAU theme
% - fau-nat: NatFak FAU theme
% - fau-phil: PhilFak FAU theme
% - fau-rw: RWFak FAU theme
% - fau-rw-jura: RWFak FB Jura FAU theme
% - fau-rw-wiso: RWFak FB WISO FAU theme
% - fau-tf: TechFak FAU theme
%
% Options:
% - image: Cover image on title page
% - plain: Plain title page
% - longtitle: Title page layout for long title
\usetheme[longtitle]{fau}
% Enable semi-transparent animation preview
\setbeamercovered{transparent}
\lstset{%
language=C++,
tabsize=2,
basicstyle=\tt\scriptsize,
keywordstyle=\color{blue},
commentstyle=\color{green!50!black},
stringstyle=\color{red},
numbers=left,
numbersep=0.5em,
numberstyle=\tt\tiny
}
\defbibheading{bibliography}{}
\addbibresource[label=primary]{references.bib}
\nocite{*}
% Title, authors, and date
\title[Short Title]{Long Title}
\subtitle{Sub Title}
\author[Name]{Name}
% English version
\institute[Chair of XYZ]{Chair of XYZ, Friedrich-Alexander University of Erlangen-Nuremberg}
% German version
%\institute[Lehrstuhl f\"ur XYZ]{Lehrstuhl f\"ur XYZ, Friedrich-Alexander-Universit\"at Erlangen-N\"urnberg}
\date{\today}
% Set additional logo (overwrites FAU seal)
%\logo{\includegraphics[width=.15\textwidth]{themefau/art/xxx/xxx.pdf}}
\begin{document}
% Title
\maketitle
{ % Motivation
\setbeamertemplate{footline}{}
\begin{frame}[noframenumbering]{Motivation}
Some motivational example\dots
\end{frame}
}
{ % Outline
\setbeamertemplate{footline}{}
\begin{frame}[noframenumbering]{Outline}
\tableofcontents
\end{frame}
}
% Body
\section{Lists}
\begin{frame}{Lists}
\begin{block}{List of Items}
\begin{itemize}
\item one
\item two
\item three
\item \dots
\end{itemize}
\end{block}
\pause
\begin{block}{Numbered List of Items}
\begin{enumerate}
\item<2-> one
\item<3-> two
\item<4-> three
\item<5-> \dots
\end{enumerate}
\end{block}
\end{frame}
\section{Listings}
\begin{frame}[fragile]{Listings}
\begin{lstlisting}[language=C++]
#include <iostream>
int main() {
std::cout << "Hello World!" << std::endl;
return 0;
}
\end{lstlisting}
\end{frame}
{ % Questions?
\setbeamertemplate{footline}{}
\begin{frame}[c,noframenumbering]
\begin{center}
Thanks for listening.\\
{\bf Any questions?}
\end{center}
\end{frame}
% References
\section*{References}
\begin{frame}[allowframebreaks,noframenumbering]{References}
\printbibliography
\end{frame}
}
\end{document}
@book{goossens93,
author = {Michel Goossens and Frank Mittelbach and Alexander Samarin},
title = {{The LaTeX Companion}},
year = {1993},
publisher = {Addison-Wesley},
address = {Reading, Massachusett}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment