Sha256: 4813f6195d16a1ecb6561a3e385719a2f37a67c28d7b2f86ac5348beffb2d2e2

Contents?: true

Size: 969 Bytes

Versions: 2

Compression:

Stored size: 969 Bytes

Contents

module Plurimath
  module Math
    module Symbols
      class Emptysetoarr < Symbol
        INPUT = {
          unicodemath: [["&#x29b3;"], parsing_wrapper(["emptysetoarr"], lang: :unicode)],
          asciimath: [["&#x29b3;"], parsing_wrapper(["emptysetoarr"], lang: :asciimath)],
          mathml: ["&#x29b3;"],
          latex: [["emptysetoarr", "&#x29b3;"]],
          omml: ["&#x29b3;"],
          html: ["&#x29b3;"],
        }.freeze

        # output methods
        def to_latex
          "\\emptysetoarr"
        end

        def to_asciimath
          parsing_wrapper("emptysetoarr", lang: :asciimath)
        end

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

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

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

        def to_html
          "&#x29b3;"
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
plurimath-0.8.14 lib/plurimath/math/symbols/emptysetoarr.rb
plurimath-0.8.13 lib/plurimath/math/symbols/emptysetoarr.rb