Sha256: df2a64a000a27ffe2bbcd2e944f2b5d580f1716e25e623649e7e905dd91f7e4d

Contents?: true

Size: 957 Bytes

Versions: 2

Compression:

Stored size: 957 Bytes

Contents

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

        # output methods
        def to_latex
          "\\lparenuend"
        end

        def to_asciimath
          parsing_wrapper("lparenuend", lang: :asciimath)
        end

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

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

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

        def to_html
          "&#x239b;"
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
plurimath-0.8.14 lib/plurimath/math/symbols/lparenuend.rb
plurimath-0.8.13 lib/plurimath/math/symbols/lparenuend.rb