mirror of
https://github.com/typst/typst
synced 2025-08-20 09:49:02 +08:00
reorder FigureCaption fields
This commit is contained in:
parent
64d0a564bf
commit
93663710ec
@ -503,6 +503,10 @@ pub struct FigureCaption {
|
||||
#[default(OuterVAlignment::Bottom)]
|
||||
pub position: OuterVAlignment,
|
||||
|
||||
/// The figure's supplement.
|
||||
#[synthesized]
|
||||
pub supplement: Option<Content>,
|
||||
|
||||
/// The separator which will appear between the number and body.
|
||||
///
|
||||
/// If set to `{auto}`, the separator will be adapted to the current
|
||||
@ -542,10 +546,6 @@ pub struct FigureCaption {
|
||||
#[synthesized]
|
||||
pub kind: FigureKind,
|
||||
|
||||
/// The figure's supplement.
|
||||
#[synthesized]
|
||||
pub supplement: Option<Content>,
|
||||
|
||||
/// How to number the figure.
|
||||
#[synthesized]
|
||||
pub numbering: Option<Numbering>,
|
||||
|
Loading…
x
Reference in New Issue
Block a user