Sha256: 7b9ad7ff154563c615c73a728340ec7e04fd7e5e04dcbff5d1fa3c5feacb3e8e
Contents?: true
Size: 970 Bytes
Versions: 9
Compression:
Stored size: 970 Bytes
Contents
module Plurimath module Math module Symbols class Ne < Symbol INPUT = { unicodemath: [["neq", "ne", "≠"], parsing_wrapper(["!="], lang: :unicode)], asciimath: [["!=", "ne", "≠"], parsing_wrapper(["neq"], lang: :asciimath)], mathml: ["≠"], latex: [["neq", "ne", "≠"], parsing_wrapper(["!="], lang: :latex)], omml: ["≠"], html: ["≠"], }.freeze # output methods def to_latex(**) "\\ne" end def to_asciimath(**) "ne" 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
9 entries across 9 versions & 1 rubygems