Sha256: be19335b325963237772a62f2c4f6aa6309515181a845cc09ebcfd3d56252acf

Contents?: true

Size: 893 Bytes

Versions: 2

Compression:

Stored size: 893 Bytes

Contents

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

        # output methods
        def to_latex
          "\\Lvzigzag"
        end

        def to_asciimath
          parsing_wrapper("Lvzigzag")
        end

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

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

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

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