Sha256: b98bc3d50bdb5bc1097ed6a812da4e0478af5e9328be94abb440a9ca9e73ec34

Contents?: true

Size: 935 Bytes

Versions: 2

Compression:

Stored size: 935 Bytes

Contents

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

        # output methods
        def to_latex
          "\\acwoverarcarrow"
        end

        def to_asciimath
          parsing_wrapper("acwoverarcarrow")
        end

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

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

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

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