Sha256: 2514b8ba7a770aad8f00624e8a37f52e2ae4c87d632b15f7ce9d5c9c0446e537

Contents?: true

Size: 917 Bytes

Versions: 2

Compression:

Stored size: 917 Bytes

Contents

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

        # output methods
        def to_latex
          "\\circlellquad"
        end

        def to_asciimath
          parsing_wrapper("circlellquad")
        end

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

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

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

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