mirror of
https://github.com/MartinThoma/LaTeX-examples.git
synced 2025-04-29 15:57:57 +02:00
added presentations
This commit is contained in:
parent
c1aab18805
commit
2eb34a6fea
5 changed files with 108 additions and 0 deletions
10
presentations/Tutorenschlung/presentation/Makefile
Normal file
10
presentations/Tutorenschlung/presentation/Makefile
Normal file
|
@ -0,0 +1,10 @@
|
|||
SOURCE = presentation
|
||||
|
||||
make:
|
||||
#latexmk -pdf -pdflatex="pdflatex -interactive=nonstopmode" -use-make $(SOURCE).tex
|
||||
pdflatex -shell-escape $(SOURCE).tex -output-format=pdf #shellescape wird fürs logo benötigt
|
||||
pdflatex -shell-escape $(SOURCE).tex -output-format=pdf # nochmaliges ausführen wegen Inhaltsverzeichnissen
|
||||
make clean
|
||||
|
||||
clean:
|
||||
rm -rf $(TARGET) *.class *.html *.log *.aux *.out *.glo *.glg *.gls *.ist *.xdy *.1 *.toc *.snm *.nav *.vrb *.fls *.fdb_latexmk *.pyg
|
68
presentations/Tutorenschlung/presentation/presentation.tex
Normal file
68
presentations/Tutorenschlung/presentation/presentation.tex
Normal file
|
@ -0,0 +1,68 @@
|
|||
\documentclass[usepdftitle=false,hyperref={pdfpagelabels=false}]{beamer}
|
||||
|
||||
% use KIT-Theme
|
||||
% see http://sdqweb.ipd.kit.edu/wiki/Dokumentvorlagen
|
||||
%\usetheme{Frankfurt} % see http://deic.uab.es/~iblanes/beamer_gallery/index_by_theme.html as fallback
|
||||
\InputIfFileExists{../templates/beamerthemekit.sty}{\usepackage{../templates/beamerthemekit}}{\usetheme{Frankfurt}}
|
||||
\usefonttheme{professionalfonts}
|
||||
|
||||
\usepackage{hyperref}
|
||||
\usepackage{lmodern}
|
||||
\usepackage{listings}
|
||||
\usepackage{wrapfig} % see http://en.wikibooks.org/wiki/LaTeX/Floats,_Figures_and_Captions
|
||||
\usepackage[utf8]{inputenc} % this is needed for german umlauts
|
||||
\usepackage[ngerman]{babel} % this is needed for german umlauts
|
||||
\usepackage[T1]{fontenc} % this is needed for correct output of umlauts in pdf
|
||||
\usepackage{verbatim}
|
||||
\usepackage{relsize}
|
||||
\usepackage{subfigure}
|
||||
\usepackage{algorithm,algpseudocode}
|
||||
\usepackage{minted} % needed for the inclusion of source code
|
||||
\usepackage{menukeys}
|
||||
\usepackage{xcolor}
|
||||
\usepackage{../templates/myStyle}
|
||||
|
||||
\newcommand\tutor{Martin Thoma}
|
||||
\newcommand\tutNR{10}
|
||||
\newcommand\titleText{Programmieren-Tutorium Nr. \tutNR{} bei \tutor}
|
||||
\institute{Fakultät für Informatik}
|
||||
|
||||
\hypersetup{pdftitle={\titleText}}
|
||||
\beamertemplatenavigationsymbolsempty
|
||||
|
||||
\newcommand\InsertToC[1][]{
|
||||
\begin{frame}{Outline}
|
||||
\tableofcontents[subsectionstyle=show/show/show, subsubsectionstyle=show/show/show, #1]
|
||||
\end{frame}
|
||||
}
|
||||
|
||||
\begin{document}
|
||||
\title{\titleText}
|
||||
\subtitle{TODO: Subtitle setzen!}
|
||||
\author{\tutor}
|
||||
\date{\today}
|
||||
\subject{Programmieren}
|
||||
|
||||
\frame{\titlepage}
|
||||
|
||||
\frame{
|
||||
\frametitle{Inhaltsverzeichnis}
|
||||
\setcounter{tocdepth}{1}
|
||||
\tableofcontents
|
||||
\setcounter{tocdepth}{2}
|
||||
}
|
||||
|
||||
%\AtBeginSection[]{
|
||||
% \InsertToC[sections={\thesection}] % shows only subsubsections of one subsection
|
||||
%}
|
||||
|
||||
\section{Abspann}
|
||||
\subsection{Name of subsection}
|
||||
\begin{frame}{your title}
|
||||
Your content
|
||||
% \inputminted[linenos=false, numbersep=5pt, tabsize=4, fontsize=\small, label=Baby.java, frame=lines, firstline=5, lastline=6]{java}{singleLines.java}
|
||||
\end{frame}
|
||||
|
||||
\framedgraphic{Vielen Dank für eure Aufmerksamkeit!}{../images/Teach-yourself-C++-in-21-days.png}
|
||||
|
||||
\end{document}
|
Loading…
Add table
Add a link
Reference in a new issue