Sha256: 46e21bd48e1d5995ad3c1e6d8566975e6a958ff2597fdc21d26ad44dded1c8f4

Contents?: true

Size: 1.12 KB

Versions: 2

Compression:

Stored size: 1.12 KB

Contents

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

        # output methods
        def to_latex
          "\\dbloint"
        end

        def to_asciimath
          parsing_wrapper("oiint")
        end

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

        def to_mathml_without_math_tag(_)
          ox_element("mo") << "&#x222f;"
        end

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

        def to_html
          "&#x222f;"
        end

        def is_nary_symbol?
          true
        end

        def nary_intent_name
          "surface integral"
        end

        def tag_name
          "underover"
        end

        def omml_tag_name
          "undOvr"
        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/oiint.rb
plurimath-0.8.11 lib/plurimath/math/symbols/oiint.rb