Sha256: 8fa42f3b0b88992d5270189d2094dfd2aaad720a7b89fe4eaca69794c48a0aeb

Contents?: true

Size: 905 Bytes

Versions: 2

Compression:

Stored size: 905 Bytes

Contents

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

        # output methods
        def to_latex
          "\\conictaper"
        end

        def to_asciimath
          parsing_wrapper("conictaper")
        end

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

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

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

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