Sha256: a0a741b23fc9cfe66301a64a50b54385f16304b2002226f0ced4de1e91c6e3b0

Contents?: true

Size: 860 Bytes

Versions: 7

Compression:

Stored size: 860 Bytes

Contents

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

        # output methods
        def to_latex
          "\\lat"
        end

        def to_asciimath
          parsing_wrapper("lat")
        end

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

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

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

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