Sha256: c1dac2ecc6da9812c83687d745929fee2575879a7e0c43441c682beca7e25998

Contents?: true

Size: 950 Bytes

Versions: 7

Compression:

Stored size: 950 Bytes

Contents

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

        # output methods
        def to_latex
          "\\circleonrightarrow"
        end

        def to_asciimath
          parsing_wrapper("circleonrightarrow")
        end

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

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

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

        def to_html
          "&#x21f4;"
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
plurimath-0.8.10 lib/plurimath/math/symbols/circleonrightarrow.rb
plurimath-0.8.9 lib/plurimath/math/symbols/circleonrightarrow.rb
plurimath-0.8.8 lib/plurimath/math/symbols/circleonrightarrow.rb
plurimath-0.8.7 lib/plurimath/math/symbols/circleonrightarrow.rb
plurimath-0.8.6 lib/plurimath/math/symbols/circleonrightarrow.rb
plurimath-0.8.5 lib/plurimath/math/symbols/circleonrightarrow.rb
plurimath-0.8.4 lib/plurimath/math/symbols/circleonrightarrow.rb