Sha256: cb2e46f4a7bdfb496b681eaa87f4f2c376e39746ad1f17b4c269e6267fe40654
Contents?: true
Size: 1.35 KB
Versions: 2
Compression:
Stored size: 1.35 KB
Contents
module Plurimath module Math module Symbols class Paren class Norm < Paren INPUT = { unicodemath: [["\\Vert", "Vert", "norm", "‖"]], asciimath: [["‖"], parsing_wrapper(["Vert", "norm"])], mathml: ["‖"], latex: [["\\Vert", "‖"], parsing_wrapper(["norm"])], omml: ["‖"], html: ["‖"], }.freeze # output methods def to_latex "\\Vert" end def to_asciimath "norm" end def to_unicodemath encoded end def to_mathml_without_math_tag(_) ox_element("mi") << encoded end def to_omml_without_math_tag(_) "‖" end def to_html "‖" end def open? true end def close? false end def closing Norm end def opening Norm end def to_matrices "\\Vert" end def paren_value encoded end private def encoded Utility.html_entity_to_unicode("‖") end 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/paren/norm.rb |
plurimath-0.8.11 | lib/plurimath/math/symbols/paren/norm.rb |