Sha256: 40010a644c7b033b5e6ca1d20507234f35af38ba6785fd49708c14e04a680e17

Contents?: true

Size: 875 Bytes

Versions: 2

Compression:

Stored size: 875 Bytes

Contents

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

        # output methods
        def to_latex
          "\\llarc"
        end

        def to_asciimath
          parsing_wrapper("llarc")
        end

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

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

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

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