Sha256: ad046f15f4f644ac326c556c564e539ff58477a9357c4ee5c8903d67319b42ae
Contents?: true
Size: 801 Bytes
Versions: 14
Compression:
Stored size: 801 Bytes
Contents
module Plurimath module Math module Symbols class Hat < Symbol INPUT = { unicodemath: [["̂", "^"]], asciimath: [["̂", "^"]], mathml: ["̂", "^"], latex: [["̂", "^"]], omml: ["̂", "^"], html: ["̂", "^"], }.freeze # output methods def to_latex(**) "^" end def to_asciimath(**) "^" end def to_unicodemath(**) Utility.html_entity_to_unicode("^") end def to_mathml_without_math_tag(_, **) ox_element("mo") << "^" end def to_omml_without_math_tag(_, **) "^" end def to_html(**) "^" end end end end end
Version data entries
14 entries across 14 versions & 1 rubygems