mirror of
https://github.com/typst/typst
synced 2025-05-13 20:46: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
|
/// ## Predefined Operators
|
||||||
/// Typst predefines the operators `arccos`, `arcsin`, `arctan`, `arg`,
|
/// Typst predefines the operators `arccos`, `arcsin`, `arctan`, `arg`,
|
||||||
/// `cos`, `cosh`, `cot`, `coth`, `csc`, `deg`, `det`, `dim`, `exp`,
|
/// `cos`, `cosh`, `cot`, `ctg`, `coth`, `csc`, `deg`, `det`, `dim`,
|
||||||
/// `gcd`, `hom`, `mod`, `inf`, `ker`, `lg`, `lim`, `ln`, `log`, `max`,
|
/// `exp`, `gcd`, `hom`, `mod`, `inf`, `ker`, `lg`, `lim`, `ln`, `log`,
|
||||||
/// `min`, `Pr`, `sec`, `sin`, `sinh`, `sup`, `tan`, `tanh`, `liminf`,
|
/// `max`, `min`, `Pr`, `sec`, `sin`, `sinh`, `sup`, `tan`, `tg`, `tanh`,
|
||||||
/// and `limsup`.
|
/// `liminf`, and `limsup`.
|
||||||
///
|
///
|
||||||
/// ## Parameters
|
/// ## Parameters
|
||||||
/// - text: `EcoString` (positional, required)
|
/// - text: `EcoString` (positional, required)
|
||||||
@ -86,6 +86,7 @@ ops! {
|
|||||||
cos,
|
cos,
|
||||||
cosh,
|
cosh,
|
||||||
cot,
|
cot,
|
||||||
|
ctg,
|
||||||
coth,
|
coth,
|
||||||
csc,
|
csc,
|
||||||
deg,
|
deg,
|
||||||
@ -109,6 +110,7 @@ ops! {
|
|||||||
sinh,
|
sinh,
|
||||||
sup (limits),
|
sup (limits),
|
||||||
tan,
|
tan,
|
||||||
|
tg,
|
||||||
tanh,
|
tanh,
|
||||||
liminf: "lim inf" (limits),
|
liminf: "lim inf" (limits),
|
||||||
limsup: "lim sup" (limits),
|
limsup: "lim sup" (limits),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user