Sha256: cedbb204c913d7c7fee1301f243857426675338dbd0b902cea1db3f4d2c20f76

Contents?: true

Size: 917 Bytes

Versions: 2

Compression:

Stored size: 917 Bytes

Contents

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

        # output methods
        def to_latex
          "\\wedgeonwedge"
        end

        def to_asciimath
          parsing_wrapper("wedgeonwedge")
        end

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

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

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

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