Sha256: 8775a126ebf2f9074bc68fbfe8cfb9889dc2600f1f56e3aa8dbb2054554836db
Contents?: true
Size: 970 Bytes
Versions: 2
Compression:
Stored size: 970 Bytes
Contents
module Plurimath module Math module Symbols class Therefore < Symbol INPUT = { unicodemath: [["therefore", "∴"], parsing_wrapper([":.", "wasytherefore"])], asciimath: [["therefore", ":.", "∴"], parsing_wrapper(["wasytherefore"])], mathml: ["∴"], latex: [["wasytherefore", "therefore", "∴"], parsing_wrapper([":."])], omml: ["∴"], html: ["∴"], }.freeze # output methods def to_latex "\\therefore" end def to_asciimath "therefore" 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/therefore.rb |
plurimath-0.8.11 | lib/plurimath/math/symbols/therefore.rb |