Sha256: afbfc1b7f5b30c1666df7f12cee26afa527b12191bdf7b33d5fbecb93949bda4

Contents?: true

Size: 1 KB

Versions: 2

Compression:

Stored size: 1 KB

Contents

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

        # output methods
        def to_latex
          "\\nVtwoheadleftarrowtail"
        end

        def to_asciimath
          parsing_wrapper("nVtwoheadleftarrowtail", lang: :asciimath)
        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.14 lib/plurimath/math/symbols/nvtwoheadleftarrowtail.rb
plurimath-0.8.13 lib/plurimath/math/symbols/nvtwoheadleftarrowtail.rb