Sha256: a671a6b4bc6fd406de4e49f0394afb30206268e83396bfc783b9b158adfd6704

Contents?: true

Size: 917 Bytes

Versions: 2

Compression:

Stored size: 917 Bytes

Contents

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

        # output methods
        def to_latex
          "\\rightbkarrow"
        end

        def to_asciimath
          parsing_wrapper("rightbkarrow")
        end

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

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

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

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