Sha256: cec4db3541089bac088758c765597dfc84290d7ee33a111d4d2b2c8077330608

Contents?: true

Size: 935 Bytes

Versions: 2

Compression:

Stored size: 935 Bytes

Contents

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

        # output methods
        def to_latex
          "\\uparrowoncircle"
        end

        def to_asciimath
          parsing_wrapper("uparrowoncircle")
        end

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

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

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

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