Sha256: 3d5fde06a9e5d19660b3e14508e55f79ce3d97badc666689e9bfb67f30c6efc4

Contents?: true

Size: 983 Bytes

Versions: 2

Compression:

Stored size: 983 Bytes

Contents

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

        # output methods
        def to_latex
          "\\invwhitelowerhalfcircle"
        end

        def to_asciimath
          parsing_wrapper("invwhitelowerhalfcircle")
        end

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

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

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

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