Sha256: 4a3041513bb54b18385977aefcd2e7daef09d0bfad7690362fc88352a80e37a9

Contents?: true

Size: 887 Bytes

Versions: 2

Compression:

Stored size: 887 Bytes

Contents

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

        # output methods
        def to_latex
          "\\lllnest"
        end

        def to_asciimath
          parsing_wrapper("lllnest")
        end

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

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

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

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