Sha256: ba5967ffc5ca098d3ef234ef17b4797611a1b8aa8a16d46d50554d5f66ca13fa

Contents?: true

Size: 947 Bytes

Versions: 2

Compression:

Stored size: 947 Bytes

Contents

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

        # output methods
        def to_latex
          "\\vardoublebarwedge"
        end

        def to_asciimath
          parsing_wrapper("vardoublebarwedge")
        end

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

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

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

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