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