X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fmaster-project%2Freport.git;a=blobdiff_plain;f=Core2Core.tex;h=bc385a68324b210e435dbe1f42cbfed975099f8a;hp=f576b7196e71b52f6e51fcd2fbb57efd24ba042e;hb=95b1a682e51c47d635d5bafe75bd7096e8d4ec18;hpb=f326a373622a675fea4bc86284b75d866e2ef4cf diff --git a/Core2Core.tex b/Core2Core.tex index f576b71..bc385a6 100644 --- a/Core2Core.tex +++ b/Core2Core.tex @@ -1,9 +1,20 @@ \mainlanguage [en] \setuppapersize[A4][A4] -\setupbodyfont[10pt] -%\usetypescript [lbr][ec] -%\switchtotypeface [lbr] [10pt] +% 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 +% elegant... +\starttypescript[Custom] +% This is a sans font that supports greek symbols +\definetypeface [Custom] [ss] [sans] [iwona] [default] +\definetypeface [Custom] [rm] [serif] [antykwa-torunska] [default] +\definetypeface [Custom] [tt] [mono] [modern] [default] +\definetypeface [Custom] [mm] [math] [modern] [default] +\stoptypescript +\usetypescript [Custom] + +% Use our custom typeface +\switchtotypeface [Custom] [10pt] % The function application operator, which expands to a space in math mode \define[1]\expr{|#1|} @@ -25,6 +36,9 @@ \stopframedtext } +% Install the lambda calculus pretty-printer, as defined in pret-lam.lua. +\installprettytype [LAM] [LAM] + % A helper to print a single example in the half the page width. The example % text should be in a buffer whose name is given in an argument. %