Sha256: aaaa8ae0b6193d055a40477c341b931811f840b30922dd65b1680656c1e1776c

Contents?: true

Size: 890 Bytes

Versions: 7

Compression:

Stored size: 890 Bytes

Contents

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

        # output methods
        def to_latex
          "\\lrcorner"
        end

        def to_asciimath
          parsing_wrapper("lrcorner")
        end

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

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

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

        def to_html
          "&#x231f;"
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
plurimath-0.8.10 lib/plurimath/math/symbols/lrcorner.rb
plurimath-0.8.9 lib/plurimath/math/symbols/lrcorner.rb
plurimath-0.8.8 lib/plurimath/math/symbols/lrcorner.rb
plurimath-0.8.7 lib/plurimath/math/symbols/lrcorner.rb
plurimath-0.8.6 lib/plurimath/math/symbols/lrcorner.rb
plurimath-0.8.5 lib/plurimath/math/symbols/lrcorner.rb
plurimath-0.8.4 lib/plurimath/math/symbols/lrcorner.rb