Sha256: 1c9c87e10357b05dd49ce52bca5562e84fd2aa2ecbe0edef46c069345c5c7b11

Contents?: true

Size: 866 Bytes

Versions: 7

Compression:

Stored size: 866 Bytes

Contents

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

        # output methods
        def to_latex
          "\\dsol"
        end

        def to_asciimath
          parsing_wrapper("dsol")
        end

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

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

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

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