Sha256: 03e87b5cd8f5d3aea432c2bf64741ef0982985c21cfced95ee4e559550f1c01c

Contents?: true

Size: 927 Bytes

Versions: 2

Compression:

Stored size: 927 Bytes

Contents

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

        # output methods
        def to_latex
          "\\isins"
        end

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

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

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

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

        def to_html
          "&#x22f4;"
        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/isins.rb
plurimath-0.8.13 lib/plurimath/math/symbols/isins.rb