Skip to content

Commit

Permalink
See #3.
Browse files Browse the repository at this point in the history
  • Loading branch information
loelschlaeger committed Aug 2, 2023
1 parent f6b99f7 commit 299bfdc
Show file tree
Hide file tree
Showing 5 changed files with 84 additions and 99 deletions.
Binary file modified figures/cars-1.pdf
Binary file not shown.
4 changes: 3 additions & 1 deletion slides.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ aspectratio: 169
# set title, presenter, institute, date
title: "Title"
subtitle: "Subtitle"
author: "\\underline{Presenter} and Contributor"
author:
- \underline{Presenter}
- Contributor
institute: "Institute"
date: "`r Sys.Date()`"

Expand Down
Binary file modified slides.pdf
Binary file not shown.
87 changes: 41 additions & 46 deletions slides.tex
Original file line number Diff line number Diff line change
@@ -1,30 +1,26 @@
\documentclass[
10pt,
aspectratio = 169,
]{beamer}
\documentclass[10pt,aspectratio = 169,]{beamer}

\input{theme/packages}
\input{theme/commands}

\usepackage[no-math]{fontspec}
\setmainfont[
Path = ./theme/,
Extension = .otf,
Ligatures = TeX,
UprightFont = *-Regular,
ItalicFont = *-RegularItalic,
BoldFont = *-Bold,
BoldItalicFont = *-BoldItalic
]{Lelo}
\usepackage[no-math]{fontspec}
\setmainfont[
Path = ./theme/,
Extension = .otf,
Ligatures = TeX,
UprightFont = *-Regular,
ItalicFont = *-RegularItalic,
BoldFont = *-Bold,
BoldItalicFont = *-BoldItalic
]{Lelo}

\usepackage{theme/eco_bielefeld}
\usepackage{theme/eco_bielefeld}

\usepackage{emoji}
\usepackage{emoji}

