Sha256: fb2ed7f667541ef12f4eafb75867c822cf98018de6ed37052d1c20f219e64781
Contents?: true
Size: 947 Bytes
Versions: 2
Compression:
Stored size: 947 Bytes
Contents
module Plurimath module Math module Symbols class Varcarriagereturn < Symbol INPUT = { unicodemath: [["⏎"], parsing_wrapper(["varcarriagereturn"])], asciimath: [["⏎"], parsing_wrapper(["varcarriagereturn"])], mathml: ["⏎"], latex: [["varcarriagereturn", "⏎"]], omml: ["⏎"], html: ["⏎"], }.freeze # output methods def to_latex "\\varcarriagereturn" end def to_asciimath parsing_wrapper("varcarriagereturn") end def to_unicodemath Utility.html_entity_to_unicode("⏎") end def to_mathml_without_math_tag(_) ox_element("mi") << "⏎" 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.12 | lib/plurimath/math/symbols/varcarriagereturn.rb |
plurimath-0.8.11 | lib/plurimath/math/symbols/varcarriagereturn.rb |