Sha256: 6b96c70650a9317dc382edf4adf6e375600fb04a89c15d2b63bdc910dca102f5

Contents?: true

Size: 929 Bytes

Versions: 2

Compression:

Stored size: 929 Bytes

Contents

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

        # output methods
        def to_latex
          "\\rparenextender"
        end

        def to_asciimath
          parsing_wrapper("rparenextender")
        end

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

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

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

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