mirror of
https://github.com/typst/typst
synced 2025-05-14 17:15:28 +08:00
Add an example of show-set place.clearance
for figures
This commit is contained in:
parent
3e6691a93b
commit
a2851c632b
@ -132,6 +132,9 @@ pub struct FigureElem {
|
||||
/// caption: [A glacier],
|
||||
/// image("glacier.jpg", width: 60%),
|
||||
/// )
|
||||
/// #show figure: set place(
|
||||
/// clearance: 1em,
|
||||
/// )
|
||||
/// #lorem(60)
|
||||
/// ```
|
||||
pub placement: Option<Smart<VAlignment>>,
|
||||
|
Loading…
x
Reference in New Issue
Block a user