Sha256: 2c72bd851e8003fc4fb167060d646ce75ee42b524d274d6d0cd23f77b714747d

Contents?: true

Size: 977 Bytes

Versions: 2

Compression:

Stored size: 977 Bytes

Contents

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

        # output methods
        def to_latex
          "\\nVtwoheadleftarrowtail"
        end

        def to_asciimath
          parsing_wrapper("nVtwoheadleftarrowtail")
        end

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

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

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

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