Sha256: 9454ba65f28b4d4846e3f92a95ebb16b453e1d23e7d5f263312a9abe4328751e

Contents?: true

Size: 983 Bytes

Versions: 2

Compression:

Stored size: 983 Bytes

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 is_nary_symbol?
          true
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
plurimath-0.8.14 lib/plurimath/math/symbols/iiint.rb
plurimath-0.8.13 lib/plurimath/math/symbols/iiint.rb