Sha256: b6da3bb7feb7758e9409805687e531171a0a372e10667a502151ce61a91120fa
Contents?: true
Size: 948 Bytes
Versions: 12
Compression:
Stored size: 948 Bytes
Contents
module Plurimath module Math module Symbols class Lambda < Symbol INPUT = { unicodemath: [["lambda", "λ"], parsing_wrapper(["uplambda"], lang: :unicode)], asciimath: [["lambda", "λ"], parsing_wrapper(["uplambda"], lang: :asciimath)], mathml: ["λ"], latex: [["uplambda", "lambda", "λ"]], omml: ["λ"], html: ["λ"], }.freeze # output methods def to_latex(**) "\\lambda" end def to_asciimath(**) "lambda" end def to_unicodemath(**) Utility.html_entity_to_unicode("λ") end def to_mathml_without_math_tag(_, **) ox_element("mi") << "λ" end def to_omml_without_math_tag(_, **) "λ" end def to_html(**) "λ" end end end end end
Version data entries
12 entries across 12 versions & 1 rubygems