Sha256: 540f252465bf33d7e54935b623f5cc8423c467b893f92db1cb94b6f1152f1297

Contents?: true

Size: 881 Bytes

Versions: 2

Compression:

Stored size: 881 Bytes

Contents

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

        # output methods
        def to_latex
          "\\lowint"
        end

        def to_asciimath
          parsing_wrapper("lowint")
        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.12 lib/plurimath/math/symbols/lowint.rb
plurimath-0.8.11 lib/plurimath/math/symbols/lowint.rb