Sha256: 742c35bd1c6b17144d04434327002fc39887368334a4d0ce90c0a4efdb772994

Contents?: true

Size: 917 Bytes

Versions: 2

Compression:

Stored size: 917 Bytes

Contents

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

        # output methods
        def to_latex
          "\\lbrackultick"
        end

        def to_asciimath
          parsing_wrapper("lbrackultick")
        end

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

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

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

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