Sha256: 7f89aef0066f147879697522140f11e5f791d8b4a13297017643fb33135026dc

Contents?: true

Size: 875 Bytes

Versions: 2

Compression:

Stored size: 875 Bytes

Contents

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

        # output methods
        def to_latex
          "\\upint"
        end

        def to_asciimath
          parsing_wrapper("upint")
        end

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

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

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

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