Sha256: c71dd029a89f3b191461f167e941a92d7c26e02e4476993cb7df524164edd43f

Contents?: true

Size: 935 Bytes

Versions: 2

Compression:

Stored size: 935 Bytes

Contents

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

        # output methods
        def to_latex
          "\\acwleftarcarrow"
        end

        def to_asciimath
          parsing_wrapper("acwleftarcarrow")
        end

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

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

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

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