Sha256: 62d1847938bb12cc2166f0f81ea5b1e9da491e119143948ac9a8255efb93cd3d

Contents?: true

Size: 941 Bytes

Versions: 2

Compression:

Stored size: 941 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

2 entries across 2 versions & 1 rubygems

Version Path
plurimath-0.8.12 lib/plurimath/math/symbols/nvleftrightarrow.rb
plurimath-0.8.11 lib/plurimath/math/symbols/nvleftrightarrow.rb