Sha256: 6e3709b90d3baa1b70896de7f2fabea068f1ce8b035fdb052cfecc3cc4749538

Contents?: true

Size: 905 Bytes

Versions: 2

Compression:

Stored size: 905 Bytes

Contents

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

        # output methods
        def to_latex
          "\\lparenuend"
        end

        def to_asciimath
          parsing_wrapper("lparenuend")
        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.12 lib/plurimath/math/symbols/lparenuend.rb
plurimath-0.8.11 lib/plurimath/math/symbols/lparenuend.rb