Sha256: fde853c826e5eff4d06d4b01d5f53c5684349daacde82e2a409f42cef6d8b7e8

Contents?: true

Size: 890 Bytes

Versions: 7

Compression:

Stored size: 890 Bytes

Contents

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

        # output methods
        def to_latex
          "\\llcorner"
        end

        def to_asciimath
          parsing_wrapper("llcorner")
        end

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

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

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

        def to_html
          "&#x231e;"
        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/llcorner.rb
plurimath-0.8.9 lib/plurimath/math/symbols/llcorner.rb
plurimath-0.8.8 lib/plurimath/math/symbols/llcorner.rb
plurimath-0.8.7 lib/plurimath/math/symbols/llcorner.rb
plurimath-0.8.6 lib/plurimath/math/symbols/llcorner.rb
plurimath-0.8.5 lib/plurimath/math/symbols/llcorner.rb
plurimath-0.8.4 lib/plurimath/math/symbols/llcorner.rb