Sha256: 41b9c7bf369da32b4d376ed589297aaf11d00918e533aadea874b698b79266d4
Contents?: true
Size: 890 Bytes
Versions: 2
Compression:
Stored size: 890 Bytes
Contents
module Plurimath module Math module Symbols class Lambda < Symbol INPUT = { unicodemath: [["lambda", "λ"], parsing_wrapper(["uplambda"])], asciimath: [["lambda", "λ"], parsing_wrapper(["uplambda"])], 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
plurimath-0.8.12 | lib/plurimath/math/symbols/lambda.rb |
plurimath-0.8.11 | lib/plurimath/math/symbols/lambda.rb |