Sha256: 92043bce2515f210b072404be4c51ff35cd3dc860d000ee8761182fae4e44c44

Contents?: true

Size: 947 Bytes

Versions: 2

Compression:

Stored size: 947 Bytes

Contents

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

        # output methods
        def to_latex
          "\\rightarrowonoplus"
        end

        def to_asciimath
          parsing_wrapper("rightarrowonoplus")
        end

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

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

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

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