Sha256: 39e829bfedecac15dd18c70fc8d47136e1d918053c11f35b9a4e127f696beb23

Contents?: true

Size: 939 Bytes

Versions: 2

Compression:

Stored size: 939 Bytes

Contents

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

        # output methods
        def to_latex
          "\\gggnest"
        end

        def to_asciimath
          parsing_wrapper("gggnest", lang: :asciimath)
        end

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

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

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

        def to_html
          "&#x2af8;"
        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/gggnest.rb
plurimath-0.8.13 lib/plurimath/math/symbols/gggnest.rb