Sha256: f699a773773a6a5424f7226f1e12a387a025ff3d3f64a8b1f48750cf8d3f45b0

Contents?: true

Size: 908 Bytes

Versions: 7

Compression:

Stored size: 908 Bytes

Contents

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

        # output methods
        def to_latex
          "\\nvLeftarrow"
        end

        def to_asciimath
          parsing_wrapper("nvLeftarrow")
        end

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

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

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

        def to_html
          "&#x2902;"
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
plurimath-0.8.10 lib/plurimath/math/symbols/nvleftarrow.rb
plurimath-0.8.9 lib/plurimath/math/symbols/nvleftarrow.rb
plurimath-0.8.8 lib/plurimath/math/symbols/nvleftarrow.rb
plurimath-0.8.7 lib/plurimath/math/symbols/nvleftarrow.rb
plurimath-0.8.6 lib/plurimath/math/symbols/nvleftarrow.rb
plurimath-0.8.5 lib/plurimath/math/symbols/nvleftarrow.rb
plurimath-0.8.4 lib/plurimath/math/symbols/nvleftarrow.rb