Sha256: e6bd06cfabab20fbf5f6b3d6883c30024429155a7b9298d246af34ffd09b3409
Contents?: true
Size: 878 Bytes
Versions: 7
Compression:
Stored size: 878 Bytes
Contents
module Plurimath module Math module Symbols class Kappa < Symbol INPUT = { unicodemath: [["kappa", "κ"], parsing_wrapper(["upkappa"])], asciimath: [["kappa", "κ"], parsing_wrapper(["upkappa"])], 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
7 entries across 7 versions & 1 rubygems