Sha256: 859dff583f725a377672572a5594a454cfe810bfead000e49698aeece7efc1e6

Contents?: true

Size: 905 Bytes

Versions: 2

Compression:

Stored size: 905 Bytes

Contents

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

        # output methods
        def to_latex
          "\\rbracelend"
        end

        def to_asciimath
          parsing_wrapper("rbracelend")
        end

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

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

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

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