Skip to content

Commit

Permalink
Add FontAwesome in Beamer for endcards
Browse files Browse the repository at this point in the history
  • Loading branch information
SSoelvsten committed Nov 27, 2021
1 parent c0df95e commit 447754e
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 48 deletions.
Binary file modified documents/examples_beamer.pdf
Binary file not shown.
45 changes: 16 additions & 29 deletions documents/examples_beamer.tex
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@
\usepackage{import}
\subimport{../preamble/}{beamer.tex}

% Comment out if you do not want a section page at each section. If you only
% want a section page on some you can add \sectionpage right after you have
% defined the section.
\AtBeginSection{\frame{\sectionpage}}

% ---------------------------------------------------------------------------- %
% Local macros
% ---------------------------------------------------------------------------- %
Expand All @@ -31,31 +26,15 @@
% This one is used in the files imported using \input.
\newcommand{\Gmul}{\ensuremath{\calG_{\mathrm{mul}}}}

% ---------------------------------------------------------------------------- %
% Bibliography
% ---------------------------------------------------------------------------- %
\usepackage[
backend=biber,
style=alphabetic,
sortlocale=EN_GB,
useprefix=false,
url=false,
doi=true,
eprint=false,
maxbibnames=99,
]{biblatex}
\addbibresource{references.bib}


% ----------------------------------------------------------------------------------------
% TITLEPAGE
% ----------------------------------------------------------------------------------------
\title{Reverse engineerable \LaTeX examples:}
\subtitle{Beamer presentations}

\author[Name]{\textbf{Steffan Christ S\o lvsten}}
\author{\textbf{Steffan Christ S\o lvsten}}

\institute[uni]{Aarhus University}
\institute{Aarhus University}

\date{\today}

Expand All @@ -66,10 +45,6 @@

\titleframe

\begin{frame}
\tableofcontents
\end{frame}

\section{Basic slides}
\begin{frame}
This is a very simple slide, which contains some math symbols such as
Expand Down Expand Up @@ -109,7 +84,7 @@ \section{Code}
do not immediately break the compilation.

\begin{lstlisting}[language=coq, caption={Exercise on proving strong induction
in \cite{SFDiscrete}}]
in \emph{Software Foundations - Volume 1}}]
Theorem strong_induction :
forall P : nat -> Prop,
(forall n : nat, (forall m : nat, m < n -> P m) -> P n) ->
Expand Down Expand Up @@ -352,5 +327,17 @@ \subsection{Animating code}
\end{lstlisting}
\end{frame}

\printbibliography
\begin{frame}[plain,noframenumbering]{}

{\Large \textbf{Steffan Christ Sølvsten}}
{\hrule width0.5\linewidth}

\vspace{5pt}

\begin{itemize}
\item[\faIcon{envelope}] \mailto{[email protected]}
\item[\faIcon{twitter}] \href{https://www.twitter.com/ssoelvsten}{@ssoelvsten}
\end{itemize}
\end{frame}

\end{document}
Binary file modified documents/template_beamer.pdf
Binary file not shown.
36 changes: 17 additions & 19 deletions documents/template_beamer.tex
Original file line number Diff line number Diff line change
Expand Up @@ -19,31 +19,16 @@
% ---------------------------------------------------------------------------- %


% ---------------------------------------------------------------------------- %
% Bibliography
% ---------------------------------------------------------------------------- %
\usepackage[
backend=biber,
style=alphabetic,
sortlocale=EN_GB,
useprefix=false,
url=false,
doi=false,
eprint=false,
maxbibnames=99,
]{biblatex}
\addbibresource{references.bib}


% ----------------------------------------------------------------------------------------
% TITLEPAGE
% ----------------------------------------------------------------------------------------
\title{Title}
\subtitle{Subtitle}

\author[Name]{\textbf{Presenting author} and other authors}
\author{\textbf{Presenting author} and other authors}

\institute[uni]{Aarhus University}
\institute{Aarhus University}

\date{\today}

Expand All @@ -55,9 +40,22 @@
\titleframe
\blankframe

\section{Section 1}
\begin{frame}
a frame...
a frame with some content...
\end{frame}

\begin{frame}[plain,noframenumbering]{}

{\Large \textbf{Presenting author}}
{\hrule width0.5\linewidth}

\vspace{5pt}

\begin{itemize}
\item[\faIcon{envelope}] \mailto{[email protected]}
\item[\faIcon{linkedin}] \href{https://www.linkedin.com/presenting-author}{presenting-author}
\item[\faIcon{twitter}] \href{https://www.twitter.com/presenting-author}{@presenting-author}
\end{itemize}
\end{frame}

\end{document}
3 changes: 3 additions & 0 deletions preamble/beamer.tex
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@
\captionsetup[figure]{labelformat=empty}
\captionsetup[table]{labelformat=empty}

% Add Fontawesome icons
\usepackage{fontawesome5}

% ------------------------------------------------------------------------------
% Frame macros
% -----------------------------------------------------------------------------
Expand Down

0 comments on commit 447754e

Please sign in to comment.