Sha256: 9779099a78a68290ced7202ddc0ed555ce3c814d3e00681ac9ad4109020d4ecd

Contents?: true

Size: 875 Bytes

Versions: 2

Compression:

Stored size: 875 Bytes

Contents

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

        # output methods
        def to_latex
          "\\lsime"
        end

        def to_asciimath
          parsing_wrapper("lsime")
        end

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

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

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

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