From 93663710ec3d43b495ba43ede343386e66341611 Mon Sep 17 00:00:00 2001 From: cAttte <26514199+cAttte@users.noreply.github.com> Date: Fri, 13 Jun 2025 23:33:16 -0300 Subject: [PATCH] reorder FigureCaption fields --- crates/typst-library/src/model/figure.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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,