Sha256: 9c1a48819c3e1c4bcb87017660c1d20893d8384d9ccb9572d6ba3f94952e67d0

Contents?: true

Size: 905 Bytes

Versions: 2

Compression:

Stored size: 905 Bytes

Contents

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

        # output methods
        def to_latex
          "\\subsetcirc"
        end

        def to_asciimath
          parsing_wrapper("subsetcirc")
        end

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

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

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

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