Sha256: c9a4895232e294171f00eb53daaeacaf4602c10ec29f72fcfb3a790815e64895

Contents?: true

Size: 939 Bytes

Versions: 2

Compression:

Stored size: 939 Bytes

Contents

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

        # output methods
        def to_latex
          "\\lllnest"
        end

        def to_asciimath
          parsing_wrapper("lllnest", lang: :asciimath)
        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.14 lib/plurimath/math/symbols/lllnest.rb
plurimath-0.8.13 lib/plurimath/math/symbols/lllnest.rb