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