projects
/
matthijs
/
master-project
/
report.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix lua reference to ctxcatcodes.
[matthijs/master-project/report.git]
/
Utils
/
Lambda.tex
diff --git
a/Utils/Lambda.tex
b/Utils/Lambda.tex
index 4c6574938c0766e1b4c2d9888a168b35723f9813..fe1fb6ffcf405a506ce9c818b280b74573043237 100644
(file)
--- 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]
% 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