Sha256: 7a09cea8007d99780838765897176807e879b9aca74fa204a2f5c85c0a17e698

Contents?: true

Size: 923 Bytes

Versions: 2

Compression:

Stored size: 923 Bytes

Contents

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

        # output methods
        def to_latex
          "\\biginterleave"
        end

        def to_asciimath
          parsing_wrapper("biginterleave")
        end

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

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

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

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