Sha256: 80993c52c9a593d5716d5f43eb3edf709fec03f9b15209572e0a04d1c525e062
Contents?: true
Size: 777 Bytes
Versions: 4
Compression:
Stored size: 777 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
4 entries across 4 versions & 1 rubygems