Sha256: c34dfdb1fcb67f001c85ca96751c76400b09021e0227874714560e522a28e823

Contents?: true

Size: 933 Bytes

Versions: 2

Compression:

Stored size: 933 Bytes

Contents

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

        # output methods
        def to_latex
          "\\lowint"
        end

        def to_asciimath
          parsing_wrapper("lowint", lang: :asciimath)
        end

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

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

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

        def to_html
          "&#x2a1c;"
        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/lowint.rb
plurimath-0.8.13 lib/plurimath/math/symbols/lowint.rb