Sha256: ee163ce0beef007c4d23b2e8ef5055696615b9a3867389dc6ce0fecc3500c959

Contents?: true

Size: 909 Bytes

Versions: 9

Compression:

Stored size: 909 Bytes

Contents

module Plurimath
  module Math
    module Symbols
      class Ll < Symbol
        INPUT = {
          unicodemath: ["ll", "&#x226a;", parsing_wrapper(["mlt"], lang: :unicode)],
          asciimath: ["&#x226a;", "ll", "mlt"],
          mathml: ["&#x226a;"],
          latex: ["ll", "&#x226a;", parsing_wrapper(["mlt"], lang: :latex)],
          omml: ["&#x226a;"],
          html: ["&#x226a;"],
        }.freeze

        # output methods
        def to_latex(**)
          "\\ll"
        end

        def to_asciimath(**)
          "ll"
        end

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

        def to_mathml_without_math_tag(_, **)
          ox_element("mi") << "&#x226a;"
        end

        def to_omml_without_math_tag(_, **)
          "&#x226a;"
        end

        def to_html(**)
          "&#x226a;"
        end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
plurimath-0.8.26 lib/plurimath/math/symbols/ll.rb
plurimath-0.8.25 lib/plurimath/math/symbols/ll.rb
plurimath-0.8.24 lib/plurimath/math/symbols/ll.rb
plurimath-0.8.23 lib/plurimath/math/symbols/ll.rb
plurimath-0.8.22 lib/plurimath/math/symbols/ll.rb
plurimath-0.8.21 lib/plurimath/math/symbols/ll.rb
plurimath-0.8.20 lib/plurimath/math/symbols/ll.rb
plurimath-0.8.19 lib/plurimath/math/symbols/ll.rb
plurimath-0.8.18 lib/plurimath/math/symbols/ll.rb