Sha256: da5849afba2a6c402285963ea90c00b7d2d416bc80785a0a9f41a7a1e65c21c7

Contents?: true

Size: 859 Bytes

Versions: 2

Compression:

Stored size: 859 Bytes

Contents

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

        # output methods
        def to_latex
          "\\upNu"
        end

        def to_asciimath
          parsing_wrapper("upNu")
        end

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

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

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

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