\providecommand{\tightlist}{%
\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
\providecommand{\tightlist}{\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}

\title{Title}
\title{Title}

\makeatletter
\providecommand{\subtitle}[1]{% add subtitle to \maketitle
Expand All @@ -33,32 +29,31 @@
\makeatother
\subtitle{Subtitle}

\author{\underline{Presenter} and Contributor}
\author{ \texorpdfstring{\underline{Presenter}}{\underline{Presenter}} \and \texorpdfstring{Contributor}{Contributor} }

\date{2023-07-28}
\date{2023-08-02}

\institute{Institute}
\institute{Institute}

\AtBeginSection[]
{
\begin{frame}
\frametitle{Outline}
\tableofcontents[currentsection]
\end{frame}
\AtBeginSection[]{
\begin{frame}
\frametitle{Outline}
\tableofcontents[currentsection]
\end{frame}
}

\usepackage{fontawesome}

\begin{document}

\begin{frame}[plain]{}
\titlepage
\end{frame}
\begin{frame}[plain]{}
\titlepage
\end{frame}

\begin{frame}
\frametitle{Outline}
\tableofcontents
\end{frame}
\begin{frame}
\frametitle{Outline}
\tableofcontents
\end{frame}

\hypertarget{section-1}{%
\section{Section 1}\label{section-1}}
Expand Down Expand Up @@ -122,16 +117,16 @@ \section{Section 2}\label{section-2}}
\end{itemize}
\end{frame}

\begin{frame}{}
\vspace{0.5cm}
\begin{center}
{\Large Thanks for your attention!}
\end{center}
\vfill
\begin{itemize}
\item[\faEnvelope] \href{mailto:[email protected]}{[email protected]} \\
\item[\faLaptop] \href{https://example.org/}{https://example.org/}
\end{itemize}
\end{frame}
\begin{frame}{}
\vspace{0.5cm}
\begin{center}
{\Large Thanks for your attention!}
\end{center}
\vfill
\begin{itemize}
\item[\faEnvelope] \href{mailto:[email protected]}{[email protected]} \\
\item[\faLaptop] \href{https://example.org/}{https://example.org/}
\end{itemize}
\end{frame}

\end{document}
92 changes: 40 additions & 52 deletions theme/template.tex
Original file line number Diff line number Diff line change
@@ -1,44 +1,33 @@
\documentclass[
$if(fontsize)$
$fontsize$,
$endif$
$if(handout)$
handout,
$endif$
$if(aspectratio)$
aspectratio = $aspectratio$,
$endif$
]{beamer}
\documentclass[$if(fontsize)$$fontsize$,$endif$$if(handout)$handout,$endif$$if(aspectratio)$aspectratio = $aspectratio$,$endif$]{beamer}

\input{theme/packages}
\input{theme/commands}

$if(unibi-font)$
\usepackage[no-math]{fontspec}
\setmainfont[
Path = ./theme/,
Extension = .otf,
Ligatures = TeX,
UprightFont = *-Regular,
ItalicFont = *-RegularItalic,
BoldFont = *-Bold,
BoldItalicFont = *-BoldItalic
]{Lelo}
\usepackage[no-math]{fontspec}
\setmainfont[
Path = ./theme/,
Extension = .otf,
Ligatures = TeX,
UprightFont = *-Regular,
ItalicFont = *-RegularItalic,
BoldFont = *-Bold,
BoldItalicFont = *-BoldItalic
]{Lelo}
$endif$

$if(eco-bielefeld)$
\usepackage{theme/eco_bielefeld}
\usepackage{theme/eco_bielefeld}
$endif$

$if(emoji)$
\usepackage{emoji}
\usepackage{emoji}
$endif$

\providecommand{\tightlist}{%
\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
\providecommand{\tightlist}{\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}

$if(title)$
\title{$title$}
\title{$title$}
$endif$

$if(subtitle)$
Expand All @@ -50,20 +39,19 @@
\subtitle{$subtitle$}
$endif$

\author{$for(author)$$author$$sep$ \and $endfor$}
\author{$for(author)$ \texorpdfstring{$author$}{$author$} $sep$ \and $endfor$}

\date{$date$}

$if(institute)$
\institute{$for(institute)$$institute$$sep$ \and $endfor$}
\institute{$for(institute)$$institute$$sep$ \and $endfor$}
$endif$

\AtBeginSection[]
{
\begin{frame}
\frametitle{$toc-title$}
\tableofcontents[currentsection]
\end{frame}
\AtBeginSection[]{
\begin{frame}
\frametitle{$toc-title$}
\tableofcontents[currentsection]
\end{frame}
}

$if(last-slide)$
Expand All @@ -73,32 +61,32 @@
\begin{document}

$if(title)$
\begin{frame}[plain]{}
\titlepage
\end{frame}
\begin{frame}[plain]{}
\titlepage
\end{frame}
$endif$

$if(toc)$
\begin{frame}
\frametitle{$toc-title$}
\tableofcontents
\end{frame}
\begin{frame}
\frametitle{$toc-title$}
\tableofcontents
\end{frame}
$endif$

$body$

$if(last-slide)$
\begin{frame}{}
\vspace{0.5cm}
\begin{center}
{\Large Thanks for your attention!}
\end{center}
\vfill
\begin{itemize}
\item[\faEnvelope] \href{mailto:[email protected]}{[email protected]} \\
\item[\faLaptop] \href{https://example.org/}{https://example.org/}
\end{itemize}
\end{frame}
\begin{frame}{}
\vspace{0.5cm}
\begin{center}
{\Large Thanks for your attention!}
\end{center}
\vfill
\begin{itemize}
\item[\faEnvelope] \href{mailto:[email protected]}{[email protected]} \\
\item[\faLaptop] \href{https://example.org/}{https://example.org/}
\end{itemize}
\end{frame}
$endif$

\end{document}

0 comments on commit 299bfdc

Please sign in to comment.