Sha256: 933a22de2dc379d7714baa9973bd5cccbc37ea31a2ddeb211a9e49f6bc747538

Contents?: true

Size: 860 Bytes

Versions: 7

Compression:

Stored size: 860 Bytes

Contents

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

        # output methods
        def to_latex
          "\\lll"
        end

        def to_asciimath
          parsing_wrapper("lll")
        end

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

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

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

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