Sha256: 424b3260c4215e448616f0c7848f24dfebb36f4e6c4801625af289439abc7b72

Contents?: true

Size: 905 Bytes

Versions: 2

Compression:

Stored size: 905 Bytes

Contents

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

        # output methods
        def to_latex
          "\\rparenuend"
        end

        def to_asciimath
          parsing_wrapper("rparenuend")
        end

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

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

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

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