Sha256: 4a68d5a13b48a1e85673d3c4180af09a7cf40458b5f673efbd1f15a64d7e5ae4
Contents?: true
Size: 939 Bytes
Versions: 10
Compression:
Stored size: 939 Bytes
Contents
module Plurimath module Math module Symbols class Kappa < Symbol INPUT = { unicodemath: [["kappa", "κ"], parsing_wrapper(["upkappa"], lang: :unicode)], asciimath: [["kappa", "κ"], parsing_wrapper(["upkappa"], lang: :asciimath)], mathml: ["κ"], latex: [["upkappa", "kappa", "κ"]], omml: ["κ"], html: ["κ"], }.freeze # output methods def to_latex(**) "\\kappa" end def to_asciimath(**) "kappa" 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
10 entries across 10 versions & 1 rubygems