Sha256: dae826e9f8c0504120e76541c2e26604e4dc9ae5975689906fef9ae1e97854ee

Contents?: true

Size: 881 Bytes

Versions: 2

Compression:

Stored size: 881 Bytes

Contents

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

        # output methods
        def to_latex
          "\\ddddot"
        end

        def to_asciimath
          parsing_wrapper("ddddot")
        end

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

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

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

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