Class: Plurimath::Math::Symbols::Paren::Vert
- Inherits:
-
Paren
- Object
- Paren
- Plurimath::Math::Symbols::Paren::Vert
- Defined in:
- lib/plurimath/math/symbols/paren/vert.rb
Constant Summary collapse
- INPUT =
{ unicodemath: [["\\vert", "|", "|"], parsing_wrapper(["|"], lang: :unicode)], asciimath: [["|", "|"], parsing_wrapper(["vert"], lang: :asciimath)], mathml: ["|", "|"], latex: [["\\vert", "|", "|"]], omml: ["|", "|"], html: ["|", "|"], }.freeze
Instance Method Summary collapse
- #close? ⇒ Boolean
- #closing ⇒ Object
- #open? ⇒ Boolean
- #opening ⇒ Object
- #paren_value ⇒ Object
- #to_asciimath ⇒ Object
- #to_html ⇒ Object
-
#to_latex ⇒ Object
output methods.
- #to_mathml_without_math_tag(_) ⇒ Object
- #to_matrices ⇒ Object
- #to_omml_without_math_tag(_) ⇒ Object
- #to_unicodemath ⇒ Object
Instance Method Details
#close? ⇒ Boolean
46 47 48 |
# File 'lib/plurimath/math/symbols/paren/vert.rb', line 46 def close? true end |
#closing ⇒ Object
54 55 56 |
# File 'lib/plurimath/math/symbols/paren/vert.rb', line 54 def closing Vert end |
#open? ⇒ Boolean
42 43 44 |
# File 'lib/plurimath/math/symbols/paren/vert.rb', line 42 def open? true end |
#opening ⇒ Object
50 51 52 |
# File 'lib/plurimath/math/symbols/paren/vert.rb', line 50 def opening Vert end |
#paren_value ⇒ Object
62 63 64 |
# File 'lib/plurimath/math/symbols/paren/vert.rb', line 62 def paren_value "|" end |
#to_asciimath ⇒ Object
22 23 24 |
# File 'lib/plurimath/math/symbols/paren/vert.rb', line 22 def to_asciimath(**) "|" end |
#to_html ⇒ Object
38 39 40 |
# File 'lib/plurimath/math/symbols/paren/vert.rb', line 38 def to_html(**) encoded end |
#to_latex ⇒ Object
output methods
18 19 20 |
# File 'lib/plurimath/math/symbols/paren/vert.rb', line 18 def to_latex(**) "|" end |
#to_mathml_without_math_tag(_) ⇒ Object
30 31 32 |
# File 'lib/plurimath/math/symbols/paren/vert.rb', line 30 def to_mathml_without_math_tag(_, **) ox_element("mo") << encoded end |
#to_matrices ⇒ Object
58 59 60 |
# File 'lib/plurimath/math/symbols/paren/vert.rb', line 58 def to_matrices "|" end |
#to_omml_without_math_tag(_) ⇒ Object
34 35 36 |
# File 'lib/plurimath/math/symbols/paren/vert.rb', line 34 def to_omml_without_math_tag(_, **) encoded end |
#to_unicodemath ⇒ Object
26 27 28 |
# File 'lib/plurimath/math/symbols/paren/vert.rb', line 26 def to_unicodemath(**) encoded end |