Sha256: fecd02be18a823cafe85f78035416bb5832b3dbf192c03da4bd64380d21db8bf

Contents?: true

Size: 911 Bytes

Versions: 2

Compression:

Stored size: 911 Bytes

Contents

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

        # output methods
        def to_latex
          "\\seovnearrow"
        end

        def to_asciimath
          parsing_wrapper("seovnearrow")
        end

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

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

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

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