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