summaryrefslogtreecommitdiff
path: root/library/src/math
diff options
context:
space:
mode:
Diffstat (limited to 'library/src/math')
-rw-r--r--library/src/math/op.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/library/src/math/op.rs b/library/src/math/op.rs
index d9965db1..772013bd 100644
--- a/library/src/math/op.rs
+++ b/library/src/math/op.rs
@@ -5,6 +5,13 @@ use super::*;
/// # Text Operator
/// A text operator in a math formula.
///
+/// ## Example
+/// ```example
+/// $ tan x = (sin x)/(cos x) $
+/// $ op("custom",
+/// limits: #true)_(n->oo) n $
+/// ```
+///
/// ## Predefined Operators
/// Typst predefines the operators `arccos`, `arcsin`, `arctan`, `arg`,
/// `cos`, `cosh`, `cot`, `ctg`, `coth`, `csc`, `deg`, `det`, `dim`,