Sha256: 3249654a038dc4ac7122c8cc303572331549c173a7fd39455bbcfe3dafa97fe5

Contents?: true

Size: 893 Bytes

Versions: 2

Compression:

Stored size: 893 Bytes

Contents

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

        # output methods
        def to_latex
          "\\cirfnint"
        end

        def to_asciimath
          parsing_wrapper("cirfnint")
        end

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

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

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

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