Sha256: c77e846f921e402f46c921a64c93ada7fcf3ae4ba5134a564198b79d3f7959a2

Contents?: true

Size: 899 Bytes

Versions: 2

Compression:

Stored size: 899 Bytes

Contents

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

        # output methods
        def to_latex
          "\\subsetdot"
        end

        def to_asciimath
          parsing_wrapper("subsetdot")
        end

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

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

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

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