Compare commits

...

4 Commits

3 changed files with 6 additions and 6 deletions

View File

@ -20,7 +20,7 @@ use crate::foundations::{
///
/// You can call a function by writing a comma-separated list of function
/// _arguments_ enclosed in parentheses directly after the function name.
/// Additionally, you can pass any number of trailing content blocks arguments
/// Additionally, you can pass any number of trailing content block arguments
/// to a function _after_ the normal argument list. If the normal argument list
/// would become empty, it can be omitted. Typst supports positional and named
/// arguments. The former are identified by position and type, while the latter

View File

@ -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>,

View File

@ -205,7 +205,7 @@
single or double quotes.
The value is always of type [string]($str). More complex data
may be parsed manually using functions like [`json.decode`]($json.decode).
may be parsed manually using functions like [`json`]($json).
- name: sym
title: General