diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-12-20 16:08:16 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-12-20 16:11:37 +0100 |
| commit | f5f7df7247ae29800e0290774a50942e2485beea (patch) | |
| tree | 57253ba51efdae3ac8e4eea722428924625b514c /library/src/math/style.rs | |
| parent | b8ffd3ad3dcaebddbc674e03494e0d818b21fa51 (diff) | |
Documentation
Diffstat (limited to 'library/src/math/style.rs')
| -rw-r--r-- | library/src/math/style.rs | 56 |
1 files changed, 32 insertions, 24 deletions
diff --git a/library/src/math/style.rs b/library/src/math/style.rs index 344aa071..4a9c43b8 100644 --- a/library/src/math/style.rs +++ b/library/src/math/style.rs @@ -1,13 +1,14 @@ use super::*; +/// # Serif /// Serif (roman) font style. /// -/// # Parameters +/// ## Parameters /// - body: Content (positional, required) /// The piece of formula to style. /// -/// # Tags -/// - math +/// ## Category +/// math #[func] #[capable(Texify)] #[derive(Debug, Hash)] @@ -29,14 +30,15 @@ impl Texify for SerifNode { } } +/// # Sans-serif /// Sans-serif font style. /// -/// # Parameters +/// ## Parameters /// - body: Content (positional, required) /// The piece of formula to style. /// -/// # Tags -/// - math +/// ## Category +/// math #[func] #[capable(Texify)] #[derive(Debug, Hash)] @@ -58,14 +60,15 @@ impl Texify for SansNode { } } +/// # Bold /// Bold font style. /// -/// # Parameters +/// ## Parameters /// - body: Content (positional, required) /// The piece of formula to style. /// -/// # Tags -/// - math +/// ## Category +/// math #[func] #[capable(Texify)] #[derive(Debug, Hash)] @@ -87,14 +90,15 @@ impl Texify for BoldNode { } } +/// # Italic /// Italic font style. /// -/// # Parameters +/// ## Parameters /// - body: Content (positional, required) /// The piece of formula to style. /// -/// # Tags -/// - math +/// ## Category +/// math #[func] #[capable(Texify)] #[derive(Debug, Hash)] @@ -116,14 +120,15 @@ impl Texify for ItalNode { } } +/// # Calligraphic /// Calligraphic font style. /// -/// # Parameters +/// ## Parameters /// - body: Content (positional, required) /// The piece of formula to style. /// -/// # Tags -/// - math +/// ## Category +/// math #[func] #[capable(Texify)] #[derive(Debug, Hash)] @@ -145,14 +150,15 @@ impl Texify for CalNode { } } +/// # Fraktur /// Fraktur font style. /// -/// # Parameters +/// ## Parameters /// - body: Content (positional, required) /// The piece of formula to style. /// -/// # Tags -/// - math +/// ## Category +/// math #[func] #[capable(Texify)] #[derive(Debug, Hash)] @@ -174,14 +180,15 @@ impl Texify for FrakNode { } } +/// # Monospace /// Monospace font style. /// -/// # Parameters +/// ## Parameters /// - body: Content (positional, required) /// The piece of formula to style. /// -/// # Tags -/// - math +/// ## Category +/// math #[func] #[capable(Texify)] #[derive(Debug, Hash)] @@ -203,14 +210,15 @@ impl Texify for MonoNode { } } +/// # Doublestruck /// Blackboard bold (double-struck) font style. /// -/// # Parameters +/// ## Parameters /// - body: Content (positional, required) /// The piece of formula to style. /// -/// # Tags -/// - math +/// ## Category +/// math #[func] #[capable(Texify)] #[derive(Debug, Hash)] |
