Sha256: 4dd9f30d843049bb43a950ac5b5c0892b393a5be1f99fe4d7fa78d5129a81498

Contents?: true

Size: 911 Bytes

Versions: 2

Compression:

Stored size: 911 Bytes

Contents

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

        # output methods
        def to_latex
          "\\revemptyset"
        end

        def to_asciimath
          parsing_wrapper("revemptyset")
        end

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

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

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

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