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