Sha256: b119223c4103279def0f9eedad11aeb2e52fa0457b3bcb49fc0ab7960c92463d

Contents?: true

Size: 893 Bytes

Versions: 2

Compression:

Stored size: 893 Bytes

Contents

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

        # output methods
        def to_latex
          "\\eqqcolon"
        end

        def to_asciimath
          parsing_wrapper("eqqcolon")
        end

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

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

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

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