Sha256: 8e65a0dec82d365a024cd9617cb017fe7487c92b004caba9a4f24bac97ddac07

Contents?: true

Size: 881 Bytes

Versions: 2

Compression:

Stored size: 881 Bytes

Contents

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

        # output methods
        def to_latex
          "\\simgtr"
        end

        def to_asciimath
          parsing_wrapper("simgtr")
        end

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

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

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

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