Sha256: 71f415ff5d97da821f56f609ffc076f7c2de9086e923189864b8bf75b8da7ebd

Contents?: true

Size: 907 Bytes

Versions: 2

Compression:

Stored size: 907 Bytes

Contents

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

        # output methods
        def to_latex
          "\\oturnedcomma"
        end

        def to_asciimath
          parsing_wrapper("oturnedcomma")
        end

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

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

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

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