Sha256: 2dda0bbed6f21eb222424cc5a38807c176a78f5efd67b7b02a865ba3ccc90994

Contents?: true

Size: 893 Bytes

Versions: 2

Compression:

Stored size: 893 Bytes

Contents

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

        # output methods
        def to_latex
          "\\veeonvee"
        end

        def to_asciimath
          parsing_wrapper("veeonvee")
        end

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

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

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

        def to_html
          "&#x2a56;"
        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/veeonvee.rb
plurimath-0.8.11 lib/plurimath/math/symbols/veeonvee.rb