Sha256: f250a16d4c4ca565d39a092e22b2e5dddaa5e2ab6f05f5821c19fda740636680

Contents?: true

Size: 917 Bytes

Versions: 2

Compression:

Stored size: 917 Bytes

Contents

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

        # output methods
        def to_latex
          "\\revangleubar"
        end

        def to_asciimath
          parsing_wrapper("revangleubar")
        end

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

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

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

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