X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fmaster-project%2Freport.git;a=blobdiff_plain;f=Utils%2FLambda.tex;h=4d9de33bb1116eb64b82dd06af0faf28c3cc980c;hp=4c6574938c0766e1b4c2d9888a168b35723f9813;hb=42ec9c78da464de1ed58509a6edaa454c6a225bc;hpb=a2cd68ad63339068942ca8c38f454dbc50517fa4 diff --git a/Utils/Lambda.tex b/Utils/Lambda.tex index 4c65749..4d9de33 100644 --- a/Utils/Lambda.tex +++ b/Utils/Lambda.tex @@ -61,6 +61,8 @@ draw b; \installprettytype [LAM] [LAM] % Define \startlambda \stoplambda \definetyping[lambda][option=LAM,style=sans,before=\startboxed,after=\stopboxed] +% Define \startunboxedlambda \stopunboxedlambda +\definetyping[unboxedlambda][option=LAM,style=sans] % Define \lam{} (since \lambda is taken) \definetype[lam][option=LAM,style=sans] @@ -116,3 +118,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