Sha256: d81a815621be40516839019351e91782c52366767a4b4ff5b513dba2fd10a457

Contents?: true

Size: 905 Bytes

Versions: 2

Compression:

Stored size: 905 Bytes

Contents

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

        # output methods
        def to_latex
          "\\Rparenless"
        end

        def to_asciimath
          parsing_wrapper("Rparenless")
        end

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

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

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

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