Sha256: 340b1c547db9b6cd3d1947ceb3a164b04b1b4231f605b53dbf3abe0a32d6d6eb

Contents?: true

Size: 983 Bytes

Versions: 2

Compression:

Stored size: 983 Bytes

Contents

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

        # output methods
        def to_latex
          "\\nVtwoheadrightarrowtail"
        end

        def to_asciimath
          parsing_wrapper("nVtwoheadrightarrowtail")
        end

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

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

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

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