Sha256: 6b895322fe3403068264c016070b081010a32272228c652348b6411e95a8122e

Contents?: true

Size: 893 Bytes

Versions: 2

Compression:

Stored size: 893 Bytes

Contents

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

        # output methods
        def to_latex
          "\\scpolint"
        end

        def to_asciimath
          parsing_wrapper("scpolint")
        end

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

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

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

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