diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-02-02 22:34:53 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-02-02 22:34:53 +0100 |
| commit | 15bc932ec1b956309be7b7580e4d803a40af5d63 (patch) | |
| tree | c8a9c4e087264ed96ff677f312511498e591bd5c | |
| parent | 2bb0135d2ad45b2a7228dbb61a04a703b1942798 (diff) | |
Rename infinity symbol
| -rw-r--r-- | library/src/symbols/sym.rs | 3 | ||||
| -rw-r--r-- | tests/typ/math/attach.typ | 2 | ||||
| -rw-r--r-- | tests/typ/math/op.typ | 4 |
3 files changed, 5 insertions, 4 deletions
diff --git a/library/src/symbols/sym.rs b/library/src/symbols/sym.rs index 5a68cc80..6a6ca758 100644 --- a/library/src/symbols/sym.rs +++ b/library/src/symbols/sym.rs @@ -342,7 +342,8 @@ pub(crate) const SYM: &[(&'static str, Symbol)] = symbols! { ], // Calculus. - infty: '∞', + infinity: '∞', + oo: '∞', diff: '∂', nabla: '∇', sum: ['∑', integral: '⨋'], diff --git a/tests/typ/math/attach.typ b/tests/typ/math/attach.typ index 89ecfc48..3963c9c8 100644 --- a/tests/typ/math/attach.typ +++ b/tests/typ/math/attach.typ @@ -26,7 +26,7 @@ $ (-1)^n + (1/2 + 3)^(-1/2) $ --- // Test limit. -$ lim_(n->infty \ n "grows") sum_(k=0 \ k in NN)^n k $ +$ lim_(n->oo \ n "grows") sum_(k=0 \ k in NN)^n k $ --- // Test forcing scripts and limits. diff --git a/tests/typ/math/op.typ b/tests/typ/math/op.typ index c7b34c54..b76a2da6 100644 --- a/tests/typ/math/op.typ +++ b/tests/typ/math/op.typ @@ -12,8 +12,8 @@ $ &sin x + log_2 x \ --- // Test scripts vs limits. #set text("Latin Modern Roman") -Discuss $lim_(n->infty) 1/n$ now. -$ lim_(n->infty) 1/n = 0 $ +Discuss $lim_(n->oo) 1/n$ now. +$ lim_(n->infinity) 1/n = 0 $ --- // Test custom operator. |
