X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fmaster-project%2Freport.git;a=blobdiff_plain;f=Utils%2FLambda.tex;h=fe1fb6ffcf405a506ce9c818b280b74573043237;hp=4c6574938c0766e1b4c2d9888a168b35723f9813;hb=8515f491f83e63caa71de03c6e71b25df12aedb2;hpb=a2cd68ad63339068942ca8c38f454dbc50517fa4 diff --git a/Utils/Lambda.tex b/Utils/Lambda.tex index 4c65749..fe1fb6f 100644 --- a/Utils/Lambda.tex +++ b/Utils/Lambda.tex @@ -116,3 +116,8 @@ draw b; % TODO: Make more pretty. \definefloat[definition][definitions] \setupfloat[definition][background=box,backgroundoffset=1mm] + +% Define an "example" float. Don't add box around it, since an example will +% commonly contain two boxed items (Before / after, code / picture). +\definefloat[example][examples] +\setupcaption[example][location=top] % Put captions on top