Add an example of show-set place.clearance for figures in the doc (#6208)

This commit is contained in:
Malo 2025-06-02 14:02:01 +01:00 committed by GitHub
parent 3e7a39e968
commit 61dee554ba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -125,6 +125,9 @@ pub struct FigureElem {
///
/// ```example
/// #set page(height: 200pt)
/// #show figure: set place(
/// clearance: 1em,
/// )
///
/// = Introduction
/// #figure(