diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-12-19 01:16:35 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-12-19 01:16:35 +0100 |
| commit | b4b022940b908d8fe490b9f4f68bc60dcfb76cd2 (patch) | |
| tree | bc93a2f51295f97f971466ab87bdd763c0ed6002 /library/src/math/mod.rs | |
| parent | ba384e5bb6c2455eb431f6e1fcc8b98aca1e9879 (diff) | |
Syntax and example sections
Diffstat (limited to 'library/src/math/mod.rs')
| -rw-r--r-- | library/src/math/mod.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/library/src/math/mod.rs b/library/src/math/mod.rs index 3bd7b2e3..5342a954 100644 --- a/library/src/math/mod.rs +++ b/library/src/math/mod.rs @@ -19,6 +19,7 @@ use crate::text::{FontFamily, LinebreakNode, SpaceNode, SymbolNode, TextNode}; /// # Parameters /// - items: Content (positional, variadic) /// The individual parts of the formula. +/// /// - block: bool (named) /// Whether the formula is displayed as a separate block. /// @@ -309,6 +310,7 @@ impl Texify for AtomNode { /// # Parameters /// - base: Content (positional, required) /// The base to which the accent is applied. +/// /// - accent: Content (positional, required) /// The accent to apply to the base. /// @@ -393,6 +395,7 @@ impl Texify for AccNode { /// # Parameters /// - num: Content (positional, required) /// The fraction's numerator. +/// /// - denom: Content (positional, required) /// The fraction's denominator. /// @@ -433,6 +436,7 @@ impl Texify for FracNode { /// # Parameters /// - upper: Content (positional, required) /// The binomial's upper index. +/// /// - lower: Content (positional, required) /// The binomial's lower index. /// @@ -473,8 +477,10 @@ impl Texify for BinomNode { /// # Parameters /// - base: Content (positional, required) /// The base to which the applies the sub- and/or superscript. +/// /// - sub: Content (named) /// The subscript. +/// /// - sup: Content (named) /// The superscript. /// |
