Sha256: 6e6724e5052b8e4d1f06abaa979cb397a217e8b10d4d213e98fadbe517c61b0e

Contents?: true

Size: 917 Bytes

Versions: 2

Compression:

Stored size: 917 Bytes

Contents

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

        # output methods
        def to_latex
          "\\lrtriangleeq"
        end

        def to_asciimath
          parsing_wrapper("lrtriangleeq")
        end

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

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

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

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