Sha256: 92c795b8aace97ce5e6a06ac84cc7e0b7446cd6f5e4a296cb7501f625db563c1

Contents?: true

Size: 1.01 KB

Versions: 10

Compression:

Stored size: 1.01 KB

Contents

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

        # output methods
        def to_latex(**)
          "\\nVtwoheadrightarrow"
        end

        def to_asciimath(**)
          parsing_wrapper("nVtwoheadrightarrow", lang: :asciimath)
        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

10 entries across 10 versions & 1 rubygems

Version Path
plurimath-0.8.24 lib/plurimath/math/symbols/nvtwoheadrightarrow.rb
plurimath-0.8.23 lib/plurimath/math/symbols/nvtwoheadrightarrow.rb
plurimath-0.8.22 lib/plurimath/math/symbols/nvtwoheadrightarrow.rb
plurimath-0.8.21 lib/plurimath/math/symbols/nvtwoheadrightarrow.rb
plurimath-0.8.20 lib/plurimath/math/symbols/nvtwoheadrightarrow.rb
plurimath-0.8.19 lib/plurimath/math/symbols/nvtwoheadrightarrow.rb
plurimath-0.8.18 lib/plurimath/math/symbols/nvtwoheadrightarrow.rb
plurimath-0.8.17 lib/plurimath/math/symbols/nvtwoheadrightarrow.rb
plurimath-0.8.16 lib/plurimath/math/symbols/nvtwoheadrightarrow.rb
plurimath-0.8.15 lib/plurimath/math/symbols/nvtwoheadrightarrow.rb