Sha256: 76a6ee98d83bbd49b560d800caf62c1ba281e6be2eb736492d7b4b2574aa33ad

Contents?: true

Size: 929 Bytes

Versions: 2

Compression:

Stored size: 929 Bytes

Contents

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

        # output methods
        def to_latex
          "\\vbraceextender"
        end

        def to_asciimath
          parsing_wrapper("vbraceextender")
        end

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

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

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

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