Sha256: 43e19161909140cab943c053263fb56cf2528115f9580288d054653c6d04e7c4

Contents?: true

Size: 983 Bytes

Versions: 2

Compression:

Stored size: 983 Bytes

Contents

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

        # output methods
        def to_latex
          "\\invwhiteupperhalfcircle"
        end

        def to_asciimath
          parsing_wrapper("invwhiteupperhalfcircle")
        end

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

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

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

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