Sha256: 7cf3e25eecc961bb92f2ebc93551ba5b82cab56cc512d46e6c1b75080e2e02ee

Contents?: true

Size: 905 Bytes

Versions: 2

Compression:

Stored size: 905 Bytes

Contents

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

        # output methods
        def to_latex
          "\\lbraceuend"
        end

        def to_asciimath
          parsing_wrapper("lbraceuend")
        end

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

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

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

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