From: Matthijs Kooijman Date: Mon, 7 Dec 2009 09:18:17 +0000 (+0100) Subject: Use normal style zeroes instead of using the sans font. X-Git-Tag: final-thesis~72 X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fmaster-project%2Freport.git;a=commitdiff_plain;h=7d47b9a2f541f9e16a70599f8b76bd14bd862d20 Use normal style zeroes instead of using the sans font. --- 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