Sha256: 7a86ff290a50f2667aa1a2eca1f043d9925730542fffaf12e012c5bca2053ae7

Contents?: true

Size: 911 Bytes

Versions: 2

Compression:

Stored size: 911 Bytes

Contents

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

        # output methods
        def to_latex
          "\\midbarwedge"
        end

        def to_asciimath
          parsing_wrapper("midbarwedge")
        end

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

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

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

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