Sha256: 0a61d5f531901712d846fdd674293153809db6010f766c7f6b5b2bf29e7d0e2c

Contents?: true

Size: 911 Bytes

Versions: 2

Compression:

Stored size: 911 Bytes

Contents

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

        # output methods
        def to_latex
          "\\otimeslhrim"
        end

        def to_asciimath
          parsing_wrapper("otimeslhrim")
        end

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

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

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

        def to_html
          "&#x2a34;"
        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/otimeslhrim.rb
plurimath-0.8.11 lib/plurimath/math/symbols/otimeslhrim.rb