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