Sha256: a55ad13d56b9faeb9caf16172015eb0ff0f9d7b264270629936584769b77e76c

Contents?: true

Size: 796 Bytes

Versions: 4

Compression:

Stored size: 796 Bytes

Contents

module Plurimath
  module Math
    module Symbols
      class Ubrace < Symbol
        INPUT = {
          unicodemath: [["&#x23df;"]],
          asciimath: [["&#x23df;"]],
          mathml: ["&#x23df;"],
          latex: [["&#x23df;"]],
          omml: ["&#x23df;"],
          html: ["&#x23df;"],
        }.freeze

        # output methods
        def to_latex
          "\\ubrace"
        end

        def to_asciimath
          "ubrace"
        end

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

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

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

        def to_html
          "&#x23df;"
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
plurimath-0.8.14 lib/plurimath/math/symbols/ubrace.rb
plurimath-0.8.13 lib/plurimath/math/symbols/ubrace.rb
plurimath-0.8.12 lib/plurimath/math/symbols/ubrace.rb
plurimath-0.8.11 lib/plurimath/math/symbols/ubrace.rb