Sha256: 16dc49df5bcb071aecb033ac3f00a0a13960fb013f7056d23f2b4a445560359c

Contents?: true

Size: 935 Bytes

Versions: 2

Compression:

Stored size: 935 Bytes

Contents

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

        # output methods
        def to_latex
          "\\leftarrowsubset"
        end

        def to_asciimath
          parsing_wrapper("leftarrowsubset")
        end

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

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

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

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