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