Sha256: 97efda8dfee30ece4e8482a25e5730ad54a31cef58183ff9ef71ef9103279995

Contents?: true

Size: 949 Bytes

Versions: 2

Compression:

Stored size: 949 Bytes

Contents

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

        # output methods
        def to_latex
          "\\rightfishtail"
        end

        def to_asciimath
          parsing_wrapper("strictif")
        end

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

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

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

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