Sha256: 205b1535c885432d6fe8ea992fcf67880a0f447050ea5fa4b6eec5cf762c579a

Contents?: true

Size: 929 Bytes

Versions: 2

Compression:

Stored size: 929 Bytes

Contents

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

        # output methods
        def to_latex
          "\\fdiagovnearrow"
        end

        def to_asciimath
          parsing_wrapper("fdiagovnearrow")
        end

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

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

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

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