Add boxedgraphic macro to display a metapost graphic with a border.
authorMatthijs Kooijman <matthijs@stdin.nl>
Thu, 1 Oct 2009 14:00:53 +0000 (16:00 +0200)
committerMatthijs Kooijman <matthijs@stdin.nl>
Thu, 1 Oct 2009 14:00:53 +0000 (16:00 +0200)
Utils/Lambda.tex

index b300b35..2172bbc 100644 (file)
@@ -70,3 +70,11 @@ draw b;
   % Reset the typing options
   \setuptyping[option=none,style=\tttf]
 }
+
+% Display a useMPgraphic in a pretty box
+\define[1]\boxedgraphic{
+  \startboxed
+  \useMPgraphic{#1}
+  \stopboxed
+}
+