Sha256: 1db71280caf85f50b0bee6363f760d7ad18f5f7f312128c2ad69d3604e9848b9

Contents?: true

Size: 958 Bytes

Versions: 7

Compression:

Stored size: 958 Bytes

Contents

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

        # output methods
        def to_latex
          "\\Deltaeq"
        end

        def to_asciimath
          "Deltaeq"
        end

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

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

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

        def to_html
          "&#x225c;"
        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/deltaeq.rb
plurimath-0.8.9 lib/plurimath/math/symbols/deltaeq.rb
plurimath-0.8.8 lib/plurimath/math/symbols/deltaeq.rb
plurimath-0.8.7 lib/plurimath/math/symbols/deltaeq.rb
plurimath-0.8.6 lib/plurimath/math/symbols/deltaeq.rb
plurimath-0.8.5 lib/plurimath/math/symbols/deltaeq.rb
plurimath-0.8.4 lib/plurimath/math/symbols/deltaeq.rb