Sha256: 6b1783f06ecba5419b22e2f50bc85df1cac5dc6cccdeb990cfbf517495c6eebf

Contents?: true

Size: 866 Bytes

Versions: 7

Compression:

Stored size: 866 Bytes

Contents

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

        # output methods
        def to_latex
          "\\late"
        end

        def to_asciimath
          parsing_wrapper("late")
        end

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

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

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

        def to_html
          "&#x2aad;"
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
plurimath-0.8.10 lib/plurimath/math/symbols/late.rb
plurimath-0.8.9 lib/plurimath/math/symbols/late.rb
plurimath-0.8.8 lib/plurimath/math/symbols/late.rb
plurimath-0.8.7 lib/plurimath/math/symbols/late.rb
plurimath-0.8.6 lib/plurimath/math/symbols/late.rb
plurimath-0.8.5 lib/plurimath/math/symbols/late.rb
plurimath-0.8.4 lib/plurimath/math/symbols/late.rb