Sha256: 1affc8f36a04591f2fe65936ec425e8c8bb4bbb19eb4125427a5a0229c45d8f6

Contents?: true

Size: 1.09 KB

Versions: 2

Compression:

Stored size: 1.09 KB

Contents

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

        # output methods
        def to_latex
          "\\oiiint"
        end

        def to_asciimath
          parsing_wrapper("oiiint")
        end

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

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

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

        def to_html
          "&#x2230;"
        end

        def is_nary_symbol?
          true
        end

        def nary_intent_name
          "volume 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/oiiint.rb
plurimath-0.8.11 lib/plurimath/math/symbols/oiiint.rb