Add signature section

This commit is contained in:
aartoni 2023-09-07 16:59:32 +02:00
parent fc6f9a684e
commit bd2f1fd886
Signed by untrusted user who does not match committer: arto
GPG key ID: 073FCF967981BB58
7 changed files with 56 additions and 0 deletions

View file

@ -1,8 +1,10 @@
$aux_dir = "target";
$bibtex_use = 2; $bibtex_use = 2;
$cleanup_includes_cusdep_generated = 1; $cleanup_includes_cusdep_generated = 1;
$out_dir = "target"; $out_dir = "target";
$pdf_mode = 5; $pdf_mode = 5;
$silent = 1; $silent = 1;
$xelatex = "xelatex -shell-escape %O %S";
# Beamer-specific extensions # Beamer-specific extensions
$clean_ext = "nav snm %R-*.png"; $clean_ext = "nav snm %R-*.png";

8
assets/bad.sig Normal file
View file

@ -0,0 +1,8 @@
Hi mate, how's it going?
--
arto
Backend Engineer
Big Tech Company
No one cares
E: arto@example.org
P: +393284567890

5
assets/good.sig Normal file
View file

@ -0,0 +1,5 @@
Hi mate, how's it going?
--
arto
E: arto@example.org
P: +393284567890

2
assets/muttrc-sig.conf Normal file
View file

@ -0,0 +1,2 @@
# Mutt config file
set signature = "~/arto.sig"

9
get-assets.sh Executable file
View file

@ -0,0 +1,9 @@
#!/bin/sh
# The "slides" prefix is a workaround for latexmk cleanup
# see: https://tex.stackexchange.com/questions/484484/clean-comment-cut-file-with-latexmk
# Check if the files have already been downloaded
set -- /target/*.jpg
[ -f "$1" ] || exit 0
wget -O target/slides-thunderbird-sig.jpg https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/gallery/images/2011-03-14-10-05-42-4bdd77.jpg

25
sections/signature.tex Normal file
View file

@ -0,0 +1,25 @@
\section{Rule number 1: signatures}
\begin{frame}{Good or bad?}
\lstinputlisting{assets/bad.sig}
\end{frame}
\begin{frame}{Good or bad?}
\lstinputlisting{assets/good.sig}
\end{frame}
\begin{frame}{Why?}
RFC 1855~\cite{rfc1855} clearly states that:
\begin{quote}
If you include a signature keep it short. Rule of thumb
is no longer than 4 lines. Remember that many people pay for
connectivity by the minute, and the longer your message is,
the more they pay.
\end{quote}
\end{frame}
\begin{frame}{How to (Thunderbird)}
\centering
\includegraphics[scale=0.35]{target/slides-thunderbird-sig.jpg}
\end{frame}
\begin{frame}{How to (neomutt)}
\centering
\lstinputlisting[language=sh]{assets/muttrc-sig.conf}
\end{frame}

View file

@ -3,6 +3,10 @@
% Packages % Packages
\usepackage[english]{babel} % Proper hyphenation \usepackage[english]{babel} % Proper hyphenation
\usepackage{listings} % Side by side examples
% Download pictures
\write18{./get-assets.sh}
% Setup titlepage data % Setup titlepage data
\title{Mail me baby one more time} \title{Mail me baby one more time}
@ -17,6 +21,7 @@
\maketitle \maketitle
\input{sections/presentation} \input{sections/presentation}
\input{sections/signature}
\nocite{*} \nocite{*}
\bibliography{refs} \bibliography{refs}