Sha256: be6398b8962067514da46fb499c838ffc3e9d87e76fc59cfbd08f2da4b46d05f

Contents?: true

Size: 905 Bytes

Versions: 2

Compression:

Stored size: 905 Bytes

Contents

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

        # output methods
        def to_latex
          "\\opluslhrim"
        end

        def to_asciimath
          parsing_wrapper("opluslhrim")
        end

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

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

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

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