Sha256: f26774f6b0877f4f10cc82af6a70f6f8a7d5ed8cbc942b50cb3b9f067548ba43

Contents?: true

Size: 929 Bytes

Versions: 2

Compression:

Stored size: 929 Bytes

Contents

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

        # output methods
        def to_latex
          "\\llparenthesis"
        end

        def to_asciimath
          parsing_wrapper("limg")
        end

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

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

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

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