Sha256: 79ca70f7707359259f216ffbc46eb5e14aa93de0ae9e8ddbba33c87089e16fa0

Contents?: true

Size: 871 Bytes

Versions: 2

Compression:

Stored size: 871 Bytes

Contents

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

        # output methods
        def to_latex
          "\\upZeta"
        end

        def to_asciimath
          parsing_wrapper("upZeta")
        end

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

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

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

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