Sha256: 02249474a51ec2e986a639afb66e964efece42dadbb5d76192329e238dd05f2e

Contents?: true

Size: 915 Bytes

Versions: 7

Compression:

Stored size: 915 Bytes

Contents

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

        # output methods
        def to_latex
          parsing_wrapper("divideontimes")
        end

        def to_asciimath
          parsing_wrapper("divideontimes")
        end

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

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

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

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