X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fmaster-project%2Freport.git;a=blobdiff_plain;f=Utils%2FLambda.tex;fp=Utils%2FLambda.tex;h=5efe1df0f0ad9aaeed8a510709e6ab490b212eeb;hp=2172bbc38d0c1c42a1b01c255fe5b2a4c0d82146;hb=de2fa4e3c8f450f3e3cb4cd1053ad055da8b4717;hpb=eca9391c2835722ba61218e5a0c13d25872f0a03 diff --git a/Utils/Lambda.tex b/Utils/Lambda.tex index 2172bbc..5efe1df 100644 --- a/Utils/Lambda.tex +++ b/Utils/Lambda.tex @@ -27,7 +27,7 @@ path a, b; % Create a rectangle of the full size a := unitsquare xyscaled(\overlaywidth,\overlayheight); % Randomize it a bit -b := a randomized (\overlaywidth / 25) ; +b := a randomized (min(\overlayheight, \overlaywidth) / 25) ; % And draw it drawoptions (withpen pencircle scaled .75mm withcolor black) ; draw b; @@ -77,4 +77,3 @@ draw b; \useMPgraphic{#1} \stopboxed } -