diff --git a/example/Makefile b/example/Makefile new file mode 100644 index 0000000..8c96bcd --- /dev/null +++ b/example/Makefile @@ -0,0 +1,27 @@ +PAPER = main.tex +OUT_FOLDER = ./aux +ARGS = -pdflua -silent -rc-report- -view=pdf -outdir=$(OUT_FOLDER) +PRIORITY_ARGS = + +all: + latexmk $(ARGS) $(PRIORITY_ARGS) $(PAPER) + +verbose: + latexmk $(ARGS) -verbose $(PRIORITY_ARGS) $(PAPER) + +draft: + latexmk $(ARGS) -d $(PRIORITY_ARGS) $(PAPER) + +clean: + latexmk -C ; rm -rf $(OUT_FOLDER) + +show: + latexmk $(ARGS) -pv $(PRIORITY_ARGS) $(PAPER) + +watch: + latexmk $(ARGS) -pvc $(PRIORITY_ARGS) $(PAPER) + +force: + latexmk $(ARGS) -g $(PRIORITY_ARGS) $(PAPER) + +.PHONY: all clean display diff --git a/example/main.tex b/example/main.tex new file mode 100644 index 0000000..6851407 --- /dev/null +++ b/example/main.tex @@ -0,0 +1,143 @@ +\documentclass[aspectratio=169, usepdftitle=false]{beamer} +\input{styles/use_me.tex} + +\addbibresource{references.bib} + +\usepackage{lipsum} + +\renewcommand{\mytitle}{Test Presentation} +\renewcommand{\mysubtitle}{To illustrate this awesome theme} +\renewcommand{\student}{Lukas Pietzschmann} +\renewcommand{\mail}{lukas.pietzschmann@uni-ulm.de} +\renewcommand{\myinstitute}{Institute of Software Engineering and\\Programming Languages} +\renewcommand{\uni}{University of Ulm} +\renewcommand{\mydate}{\today} +\background{pics/sparks.png} + +\begin{document} + +\maketitle + +\begin{frame}{Agenda} + \tableofcontents +\end{frame} + +\section{Section 1} +\begin{frame}{Example Slide}{With a subtitle} + \begin{columns}[t] + \begin{column}{0.45\textwidth} + \lipsum[1][1-5] + \end{column} + \begin{column}{0.45\textwidth} + \textbf{Items:} + \begin{itemize} + \item Item 1 + \item Item 2 + \item Item 3 + \item Item 4 + \item Item 5 + \end{itemize} + \end{column} + \end{columns} +\end{frame} + +\tikzstyle{every picture}+=[remember picture] +\tikzstyle{na} = [shape=rectangle,inner sep=0pt,text depth=0pt] +\begin{frame}{Another Slide} + \begin{itemize} + \item That info is sooooooo \tikz\node[na] (A) {\gul{important}}; + \item This is a key \tikz\node[na] (D) {\gul{word}};, isn't it? + \end{itemize} + \vskip2em + \uncover<2->{ + \Rightarrow~Two important \tikz \node[na] (B) {\gul{items}};! + \begin{tikzpicture}[overlay, remember picture] + \draw[textarrow] (A) to [bend left=40] (B); + \draw[textarrow] (D) to (B); + \end{tikzpicture} + } +\end{frame} + +\section{Section 2} +\subsection{Subsection 1} +\begin{frame}{Cool picture}{With animations} + \begin{columns} + \begin{column}{0.45\textwidth} + \begin{tikzpicture}[ + remember picture, + overlay, + ] + \node[squarednode](P1)[background default draw=black, draw=awesomehighlight, draw on=<3>, yshift=1cm]{P1}; + \node[squarednode](P2)[right=of P1, background default draw=black, draw=awesomehighlight, draw on=<3>]{P2}; + \node[squarednode](P3)[right=of P2, background default draw=black, draw=awesomehighlight, draw on=<3>]{P3}; + \node[squarednode](P4)[right=of P3, background default draw=black, draw=awesomehighlight, draw on=<3>]{P4}; + \node[squarednode](P5)[right=of P4, background default draw=black, draw=awesomehighlight, draw on=<3>]{P5}; + \node[draw=none](etc)[right=of P5]{...}; + \node[draw=awesomehighlight!70, background default draw=black, draw on=<{2,6,7}>, fit=(P1) (P2) (P3) (P4) (P5) (etc)] {}; + \node[draw=none] at (6.2, 1.5) {\fontspec{Symbola}\symbol{"1F512}}; + + \node[squarednode](N1)[below=of P2, background default draw=black, draw=awesomehighlight, draw on=<4>, visible on=<{4-7}>]{N1}; + \node[squarednode](N2)[right=of N1, background default draw=black, draw=awesomehighlight, draw on=<4>, visible on=<{4-7}>]{N2}; + \node[squarednode](N3)[right=of N2, background default draw=black, draw=awesomehighlight, draw on=<4>, visible on=<{4-7}>]{N3}; + + \node[squarednode](P1p)[below=1.5cm of P1, visible on=<{7-9}>]{P1'}; + \node[squarednode](P2p)[right=of P1p, visible on=<{7-9}>]{P2'}; + \node[squarednode](P3p)[right=of P2p, visible on=<{7-9}>]{P3'}; + \node[squarednode](P4p)[right=of P3p, visible on=<{7-9}>]{P4'}; + \node[squarednode](P5p)[right=of P4p, visible on=<{7-9}>]{P5'}; + \node[draw=none, visible on=<{7-9}>](etcp)[right=of P5p]{...}; + \node[draw=awesomegreen, background default draw=black, visible on=<{7-9}>, draw on=<7>, fit=(P1p) (P2p) (P3p) (P4p) (P5p) (etcp)] {}; + \node[draw=none, visible on=<{7-9}>] at (6.55, -0.55) {\fontspec{Symbola}\symbol{"1F512}}; + + \node[squarednode](S)[below=of N2, background default draw=black, draw=awesomeblue, draw on=<6>, visible on=<6>]{S}; + + \draw[arrow, visible on=<{4-7}>] (P1) -- (N1); + \draw[arrow, visible on=<{4-7}>] (P2) -- (N2); + \draw[arrow, visible on=<{4-7}>] (P3) -- (N1); + \draw[arrow, visible on=<{4-7}>] (P4) -- (N2); + \draw[arrow, visible on=<{4-7}>] (P5) -- (N3); + + \draw[arrow, visible on=<7>] (N1) -- (P1p); + \draw[arrow, visible on=<7>] (N2) -- (P2p); + \draw[arrow, visible on=<7>] (N1) -- (P3p); + \draw[arrow, visible on=<7>] (N2) -- (P4p); + \draw[arrow, visible on=<7>] (N3) -- (P5p); + + \draw[arrow, visible on=<6>] (N1) -- (S); + \draw[arrow, visible on=<6>] (N2) -- (S); + \draw[arrow, visible on=<6>] (N3) -- (S); + + \draw[arrow, dashed, visible on=<8>] (P1) to [bend left=50] (P1p); + \draw[arrow, dashed, visible on=<8>] (P2) to [bend left=20] (P2p); + \draw[arrow, dashed, visible on=<8>] (P3) to [bend left=0] (P3p); + \draw[arrow, dashed, visible on=<8>] (P4) to [bend right=20] (P4p); + \draw[arrow, dashed, visible on=<8>] (P5) to [bend right=50] (P5p); + + \draw[arrow, dashed, visible on=<9>] (P1) to [bend left=50] (P1p); + \draw[arrow, dashed, visible on=<9>] (P1) to (P3p); + \draw[arrow, dashed, visible on=<9>] (P1) to (P4p); + \draw[arrow, dashed, visible on=<9>] (P2) to [bend left=20] (P1p); + \draw[arrow, dashed, visible on=<9>] (P2) to (P5p); + \draw[arrow, dashed, visible on=<9>] (P3) to (P2p); + \draw[arrow, dashed, visible on=<9>] (P4) to (P4p); + \draw[arrow, dashed, visible on=<9>] (P4) to (P3p); + \draw[arrow, dashed, visible on=<9>] (P5) to [bend right=50] (P5p); + \draw[arrow, dashed, visible on=<9>] (P5) to [bend right=30] (P4p); + \end{tikzpicture} + \end{column} + \begin{column}{0.45\textwidth} + Wow + \end{column} + \end{columns} +\end{frame} + +\begin{frame}{No information shown} + \lipsum[2][1-8] +\end{frame} + +\subsection{Bibliography} +\begin{frame}{Bibliography} + \printbibliography +\end{frame} + +\end{document} \ No newline at end of file diff --git a/example/pics/sparks.png b/example/pics/sparks.png new file mode 100644 index 0000000..cc17170 Binary files /dev/null and b/example/pics/sparks.png differ diff --git a/example/references.bib b/example/references.bib new file mode 100644 index 0000000..434f8d3 --- /dev/null +++ b/example/references.bib @@ -0,0 +1,23 @@ +@inproceedings{zaharia2012resilient, + title={Resilient distributed datasets: A Fault-Tolerant abstraction for In-Memory cluster computing}, + author={Zaharia, Matei and Chowdhury, Mosharaf and Das, Tathagata and Dave, Ankur and Ma, Justin and McCauly, Murphy and Franklin, Michael J and Shenker, Scott and Stoica, Ion}, + booktitle={9th USENIX Symposium on Networked Systems Design and Implementation (NSDI 12)}, + year={2012}, + keywords={moodle} +} + +@inproceedings{zaharia2010spark, + title={Spark: Cluster computing with working sets}, + author={Zaharia, Matei and Chowdhury, Mosharaf and Franklin, Michael J and Shenker, Scott and Stoica, Ion}, + booktitle={2nd USENIX Workshop on Hot Topics in Cloud Computing (HotCloud 10)}, + year={2010}, + keywords={moodle} +} + +@book{chambers2018spark, + title={Spark: The definitive guide: Big data processing made simple}, + author={Chambers, Bill and Zaharia, Matei}, + year={2018}, + publisher={O'Reilly Media}, + keywords={moodle} +}