Sha256: 99f9122992fecf11f462368cf14005e4d1884818d1fee71b5277e26b2a66a412

Contents?: true

Size: 911 Bytes

Versions: 2

Compression:

Stored size: 911 Bytes

Contents

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

        # output methods
        def to_latex
          "\\multimapinv"
        end

        def to_asciimath
          parsing_wrapper("multimapinv")
        end

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

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

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

        def to_html
          "&#x27dc;"
        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/multimapinv.rb
plurimath-0.8.11 lib/plurimath/math/symbols/multimapinv.rb