diff --git a/workshops/latex/beamer/.gitignore b/workshops/latex/beamer/.gitignore index f49ae09b0ab6649937ec3a0dddbd9127a5099415..94599e6444499867230f2502efc8aab735308f52 100644 --- a/workshops/latex/beamer/.gitignore +++ b/workshops/latex/beamer/.gitignore @@ -4,3 +4,4 @@ pgf-img/ *.auxlock *.figlist *.makefile +graphene3d.tex diff --git a/workshops/latex/beamer/Makefile b/workshops/latex/beamer/Makefile index 95d4e9d57c4fe74e8f44e9d58fd95098f6a2840b..2fcf6e133801b159b42347c822614942a4a022a5 100644 --- a/workshops/latex/beamer/Makefile +++ b/workshops/latex/beamer/Makefile @@ -1,27 +1,33 @@ LUALATEX := lualatex -all: beamer.pdf +all: beamer.pdf notes.pdf -beamer.pdf: image.jpg movie.mp4 beamer.makefile pgf beamer.tex +beamer.pdf: image.jpg movie.mp4 beamer.makefile pgf-img/graphene3d.pdf beamer.tex mkdir -p pgf-img/ - $(LUALATEX) $(patsubst %.pdf,%.tex,$@) + $(LUALATEX) beamer.tex + +beamer.makefile: beamer.tex + mkdir -p pgf-img/ + $(LUALATEX) beamer.tex + +notes.pdf: image.jpg movie.mp4 notes.makefile pgf-img/graphene3d.pdf beamer.tex + $(LUALATEX) -jobname=notes '\providecommand\aspectratio{43}\def\shownotes{1}\input{beamer}' + +notes.makefile: beamer.tex + $(LUALATEX) -jobname=notes '\providecommand\aspectratio{43}\def\shownotes{1}\input{beamer}' image.jpg: animation.py python animation.py movie.mp4: animation.py python animation.py -pgf: $(wildcard pgf-img/*.md5) - make beamer.makefile - -beamer.makefile: +pgf-img/graphene3d.pdf: pgf-img/graphene3d.md5 mkdir -p pgf-img/ - $(LUALATEX) $(patsubst %.makefile,%.tex,$@) - make -f $@ + make beamer.makefile clean: -$(RM) -f *.{aux,nav,out,log,makefile,figlist,auxlock,snm,toc} realclean: clean -$(RM) -f movie.mp4 image.jpg - -$(RM) -rf beamer.pdf pgf-img/ + -$(RM) -rf beamer.pdf notes.pdf pgf-img/ diff --git a/workshops/latex/beamer/beamer.tex b/workshops/latex/beamer/beamer.tex index 062b578ca5c847601a0c817e050415763d38834f..b2b58dc311ac1ae84e328fddfe31f59f56808ef3 100644 --- a/workshops/latex/beamer/beamer.tex +++ b/workshops/latex/beamer/beamer.tex @@ -1,4 +1,11 @@ -\documentclass[aspectratio=169, xcolor=dvipsnames, ngerman]{beamer} +\newif\ifshownotes +\ifdefined\shownotes + \shownotestrue +\else + \shownotesfalse +\fi +\providecommand\aspectratio{169} +\documentclass[aspectratio=\aspectratio, xcolor=dvipsnames, ngerman]{beamer} %\usepackage[utf8]{inputenc} %\usepackage[T1]{fontenc} @@ -88,10 +95,10 @@ \setbeamersize{text margin left=6mm, text margin right=6mm} % TODO Titel & Autoren anpassen! -\date{\today} +\date{05.06.2019} \title[\LaTeX-Workshop]{\LaTeX-Beamer} \subtitle{Präsentationen mit \LaTeX} -\author{OSAK-Mitglied \#42} +\author{Valentin Bruch} \institute[OSAK]{ Open Source Arbeitskreis der \\ Fachschaft Mathematik/Physik/Informatik an der RWTH Aachen \\ @@ -294,6 +301,7 @@ \section{Themen} \begin{frame}{Themen} + % Example: CambridgeUS, beaver \end{frame} \begin{frame}{Titelfolie} diff --git a/workshops/latex/beamer/examples/title.tex b/workshops/latex/beamer/examples/title.tex index 7edad37cd66b3453675e60b0d52a46573752457a..010819c92da32c70645bb430eb12fbde9585bc45 100644 --- a/workshops/latex/beamer/examples/title.tex +++ b/workshops/latex/beamer/examples/title.tex @@ -2,7 +2,7 @@ \date{\today} \title{\LaTeX-Beamer} \subtitle{Präsentationen mit \LaTeX} -\author{OSAK-Mitglied \#42} +\author{Valentin Bruch} \institute[OSAK]{ Open Source Arbeitskreis der \\ Fachschaft Mathematik/Physik/Informatik