Sha256: 128ada3f42d831277a7517d91bbc1b542ceb13817e7781c5d03f3f9a8f139d58

Contents?: true

Size: 877 Bytes

Versions: 2

Compression:

Stored size: 877 Bytes

Contents

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

        # output methods
        def to_latex
          "\\upKappa"
        end

        def to_asciimath
          parsing_wrapper("upKappa")
        end

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

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

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

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