commit 5a9053820f07794977a2e828158a6e37ebce8b16
parent 7bedf21f0573e76bebaa08643fe254a0cd77b76a
Author: Vincent St-Amour <stamourv@racket-lang.org>
Date: Sun, 27 Mar 2011 14:47:25 -0400
Document here-figures.
original commit: 4b4d7f5f0bed64d56dcc53cec5ab92ea4917eb2b
Diffstat:
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/collects/scriblib/scribblings/figure.scrbl b/collects/scriblib/scribblings/figure.scrbl
@@ -19,7 +19,9 @@ rendering support.}
@deftogether[(
@defproc[(figure [tag string?] [caption content?] [pre-flow pre-flow?] ...) block?]
@defproc[(figure* [tag string?] [caption content?] [pre-flow pre-flow?] ...) block?]
-@defproc[(figure** [tag string?] [caption content?] [pre-flow pre-flow?] ...) block?]
+@defproc[(figure** [tag string?] [caption content?] [pre-flow pre-flow?] ...)
+block?]
+@defproc[(figure-here [tag string?] [caption content?] [pre-flow pre-flow?] ...) block?]
)]{
Creates a figure. The given @scheme[tag] is for use with
@@ -30,6 +32,9 @@ For HTML output, the @scheme[figure*] and @scheme[figure*] functions
center the figure content, while @scheme[figure**] allows the content
to be wider than the document body.
+For latex output, @scheme[figure-here] generates a figure to be
+included at the position in the text where the call to
+@scheme[figure-here] occurs.
For two-column latex output, @scheme[figure*] and @scheme[figure**]
generate a figure that spans columns.}