Sha256: 762e2fcbb0bc163ee9d67d6a9b99bca24aa30ff85c6d7dd2f4f2e3e716a5905b

Contents?: true

Size: 938 Bytes

Versions: 7

Compression:

Stored size: 938 Bytes

Contents

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

        # output methods
        def to_latex
          "\\nvLeftrightarrow"
        end

        def to_asciimath
          parsing_wrapper("nvLeftrightarrow")
        end

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

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

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

        def to_html
          "&#x2904;"
        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/nvleftrightarrow.rb
plurimath-0.8.9 lib/plurimath/math/symbols/nvleftrightarrow.rb
plurimath-0.8.8 lib/plurimath/math/symbols/nvleftrightarrow.rb
plurimath-0.8.7 lib/plurimath/math/symbols/nvleftrightarrow.rb
plurimath-0.8.6 lib/plurimath/math/symbols/nvleftrightarrow.rb
plurimath-0.8.5 lib/plurimath/math/symbols/nvleftrightarrow.rb
plurimath-0.8.4 lib/plurimath/math/symbols/nvleftrightarrow.rb