Sha256: 8a7461689455a423ad29061c577fd54e8803afb3f0599ddf18d76d49c5b80aa4

Contents?: true

Size: 923 Bytes

Versions: 2

Compression:

Stored size: 923 Bytes

Contents

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

        # output methods
        def to_latex
          "\\mdsmwhtcircle"
        end

        def to_asciimath
          parsing_wrapper("mdsmwhtcircle")
        end

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

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

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

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