Sha256: 15d527aaeb2a8554a66f913f3625553e880023540f8b0404075fd2c31cfc15ee

Contents?: true

Size: 860 Bytes

Versions: 2

Compression:

Stored size: 860 Bytes

Contents

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

        # output methods
        def to_latex
          "\\Xi"
        end

        def to_asciimath
          "Xi"
        end

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

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

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

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