Sha256: a1f463a9ae85f736d961673b65bf6d5206ff764f6fe05032de4327bbb3813027

Contents?: true

Size: 887 Bytes

Versions: 2

Compression:

Stored size: 887 Bytes

Contents

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

        # output methods
        def to_latex
          "\\questeq"
        end

        def to_asciimath
          parsing_wrapper("questeq")
        end

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

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

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

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