Sha256: 5da0230706760d0ce42fd9be478602a41cc5fcb60a1276511372b277722c301e

Contents?: true

Size: 917 Bytes

Versions: 2

Compression:

Stored size: 917 Bytes

Contents

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

        # output methods
        def to_latex
          "\\circleulquad"
        end

        def to_asciimath
          parsing_wrapper("circleulquad")
        end

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

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

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

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