Sha256: 70b077fd94d806c1bd9bcf4db4787bb28e5e554749a3ac0d3f91ee9263ac9306

Contents?: true

Size: 875 Bytes

Versions: 2

Compression:

Stored size: 875 Bytes

Contents

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

        # output methods
        def to_latex
          "\\lescc"
        end

        def to_asciimath
          parsing_wrapper("lescc")
        end

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

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

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

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