From 7d47b9a2f541f9e16a70599f8b76bd14bd862d20 Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Mon, 7 Dec 2009 10:18:17 +0100 Subject: [PATCH] Use normal style zeroes instead of using the sans font. --- Chapters/HardwareDescription.tex | 2 +- Chapters/Introduction.tex | 2 +- Utils/Fonts.tex | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Chapters/HardwareDescription.tex b/Chapters/HardwareDescription.tex index d90a2e1..7b56199 100644 --- a/Chapters/HardwareDescription.tex +++ b/Chapters/HardwareDescription.tex @@ -342,7 +342,7 @@ and3 a b c = and (and a b) c Here, a type synonym \hs{RegisterIndex} is defined that is equal to the \hs{RangedWord} type constructor applied to the type \hs{D7}. In other words, this defines an unsigned word with values from - \lam{0} to \lam{7} (inclusive). This word can be be used to index the + {\definedfont[Serif*normalnum]0 to 7} (inclusive). This word can be be used to index the 8 element vector \hs{RegisterState} above. This type is translated to the \type{unsigned} \small{VHDL} type. diff --git a/Chapters/Introduction.tex b/Chapters/Introduction.tex index 2f7172d..334b1c8 100644 --- a/Chapters/Introduction.tex +++ b/Chapters/Introduction.tex @@ -148,7 +148,7 @@ advanced types and provides a case study. Or... is this the description of a single accumulating adder, that will add one element of each input each clock cycle and has a reset value of - \lam{0}? In + {\definedfont[Serif*normalnum]0}? In that case, we would have described the architecture show in \in{example}[ex:RecursiveSumAlt] \startuseMPgraphic{RecursiveSumAlt} diff --git a/Utils/Fonts.tex b/Utils/Fonts.tex index 6ddc354..7859a89 100644 --- a/Utils/Fonts.tex +++ b/Utils/Fonts.tex @@ -21,6 +21,7 @@ % Use old numbers when available \definefontfeature[default][default][onum=yes] +\definefontfeature[normalnum][default][onum=no] % Define a custom typescript. We could also have put the \definetypeface's % directly in the script, without a typescript, but I guess this is more -- 2.30.2