Sha256: c2b94bd7d9cc494e67be6cd56e7c350c46047c644c3c28d1915a22c465270fb5

Contents?: true

Size: 905 Bytes

Versions: 2

Compression:

Stored size: 905 Bytes

Contents

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

        # output methods
        def to_latex
          "\\lbrackubar"
        end

        def to_asciimath
          parsing_wrapper("lbrackubar")
        end

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

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

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

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