Sha256: 8281c783760eccde7cfd7dc2bb247f65607a23de470f028e0d1c3db3732dce16

Contents?: true

Size: 959 Bytes

Versions: 2

Compression:

Stored size: 959 Bytes

Contents

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

        # output methods
        def to_latex
          "\\nVtwoheadrightarrow"
        end

        def to_asciimath
          parsing_wrapper("nVtwoheadrightarrow")
        end

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

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

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

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