Sha256: 3fcb537faf7053262f2d9bd0ee90d0fd2e859158bf3b7fe687c347aaf24451cd

Contents?: true

Size: 917 Bytes

Versions: 2

Compression:

Stored size: 917 Bytes

Contents

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

        # output methods
        def to_latex
          "\\fdiagovrdiag"
        end

        def to_asciimath
          parsing_wrapper("fdiagovrdiag")
        end

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

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

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

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