Sha256: 5194fdfca3db4d85e0bf8f1d8ba6a58e1afc897311d1cbb6a737db813f337d94
Contents?: true
Size: 987 Bytes
Versions: 2
Compression:
Stored size: 987 Bytes
Contents
module Plurimath module Math module Symbols class Dots < Symbol INPUT = { unicodemath: [["ldots", "...", "dots", "…"], parsing_wrapper(["unicodeellipsis"], lang: :unicode)], asciimath: [["ldots", "...", "…"], parsing_wrapper(["dots", "unicodeellipsis"], lang: :asciimath)], mathml: ["…"], latex: [["unicodeellipsis", "ldots", "…"], parsing_wrapper(["...", "dots"], lang: :latex)], omml: ["…"], html: ["…"], }.freeze # output methods def to_latex "\\ldots" end def to_asciimath "..." end def to_unicodemath "..." end def to_mathml_without_math_tag(_) ox_element("mo") << "…" end def to_omml_without_math_tag(_) "…" end def to_html "…" end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
plurimath-0.8.14 | lib/plurimath/math/symbols/dots.rb |
plurimath-0.8.13 | lib/plurimath/math/symbols/dots.rb |