Sha256: 9483d9f1126ad0abc8a15fe55ae4009c2258768e1cff6f9c1677bb6b9dc23ddb

Contents?: true

Size: 905 Bytes

Versions: 2

Compression:

Stored size: 905 Bytes

Contents

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

        # output methods
        def to_latex
          "\\turnediota"
        end

        def to_asciimath
          parsing_wrapper("turnediota")
        end

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

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

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

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