Sha256: 335a8a1ce9d32ec8017df636f841f8890d4cf67df136153de75efacc9536e55e

Contents?: true

Size: 887 Bytes

Versions: 2

Compression:

Stored size: 887 Bytes

Contents

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

        # output methods
        def to_latex
          "\\revnmid"
        end

        def to_asciimath
          parsing_wrapper("revnmid")
        end

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

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

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

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