X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fmaster-project%2Freport.git;a=blobdiff_plain;f=Utils%2FLambda.tex;h=2426178877fa3e10a67ed4f143381aa8ac2b9bcb;hp=ad11419aace035e6e68c635d6f9593fef3de96ca;hb=3fb953c21f9258fea8b4a0df8f80e2dc2e40acb6;hpb=24186af91e8401f45b11b2ba45bc9e9daedc2b55 diff --git a/Utils/Lambda.tex b/Utils/Lambda.tex index ad11419..2426178 100644 --- a/Utils/Lambda.tex +++ b/Utils/Lambda.tex @@ -8,7 +8,7 @@ path a, b; % Create a rectangle of the full size a := unitsquare xyscaled(\overlaywidth,\overlayheight); % Randomize it a bit -b := a randomized 10pt ; +b := a randomized (\overlaywidth / 25) ; % And draw it drawoptions (withpen pencircle scaled .75mm withcolor black) ; draw b; @@ -21,7 +21,7 @@ draw b; % A boxed variant with the width forced to page width. This is used in % \startrans, since the content somehow doesn't scale the box around it % properly. -\defineframedtext[wideboxed][background=box,frame=off,width=\textwidth] +\defineframedtext[wideboxed][background=box,frame=off,width=\textwidth,offset=.02\textwidth] % Install the lambda calculus pretty-printer, as defined in pret-lam.lua. \installprettytype [LAM] [LAM]