Sha256: d32609d32fa6e38f64d04ad08f54994b0d3229cc1ba86e830c5a02d52dae4d4b

Contents?: true

Size: 844 Bytes

Versions: 2

Compression:

Stored size: 844 Bytes

Contents

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

        # output methods
        def to_latex
          "\\ggg"
        end

        def to_asciimath
          parsing_wrapper("ggg")
        end

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

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

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

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