Sha256: 42ae53f7f7ef46e8804510c1f1a9bee99a54cde280a2eef2e26b0fc7def67e3c

Contents?: true

Size: 919 Bytes

Versions: 2

Compression:

Stored size: 919 Bytes

Contents

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

        # output methods
        def to_latex
          "\\ocommatopright"
        end

        def to_asciimath
          parsing_wrapper("ocommatopright")
        end

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

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

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

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