add \epigraph command for nice quotations at the beginning of each chapter
authorAaron Kaplan <aaron@lo-res.org>
Mon, 16 Dec 2013 11:19:09 +0000 (12:19 +0100)
committerAaron Kaplan <aaron@lo-res.org>
Mon, 16 Dec 2013 11:19:09 +0000 (12:19 +0100)
src/applied-crypto-hardening.tex

index 9958368..68f4dd5 100644 (file)
 \usepackage{fancyvrb}
 \usepackage{listings}
 
+%% Epigraph patching
+\usepackage{epigraph}
+% \epigraphsize{\small}% Default
+\setlength\epigraphwidth{8cm}
+\setlength\epigraphrule{0pt}
+\usepackage{etoolbox}
+\makeatletter
+\patchcmd{\epigraph}{\@epitext{#1}}{\itshape\@epitext{#1}}{}{}
+\makeatother
+
+
+
 
 \usepackage{gitinfo}