Sha256: 6b97d3d9be5acc7b7eb5c7ce15dd6a2d67d7c7c0236aec50394107dfec61b548

Contents?: true

Size: 887 Bytes

Versions: 2

Compression:

Stored size: 887 Bytes

Contents

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

        # output methods
        def to_latex
          "\\veeodot"
        end

        def to_asciimath
          parsing_wrapper("veeodot")
        end

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

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

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

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