mirror of
https://github.com/typst/typst
synced 2025-05-14 04:56:26 +08:00
Add lcm as an operator in math mode (#5718)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
This commit is contained in:
parent
f7bd03dd76
commit
58dbbd48fe
@ -17,9 +17,9 @@ use crate::text::TextElem;
|
||||
/// # Predefined Operators { #predefined }
|
||||
/// Typst predefines the operators `arccos`, `arcsin`, `arctan`, `arg`, `cos`,
|
||||
/// `cosh`, `cot`, `coth`, `csc`, `csch`, `ctg`, `deg`, `det`, `dim`, `exp`,
|
||||
/// `gcd`, `hom`, `id`, `im`, `inf`, `ker`, `lg`, `lim`, `liminf`, `limsup`,
|
||||
/// `ln`, `log`, `max`, `min`, `mod`, `Pr`, `sec`, `sech`, `sin`, `sinc`,
|
||||
/// `sinh`, `sup`, `tan`, `tanh`, `tg` and `tr`.
|
||||
/// `gcd`, `lcm`, `hom`, `id`, `im`, `inf`, `ker`, `lg`, `lim`, `liminf`,
|
||||
/// `limsup`, `ln`, `log`, `max`, `min`, `mod`, `Pr`, `sec`, `sech`, `sin`,
|
||||
/// `sinc`, `sinh`, `sup`, `tan`, `tanh`, `tg` and `tr`.
|
||||
#[elem(title = "Text Operator", Mathy)]
|
||||
pub struct OpElem {
|
||||
/// The operator's text.
|
||||
@ -75,6 +75,7 @@ ops! {
|
||||
dim,
|
||||
exp,
|
||||
gcd (limits),
|
||||
lcm (limits),
|
||||
hom,
|
||||
id,
|
||||
im,
|
||||
|
Loading…
x
Reference in New Issue
Block a user