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