mirror of
https://github.com/typst/typst
synced 2025-05-13 20:46:23 +08:00
Merge branch 'main' into main
This commit is contained in:
commit
4aa6dcf578
@ -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 {
|
||||
|
@ -457,7 +457,7 @@ impl Outlinable for Packed<FigureElem> {
|
||||
/// 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.
|
||||
|
BIN
tests/ref/math-accent-flattened.png
Normal file
BIN
tests/ref/math-accent-flattened.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 464 B |
@ -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)$
|
||||
|
Loading…
x
Reference in New Issue
Block a user