formatting of the ttfont code samples
authorAaron Kaplan <aaron@lo-res.org>
Thu, 14 Nov 2013 18:47:32 +0000 (19:47 +0100)
committerAaron Kaplan <aaron@lo-res.org>
Thu, 14 Nov 2013 18:47:32 +0000 (19:47 +0100)
src/GPG.tex
src/applied-crypto-hardening.tex

index eb2e2d8..6fa0552 100644 (file)
@@ -28,12 +28,12 @@ Tell GnuPG to not use SHA-1.
 
 Edit \$HOME/.gnupg/gpg.conf:
 
-\begin{verbatim}
+\begin{lstlisting}[breaklines]
 # according to:  https://www.debian-administration.org/users/dkg/weblog/48
 personal-digest-preferences SHA256
 cert-digest-algo SHA256
 default-preference-list SHA512 SHA384 SHA256 SHA224 AES256 AES192 AES CAST5 ZLIB BZIP2 ZIP Uncompressed
-\end{verbatim}
+\end{lstlisting}
 
 %\subsubsection{PGP / GPG Operations}
 
index 901a5c8..b2012d0 100644 (file)
@@ -24,6 +24,8 @@
 \usepackage{subfig}                                                                                                    % Subfigures
 \usepackage{booktabs}                                                                                          % Nicer tables
 \usepackage{fix-cm}                                                                                                    % Custom fontsizes
+
+\usepackage{fancyvrb}
 \usepackage{listings}
 
 
@@ -47,7 +49,7 @@
 \definecolor{lightlightgray}{gray}{0.9}
 
 \lstset{
-language=C,                             % Code langugage
+language=Bash,                             % Code langugage
 basicstyle=\ttfamily,                   % Code font, Examples: \footnotesize, \ttfamily
 keywordstyle=\color{OliveGreen},        % Keywords font ('*' = uppercase)
 commentstyle=\color{gray},              % Comments font