Sha256: 740764c2e93fa179d092e9c8b97630d8c875e000939ca3ca32777721872c226e

Contents?: true

Size: 963 Bytes

Versions: 12

Compression:

Stored size: 963 Bytes

Contents

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

        # output methods
        def to_latex(**)
          "\\obrbrak"
        end

        def to_asciimath(**)
          parsing_wrapper("obrbrak", lang: :asciimath)
        end

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

        def to_mathml_without_math_tag(_, **)
          ox_element("mi") << "&#x23e0;"
        end

        def to_omml_without_math_tag(_, **)
          "&#x23e0;"
        end

        def to_html(**)
          "&#x23e0;"
        end
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
plurimath-0.8.26 lib/plurimath/math/symbols/obrbrak.rb
plurimath-0.8.25 lib/plurimath/math/symbols/obrbrak.rb
plurimath-0.8.24 lib/plurimath/math/symbols/obrbrak.rb
plurimath-0.8.23 lib/plurimath/math/symbols/obrbrak.rb
plurimath-0.8.22 lib/plurimath/math/symbols/obrbrak.rb
plurimath-0.8.21 lib/plurimath/math/symbols/obrbrak.rb
plurimath-0.8.20 lib/plurimath/math/symbols/obrbrak.rb
plurimath-0.8.19 lib/plurimath/math/symbols/obrbrak.rb
plurimath-0.8.18 lib/plurimath/math/symbols/obrbrak.rb
plurimath-0.8.17 lib/plurimath/math/symbols/obrbrak.rb
plurimath-0.8.16 lib/plurimath/math/symbols/obrbrak.rb
plurimath-0.8.15 lib/plurimath/math/symbols/obrbrak.rb