Sha256: e80aed1bec42d25ec82f117f7fffe0b748877f4ee8cab6bf29b973f0b47797f9
Contents?: true
Size: 971 Bytes
Versions: 10
Compression:
Stored size: 971 Bytes
Contents
module Plurimath module Math module Symbols class Neq < 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(**) "!=" 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
10 entries across 10 versions & 1 rubygems