Sha256: 0cf44ced564721f26d680e894907b2db1a225a84d64448e8cade71e4f2161a94

Contents?: true

Size: 1.05 KB

Versions: 7

Compression:

Stored size: 1.05 KB

Contents

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

        # output methods
        def to_latex(**)
          "\\iiint"
        end

        def to_asciimath(**)
          parsing_wrapper("iiint", lang: :asciimath)
        end

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

        def to_mathml_without_math_tag(_, **)
          ox_element("mi") << "&#x222d;"
        end

        def to_omml_without_math_tag(_, **)
          "&#x222d;"
        end

        def to_html(**)
          "&#x222d;"
        end

        def nary_intent_name
          ":triple integral"
        end

        def is_nary_symbol?
          true
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
plurimath-0.8.23 lib/plurimath/math/symbols/iiint.rb
plurimath-0.8.22 lib/plurimath/math/symbols/iiint.rb
plurimath-0.8.21 lib/plurimath/math/symbols/iiint.rb
plurimath-0.8.20 lib/plurimath/math/symbols/iiint.rb
plurimath-0.8.19 lib/plurimath/math/symbols/iiint.rb
plurimath-0.8.18 lib/plurimath/math/symbols/iiint.rb
plurimath-0.8.17 lib/plurimath/math/symbols/iiint.rb