Sha256: 9fd99703f70144c65025fdd8eee3ae15dbce3ce983ab48c346925190241666ed

Contents?: true

Size: 957 Bytes

Versions: 15

Compression:

Stored size: 957 Bytes

Contents

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

        # output methods
        def to_latex(**)
          "\\gtlpar"
        end

        def to_asciimath(**)
          parsing_wrapper("gtlpar", lang: :asciimath)
        end

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

        def to_mathml_without_math_tag(_, **)
          ox_element("mi") << "&#x29a0;"
        end

        def to_omml_without_math_tag(_, **)
          "&#x29a0;"
        end

        def to_html(**)
          "&#x29a0;"
        end
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
plurimath-0.9.1 lib/plurimath/math/symbols/gtlpar.rb
plurimath-0.9.0 lib/plurimath/math/symbols/gtlpar.rb
plurimath-0.8.27 lib/plurimath/math/symbols/gtlpar.rb
plurimath-0.8.26 lib/plurimath/math/symbols/gtlpar.rb
plurimath-0.8.25 lib/plurimath/math/symbols/gtlpar.rb
plurimath-0.8.24 lib/plurimath/math/symbols/gtlpar.rb
plurimath-0.8.23 lib/plurimath/math/symbols/gtlpar.rb
plurimath-0.8.22 lib/plurimath/math/symbols/gtlpar.rb
plurimath-0.8.21 lib/plurimath/math/symbols/gtlpar.rb
plurimath-0.8.20 lib/plurimath/math/symbols/gtlpar.rb
plurimath-0.8.19 lib/plurimath/math/symbols/gtlpar.rb
plurimath-0.8.18 lib/plurimath/math/symbols/gtlpar.rb
plurimath-0.8.17 lib/plurimath/math/symbols/gtlpar.rb
plurimath-0.8.16 lib/plurimath/math/symbols/gtlpar.rb
plurimath-0.8.15 lib/plurimath/math/symbols/gtlpar.rb