Sha256: 59e58e80c136f527ebae07ac5bb8e32bce00151daa243738e197ed5596b91ce8

Contents?: true

Size: 887 Bytes

Versions: 2

Compression:

Stored size: 887 Bytes

Contents

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

        # output methods
        def to_latex
          "\\dbkarow"
        end

        def to_asciimath
          parsing_wrapper("dbkarow")
        end

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

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

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

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