From 50720eadb65968bdde68f43b56b1c61c9574980c Mon Sep 17 00:00:00 2001 From: Daira Hopwood Date: Mon, 12 Feb 2018 12:54:48 +0000 Subject: [PATCH] Change hex integers to mathtt font (to enable length comparison). Signed-off-by: Daira Hopwood --- protocol/protocol.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/protocol/protocol.tex b/protocol/protocol.tex index 52f5ecd3..b3dcb204 100644 --- a/protocol/protocol.tex +++ b/protocol/protocol.tex @@ -581,7 +581,7 @@ electronic commerce and payment, financial privacy, proof of work, zero knowledg \newcommand{\mantissa}{\mathsf{mantissa}} \newcommand{\ToCompact}{\mathsf{ToCompact}} \newcommand{\ToTarget}{\mathsf{ToTarget}} -\newcommand{\hexint}[1]{\mathbf{0x{#1}}} +\newcommand{\hexint}[1]{\mathtt{0x{#1}}} \newcommand{\dontcare}{\kern -0.06em\raisebox{0.1ex}{\footnotesize{$\times$}}} \newcommand{\ascii}[1]{\textbf{``\texttt{#1}"}} \newcommand{\Justthebox}[2][-1.3ex]{\;\raisebox{#1}{\usebox{#2}}\;} @@ -1514,7 +1514,7 @@ $S \union T$ means the type corresponding to the set union of $S$ and $T$. $\byteseqs$ means the type of bit sequences constrained to be of length a multiple of 8 bits. -$\hexint{}$ followed by a string of \textbf{boldface} hexadecimal +$\hexint{}$ followed by a string of $\mathtt{monospace}$ hexadecimal digits means the corresponding integer converted from hexadecimal. $\ascii{...}$ means the given string represented as a