From a5a906640aceb70689f66e53b5175d93bc9505ff Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Fri, 23 Oct 2009 13:27:34 +0200 Subject: [PATCH] Move the example float definition to Utils/. --- Chapters/Normalization.tex | 4 ---- Utils/Lambda.tex | 5 +++++ 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Chapters/Normalization.tex b/Chapters/Normalization.tex index 3026569..b74333a 100644 --- a/Chapters/Normalization.tex +++ b/Chapters/Normalization.tex @@ -15,10 +15,6 @@ } -% A transformation example -\definefloat[example][examples] -\setupcaption[example][location=top] % Put captions on top - \define[3]\transexample{ \placeexample[here]{#1} \startcombination[2*1] 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 -- 2.30.2