Sha256: cc99406becc79f1cfc052a23cd2a825af71fc39fb39c5c1de0e841dd8ff77119

Contents?: true

Size: 913 Bytes

Versions: 7

Compression:

Stored size: 913 Bytes

Contents

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

        # output methods
        def to_latex
          "\\nLeftrightarrow"
        end

        def to_asciimath
          parsing_wrapper("nLeftrightarrow")
        end

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

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

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

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