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