Sha256: 2782ece9f5afc9e7f317e6dd46ca142875639674862b85fef813b907f9cf1bfb

Contents?: true

Size: 905 Bytes

Versions: 2

Compression:

Stored size: 905 Bytes

Contents

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

        # output methods
        def to_latex
          "\\rightimply"
        end

        def to_asciimath
          parsing_wrapper("rightimply")
        end

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

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

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

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