Sha256: 33129763d6a79da5b90002f29c8ed75c4f34c284ff116476d3ea1ff7871fdd1f

Contents?: true

Size: 875 Bytes

Versions: 2

Compression:

Stored size: 875 Bytes

Contents

module Plurimath
  module Math
    module Symbols
      class Veeeq < Symbol
        INPUT = {
          unicodemath: [["&#x225a;"], parsing_wrapper(["veeeq"])],
          asciimath: [["&#x225a;"], parsing_wrapper(["veeeq"])],
          mathml: ["&#x225a;"],
          latex: [["veeeq", "&#x225a;"]],
          omml: ["&#x225a;"],
          html: ["&#x225a;"],
        }.freeze

        # output methods
        def to_latex
          "\\veeeq"
        end

        def to_asciimath
          parsing_wrapper("veeeq")
        end

        def to_unicodemath
          Utility.html_entity_to_unicode("&#x225a;")
        end

        def to_mathml_without_math_tag(_)
          ox_element("mi") << "&#x225a;"
        end

        def to_omml_without_math_tag(_)
          "&#x225a;"
        end

        def to_html
          "&#x225a;"
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
plurimath-0.8.12 lib/plurimath/math/symbols/veeeq.rb
plurimath-0.8.11 lib/plurimath/math/symbols/veeeq.rb