diff --git a/crates/typst-library/src/math/frac.rs b/crates/typst-library/src/math/frac.rs index f5c4514d6..dd5986b5f 100644 --- a/crates/typst-library/src/math/frac.rs +++ b/crates/typst-library/src/math/frac.rs @@ -15,7 +15,7 @@ use crate::math::Mathy; /// # Syntax /// This function also has dedicated syntax: Use a slash to turn neighbouring /// expressions into a fraction. Multiple atoms can be grouped into a single -/// expression using round grouping parenthesis. Such parentheses are removed +/// expression using round grouping parentheses. Such parentheses are removed /// from the output, but you can nest multiple to force them. #[elem(title = "Fraction", Mathy)] pub struct FracElem { diff --git a/crates/typst-library/src/model/figure.rs b/crates/typst-library/src/model/figure.rs index 78a79a8e2..5a137edbd 100644 --- a/crates/typst-library/src/model/figure.rs +++ b/crates/typst-library/src/model/figure.rs @@ -457,7 +457,7 @@ impl Outlinable for Packed { /// customize the appearance of captions for all figures or figures of a /// specific kind. /// -/// In addition to its `pos` and `body`, the `caption` also provides the +/// In addition to its `position` and `body`, the `caption` also provides the /// figure's `kind`, `supplement`, `counter`, and `numbering` as fields. These /// parts can be used in [`where`]($function.where) selectors and show rules to /// build a completely custom caption. diff --git a/tests/ref/math-accent-flattened.png b/tests/ref/math-accent-flattened.png new file mode 100644 index 000000000..f7764cb74 Binary files /dev/null and b/tests/ref/math-accent-flattened.png differ diff --git a/tests/suite/math/accent.typ b/tests/suite/math/accent.typ index ab0078a5f..ecc0588c5 100644 --- a/tests/suite/math/accent.typ +++ b/tests/suite/math/accent.typ @@ -50,3 +50,11 @@ $hat(i), hat(i, dotless: #false), accent(j, tilde), accent(j, tilde, dotless: #f --- math-accent-dotless-set-rule --- #set math.accent(dotless: false) $ hat(i) $ + +--- math-accent-flattened --- +// Test flattened accent glyph variants. +#show math.equation: set text(font: "STIX Two Math") +$hat(a) hat(A)$ +$tilde(w) tilde(W)$ +$grave(i) grave(j)$ +$grave(I) grave(J)$