diff options
| author | Martin Haug <mhaug@live.de> | 2023-01-29 12:43:44 +0100 |
|---|---|---|
| committer | Martin Haug <mhaug@live.de> | 2023-01-29 12:43:44 +0100 |
| commit | 8fbfa594e072aba384becaf5f4bd358bcc2ebc68 (patch) | |
| tree | 4ace0ac099e3767afbaca3951c314a05ca823e59 /library/src/math | |
| parent | 83b28e99aed4a168238148a56a5fe2e0bc91d01f (diff) | |
Update docs so that the reference builds again
Diffstat (limited to 'library/src/math')
| -rw-r--r-- | library/src/math/lr.rs | 2 | ||||
| -rw-r--r-- | library/src/math/mod.rs | 9 | ||||
| -rw-r--r-- | library/src/math/style.rs | 2 |
3 files changed, 6 insertions, 7 deletions
diff --git a/library/src/math/lr.rs b/library/src/math/lr.rs index a33810df..30ff532a 100644 --- a/library/src/math/lr.rs +++ b/library/src/math/lr.rs @@ -12,7 +12,7 @@ pub(super) const DELIM_SHORT_FALL: Em = Em::new(0.1); /// ## Example /// ``` /// $ lr(]a, b/2]) $ -/// $ lr(]sum_(x=1)^n] x, #size: 50%) $ +/// $ lr(]sum_(x=1)^n] x, size: #50%) $ /// ``` /// /// ## Parameters diff --git a/library/src/math/mod.rs b/library/src/math/mod.rs index 2d914c31..f1bcd8f4 100644 --- a/library/src/math/mod.rs +++ b/library/src/math/mod.rs @@ -117,7 +117,8 @@ pub fn module(sym: &Module) -> Module { /// however, are interpreted as variables, symbols or functions. To display /// multiple letters verbatim, you can place them into quotes. Math mode also /// supports extra shorthands to easily type various arrows and other symbols. -/// The page on the [`symbol`](@symbol) function lists all of them. +/// The [text](/docs/reference/text/) and [math](/docs/reference/math/) sections +/// list all of them. /// /// When a variable and a symbol share the same name, the variable is preferred. /// To force the symbol, surround it with colons. To access a variable with a @@ -145,11 +146,9 @@ pub fn module(sym: &Module) -> Module { /// ``` /// /// ## Parameters -/// - body: Content (positional, required) -/// The contents of the formula. +/// - body: Content (positional, required) The contents of the formula. /// -/// - block: bool (named) -/// Whether the formula is displayed as a separate block. +/// - block: bool (named) Whether the formula is displayed as a separate block. /// /// ## Category /// math diff --git a/library/src/math/style.rs b/library/src/math/style.rs index d10230f9..d408b532 100644 --- a/library/src/math/style.rs +++ b/library/src/math/style.rs @@ -243,7 +243,7 @@ impl LayoutMath for MonoNode { /// Blackboard bold (double-struck) font style in math. /// /// For uppercase latin letters, blackboard bold is additionally available -/// through [symmie symbols](@symbol) of the form `NN` and `RR`. +/// through [symbols](/docs/reference/math/) of the form `NN` and `RR`. /// /// ## Example /// ``` |
