Sha256: c229262b14e233f0b49520e77af739c5d5b642f23758790dee25411bd8cb42f7

Contents?: true

Size: 902 Bytes

Versions: 7

Compression:

Stored size: 902 Bytes

Contents

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

        # output methods
        def to_latex
          "\\lbracelend"
        end

        def to_asciimath
          parsing_wrapper("lbracelend")
        end

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

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

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

        def to_html
          "&#x23a9;"
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
plurimath-0.8.10 lib/plurimath/math/symbols/lbracelend.rb
plurimath-0.8.9 lib/plurimath/math/symbols/lbracelend.rb
plurimath-0.8.8 lib/plurimath/math/symbols/lbracelend.rb
plurimath-0.8.7 lib/plurimath/math/symbols/lbracelend.rb
plurimath-0.8.6 lib/plurimath/math/symbols/lbracelend.rb
plurimath-0.8.5 lib/plurimath/math/symbols/lbracelend.rb
plurimath-0.8.4 lib/plurimath/math/symbols/lbracelend.rb