mirror of
https://github.com/typst/typst
synced 2025-05-13 12:36:23 +08:00
Add tg
and ctg
operators
This commit is contained in:
parent
7b2cdb9d95
commit
78072c99eb
@ -7,10 +7,10 @@ use super::*;
|
||||
///
|
||||
/// ## Predefined Operators
|
||||
/// Typst predefines the operators `arccos`, `arcsin`, `arctan`, `arg`,
|
||||
/// `cos`, `cosh`, `cot`, `coth`, `csc`, `deg`, `det`, `dim`, `exp`,
|
||||
/// `gcd`, `hom`, `mod`, `inf`, `ker`, `lg`, `lim`, `ln`, `log`, `max`,
|
||||
/// `min`, `Pr`, `sec`, `sin`, `sinh`, `sup`, `tan`, `tanh`, `liminf`,
|
||||
/// and `limsup`.
|
||||
/// `cos`, `cosh`, `cot`, `ctg`, `coth`, `csc`, `deg`, `det`, `dim`,
|
||||
/// `exp`, `gcd`, `hom`, `mod`, `inf`, `ker`, `lg`, `lim`, `ln`, `log`,
|
||||
/// `max`, `min`, `Pr`, `sec`, `sin`, `sinh`, `sup`, `tan`, `tg`, `tanh`,
|
||||
/// `liminf`, and `limsup`.
|
||||
///
|
||||
/// ## Parameters
|
||||
/// - text: `EcoString` (positional, required)
|
||||
@ -86,6 +86,7 @@ ops! {
|
||||
cos,
|
||||
cosh,
|
||||
cot,
|
||||
ctg,
|
||||
coth,
|
||||
csc,
|
||||
deg,
|
||||
@ -109,6 +110,7 @@ ops! {
|
||||
sinh,
|
||||
sup (limits),
|
||||
tan,
|
||||
tg,
|
||||
tanh,
|
||||
liminf: "lim inf" (limits),
|
||||
limsup: "lim sup" (limits),
|
||||
|
Loading…
x
Reference in New Issue
Block a user