Sha256: d039f2fddc9165cd70ff5a246f6ffcb4583ec7f1a51a7573c98358a895f61ecd

Contents?: true

Size: 887 Bytes

Versions: 2

Compression:

Stored size: 887 Bytes

Contents

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

        # output methods
        def to_latex
          "\\Lbrbrak"
        end

        def to_asciimath
          parsing_wrapper("Lbrbrak")
        end

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

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

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

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