Sha256: e58ab4af2cf754682fa1608c49275e6fb5e69b84967744dff1a6d6fa89b801eb

Contents?: true

Size: 881 Bytes

Versions: 2

Compression:

Stored size: 881 Bytes

Contents

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

        # output methods
        def to_latex
          "\\rgroup"
        end

        def to_asciimath
          parsing_wrapper("rgroup")
        end

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

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

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

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