Add signature section
This commit is contained in:
parent
fc6f9a684e
commit
bd2f1fd886
7 changed files with 56 additions and 0 deletions
|
@ -1,8 +1,10 @@
|
|||
$aux_dir = "target";
|
||||
$bibtex_use = 2;
|
||||
$cleanup_includes_cusdep_generated = 1;
|
||||
$out_dir = "target";
|
||||
$pdf_mode = 5;
|
||||
$silent = 1;
|
||||
$xelatex = "xelatex -shell-escape %O %S";
|
||||
|
||||
# Beamer-specific extensions
|
||||
$clean_ext = "nav snm %R-*.png";
|
||||
|
|
8
assets/bad.sig
Normal file
8
assets/bad.sig
Normal 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
5
assets/good.sig
Normal 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
2
assets/muttrc-sig.conf
Normal file
|
@ -0,0 +1,2 @@
|
|||
# Mutt config file
|
||||
set signature = "~/arto.sig"
|
9
get-assets.sh
Executable file
9
get-assets.sh
Executable 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
25
sections/signature.tex
Normal 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}
|
|
@ -3,6 +3,10 @@
|
|||
|
||||
% Packages
|
||||
\usepackage[english]{babel} % Proper hyphenation
|
||||
\usepackage{listings} % Side by side examples
|
||||
|
||||
% Download pictures
|
||||
\write18{./get-assets.sh}
|
||||
|
||||
% Setup titlepage data
|
||||
\title{Mail me baby one more time}
|
||||
|
@ -17,6 +21,7 @@
|
|||
\maketitle
|
||||
|
||||
\input{sections/presentation}
|
||||
\input{sections/signature}
|
||||
|
||||
\nocite{*}
|
||||
\bibliography{refs}
|
||||
|
|
Loading…
Reference in a new issue