Sha256: 07202d6bf21bc68f2625fa501718f32e7ca350275b6fcf82964439274ee87a40

Contents?: true

Size: 914 Bytes

Versions: 7

Compression:

Stored size: 914 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

7 entries across 7 versions & 1 rubygems

Version Path
plurimath-0.8.10 lib/plurimath/math/symbols/lrtriangleeq.rb
plurimath-0.8.9 lib/plurimath/math/symbols/lrtriangleeq.rb
plurimath-0.8.8 lib/plurimath/math/symbols/lrtriangleeq.rb
plurimath-0.8.7 lib/plurimath/math/symbols/lrtriangleeq.rb
plurimath-0.8.6 lib/plurimath/math/symbols/lrtriangleeq.rb
plurimath-0.8.5 lib/plurimath/math/symbols/lrtriangleeq.rb
plurimath-0.8.4 lib/plurimath/math/symbols/lrtriangleeq.rb