Sha256: eda5956686aa01fb08af3bc2a41fdf7ed48b7d981771f4e50f46aee706065cd2

Contents?: true

Size: 884 Bytes

Versions: 7

Compression:

Stored size: 884 Bytes

Contents

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

        # output methods
        def to_latex
          "\\lesdoto"
        end

        def to_asciimath
          parsing_wrapper("lesdoto")
        end

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

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

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

        def to_html
          "&#x2a81;"
        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/lesdoto.rb
plurimath-0.8.9 lib/plurimath/math/symbols/lesdoto.rb
plurimath-0.8.8 lib/plurimath/math/symbols/lesdoto.rb
plurimath-0.8.7 lib/plurimath/math/symbols/lesdoto.rb
plurimath-0.8.6 lib/plurimath/math/symbols/lesdoto.rb
plurimath-0.8.5 lib/plurimath/math/symbols/lesdoto.rb
plurimath-0.8.4 lib/plurimath/math/symbols/lesdoto.rb