Browse Source

Update doc formatting

* make PDF content copy&paste-able
* add new `\code{}` command

Signed-off-by: Steffen Jaeckel <[email protected]>
Steffen Jaeckel 7 months ago
parent
commit
47c721c164
1 changed files with 2 additions and 0 deletions
  1. 2 0
      doc/crypt.tex

+ 2 - 0
doc/crypt.tex

@@ -1,4 +1,5 @@
 \documentclass[synpaper]{book}
+\usepackage[T1]{fontenc}
 \usepackage{geometry}
 \usepackage{hyperref}
 \usepackage{makeidx}
@@ -44,6 +45,7 @@
 \def\C{{\mathbb C}}
 \def\Q{{\mathbb Q}}
 \definecolor{DGray}{gray}{0.5}
+\newcommand{\code}[1]{\texttt{\textit{#1}}}
 \newcommand{\emailaddr}[1]{\mbox{$<${#1}$>$}}
 \def\twiddle{\raisebox{0.3ex}{\mbox{\tiny $\sim$}}}
 \def\gap{\vspace{0.5ex}}