Sha256: 8694a11f8e677872f7c04d03b1b5c387a06561b76d49f92190ed0840a3392f9b

Contents?: true

Size: 860 Bytes

Versions: 7

Compression:

Stored size: 860 Bytes

Contents

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

        # output methods
        def to_latex
          "\\Lsh"
        end

        def to_asciimath
          parsing_wrapper("Lsh")
        end

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

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

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

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