Sha256: 73f2f9df0a211e89007e66a6d60b2c2651f1ee08880023199d35e0805d908426

Contents?: true

Size: 969 Bytes

Versions: 9

Compression:

Stored size: 969 Bytes

Contents

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

        # output methods
        def to_latex(**)
          "\\eqqcolon"
        end

        def to_asciimath(**)
          parsing_wrapper("eqqcolon", lang: :asciimath)
        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

9 entries across 9 versions & 1 rubygems

Version Path
plurimath-0.8.23 lib/plurimath/math/symbols/eqqcolon.rb
plurimath-0.8.22 lib/plurimath/math/symbols/eqqcolon.rb
plurimath-0.8.21 lib/plurimath/math/symbols/eqqcolon.rb
plurimath-0.8.20 lib/plurimath/math/symbols/eqqcolon.rb
plurimath-0.8.19 lib/plurimath/math/symbols/eqqcolon.rb
plurimath-0.8.18 lib/plurimath/math/symbols/eqqcolon.rb
plurimath-0.8.17 lib/plurimath/math/symbols/eqqcolon.rb
plurimath-0.8.16 lib/plurimath/math/symbols/eqqcolon.rb
plurimath-0.8.15 lib/plurimath/math/symbols/eqqcolon.rb