Sha256: a3f62d04116d2b4df46e8e4bc444b297d336a5198422c3deaa47752e9e39c5a3

Contents?: true

Size: 892 Bytes

Versions: 2

Compression:

Stored size: 892 Bytes

Contents

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

        # output methods
        def to_latex
          "\\nsqsubseteq"
        end

        def to_asciimath
          parsing_wrapper("nsqsubseteq")
        end

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

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

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

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