Commit 2109fb3f authored by Valentin Bruch's avatar Valentin Bruch

beamer: added themes

parent f67affc2
LUALATEX := lualatex
PDFS := examples/title-default.pdf examples/title-cambridgeUS.pdf examples/content-default.pdf examples/content-cambridgeUS.pdf
all: beamer.pdf notes.pdf
beamer.pdf: image.jpg movie.mp4 beamer.makefile pgf-img/graphene3d.pdf beamer.tex
beamer.pdf: image.jpg movie.mp4 beamer.makefile pgf-img/graphene3d.pdf beamer.tex $(PDFS)
mkdir -p pgf-img/
$(LUALATEX) beamer.tex
beamer.makefile: beamer.tex
beamer.makefile: beamer.tex $(PDFS)
mkdir -p pgf-img/
$(LUALATEX) beamer.tex
notes.pdf: image.jpg movie.mp4 notes.makefile pgf-img/graphene3d.pdf beamer.tex
notes.pdf: image.jpg movie.mp4 notes.makefile pgf-img/graphene3d.pdf beamer.tex $(PDFS)
$(LUALATEX) -jobname=notes '\providecommand\aspectratio{43}\def\shownotes{1}\input{beamer}'
notes.makefile: beamer.tex $(PDFS)
$(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}'
examples/title-default.pdf: examples/titlepage.tex
cd examples; \
$(LUALATEX) -jobname=title-default titlepage.tex
examples/content-default.pdf: examples/contentpage.tex
cd examples; \
$(LUALATEX) -jobname=content-default contentpage.tex
examples/title-cambridgeUS.pdf: examples/titlepage.tex
cd examples; \
$(LUALATEX) -jobname=title-cambridgeUS '\providecommand\theme{CambridgeUS}\providecommand\colortheme{beaver}\input{titlepage.tex}'
examples/content-cambridgeUS.pdf: examples/contentpage.tex
cd examples; \
$(LUALATEX) -jobname=content-cambridgeUS '\providecommand\theme{CambridgeUS}\providecommand\colortheme{beaver}\input{contentpage.tex}'
image.jpg: animation.py
python animation.py
......
......@@ -84,7 +84,7 @@
texcsstyle=*\color{Mahogany}\bfseries,
commentstyle=\itshape\color{RoyalBlue},
keywordstyle=\color{RoyalBlue}\bfseries,
moretexcs={lstset,subsubsection,paragraph,subsection,color,sl,textcolor,lstinputlisting,newfontfamily,fontsize,section,documentclass,begin,includegraphics,hello,bye,setmainlanguage,setlength,institute,subtitle,alert,only,onslide,titlepage},
moretexcs={lstset,subsubsection,paragraph,subsection,color,sl,textcolor,lstinputlisting,newfontfamily,fontsize,section,documentclass,begin,includegraphics,hello,bye,setmainlanguage,setlength,institute,subtitle,alert,only,onslide,titlepage,usetheme,usecolortheme},
morekeywords={center,document,flushleft,flushright,itemize,enumerate,tabular,article,polyglossia,geometry,amsmath,graphicx,xcolor,hyperref,frame,example,definition,theorem,proof,block,column,columns,exampleblock,alertblock},
moredelim=**[is][\smash]{@}{@}
}
......@@ -94,7 +94,6 @@
\makeatother
\setbeamersize{text margin left=6mm, text margin right=6mm}
% TODO Titel & Autoren anpassen!
\date{05.06.2019}
\title[\LaTeX-Workshop]{\LaTeX-Beamer}
\subtitle{Präsentationen mit \LaTeX}
......@@ -300,8 +299,24 @@
\end{frame}
\section{Themen}
\setlength\fboxsep{0pt}
\setlength\fboxrule{.4pt}
\begin{frame}{Themen}
% Example: CambridgeUS, beaver
\begin{columns}
\begin{column}{.33\textwidth}
\fbox{\includegraphics[width=.98\textwidth]{examples/title-default.pdf}}\\[2pt]
\fbox{\includegraphics[width=.98\textwidth]{examples/title-cambridgeUS.pdf}}
\end{column}
\begin{column}{.33\textwidth}
\fbox{\includegraphics[width=.98\textwidth]{examples/content-default.pdf}}\\[2pt]
\fbox{\includegraphics[width=.98\textwidth]{examples/content-cambridgeUS.pdf}}
\end{column}
\begin{column}{.33\textwidth}
\lstinputlisting{examples/themes-default.tex}
\vspace{.2\textheight}
\lstinputlisting{examples/themes-cambridgeUS.tex}
\end{column}
\end{columns}
\end{frame}
\begin{frame}{Titelfolie}
......
\documentclass{beamer}
\providecommand\theme{default}
\providecommand\colortheme{default}
\usetheme{\theme}
\usecolortheme{\colortheme}
\date{05.06.2019}
\title[\LaTeX-Workshop]{\LaTeX-Beamer}
\subtitle{Präsentationen mit \LaTeX}
\author{Gustav Geier}
\institute[OSAK]{
Open Source Arbeitskreis der \\
FSMPI und der ALUG
}
\begin{document}
\begin{frame}{Beispielfolie}
\begin{columns}
\begin{column}{.48\textwidth}
\begin{itemize}
\item Erstes Beispiel
\item Zweites Beispiel
\begin{itemize}
\item Alles ist strukturiert
\item Struktur ist wichtig
\begin{enumerate}
\item erstens
\item zweitens
\end{enumerate}
\end{itemize}
\item Drittes Beispiel
\end{itemize}
\end{column}
\begin{column}{.48\textwidth}
\begin{block}{Block}
Das ist ein Block.
\end{block}
\begin{proof}
Es gibt nichts zu beweisen.
\end{proof}
\end{column}
\end{columns}
\begin{center}
\begin{minipage}{.75\textwidth}
\begin{alertblock}{Wichtig!}
All das ist unwichtig!
\end{alertblock}
\end{minipage}
\end{center}
\end{frame}
\end{document}
\usetheme{CambridgeUS}
\usecolortheme{beaver}
\usetheme{default}
\usecolortheme{default}
\documentclass{beamer}
\providecommand\theme{default}
\providecommand\colortheme{default}
\usetheme{\theme}
\usecolortheme{\colortheme}
\date{05.06.2019}
\title[\LaTeX-Workshop]{\LaTeX-Beamer}
\subtitle{Präsentationen mit \LaTeX}
\author{Gustav Geier}
\institute[OSAK]{
Open Source Arbeitskreis der \\
FSMPI und der ALUG
}
\begin{document}
\begin{frame}
\titlepage
\end{frame}
\end{document}
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