Sha256: 6f45c8fd99a8cd0d3d05e0d32a5e5423b6fdefb0aab0163e447b8603e1c3a072

Contents?: true

Size: 1.01 KB

Versions: 2

Compression:

Stored size: 1.01 KB

Contents

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

        # output methods
        def to_latex
          "\\concavediamondtickright"
        end

        def to_asciimath
          parsing_wrapper("concavediamondtickright", lang: :asciimath)
        end

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

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

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

        def to_html
          "&#x27e3;"
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
plurimath-0.8.14 lib/plurimath/math/symbols/concavediamondtickright.rb
plurimath-0.8.13 lib/plurimath/math/symbols/concavediamondtickright.rb