diff --git a/crates/typst-library/src/model/figure.rs b/crates/typst-library/src/model/figure.rs index bec667d6e..1e449a6fa 100644 --- a/crates/typst-library/src/model/figure.rs +++ b/crates/typst-library/src/model/figure.rs @@ -503,6 +503,10 @@ pub struct FigureCaption { #[default(OuterVAlignment::Bottom)] pub position: OuterVAlignment, + /// The figure's supplement. + #[synthesized] + pub supplement: Option, + /// 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, - /// How to number the figure. #[synthesized] pub numbering: Option,