mirror of
https://github.com/typst/typst
synced 2025-06-28 08:12:53 +08:00
Add csch
and sech
operators (#2378)
This commit is contained in:
parent
7c92ec103e
commit
866bd27d2e
@ -13,10 +13,10 @@ use super::*;
|
|||||||
///
|
///
|
||||||
/// # Predefined Operators { #predefined }
|
/// # Predefined Operators { #predefined }
|
||||||
/// Typst predefines the operators `arccos`, `arcsin`, `arctan`, `arg`, `cos`,
|
/// Typst predefines the operators `arccos`, `arcsin`, `arctan`, `arg`, `cos`,
|
||||||
/// `cosh`, `cot`, `coth`, `csc`, `ctg`, `deg`, `det`, `dim`, `exp`, `gcd`,
|
/// `cosh`, `cot`, `coth`, `csc`, `csch`, `ctg`, `deg`, `det`, `dim`, `exp`,
|
||||||
/// `hom`, `id`, `im`, `inf`, `ker`, `lg`, `lim`, `liminf`, `limsup`, `ln`,
|
/// `gcd`, `hom`, `id`, `im`, `inf`, `ker`, `lg`, `lim`, `liminf`, `limsup`,
|
||||||
/// `log`, `max`, `min`, `mod`, `Pr`, `sec`, `sin`, `sinc`, `sinh`, `sup`,
|
/// `ln`, `log`, `max`, `min`, `mod`, `Pr`, `sec`, `sech`, `sin`, `sinc`,
|
||||||
/// `tan`, `tanh`, `tg` and `tr`.
|
/// `sinh`, `sup`, `tan`, `tanh`, `tg` and `tr`.
|
||||||
#[elem(title = "Text Operator", LayoutMath)]
|
#[elem(title = "Text Operator", LayoutMath)]
|
||||||
pub struct OpElem {
|
pub struct OpElem {
|
||||||
/// The operator's text.
|
/// The operator's text.
|
||||||
@ -80,6 +80,7 @@ ops! {
|
|||||||
cot,
|
cot,
|
||||||
coth,
|
coth,
|
||||||
csc,
|
csc,
|
||||||
|
csch,
|
||||||
ctg,
|
ctg,
|
||||||
deg,
|
deg,
|
||||||
det (limits),
|
det (limits),
|
||||||
@ -102,6 +103,7 @@ ops! {
|
|||||||
mod,
|
mod,
|
||||||
Pr (limits),
|
Pr (limits),
|
||||||
sec,
|
sec,
|
||||||
|
sech,
|
||||||
sin,
|
sin,
|
||||||
sinc,
|
sinc,
|
||||||
sinh,
|
sinh,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user