Class: Plurimath::Math::Symbols::Paren::Lceil
- Inherits:
-
Paren
- Object
- Paren
- Plurimath::Math::Symbols::Paren::Lceil
- Defined in:
- lib/plurimath/math/symbols/paren/lceil.rb
Constant Summary collapse
- INPUT =
{ unicodemath: [["⌈", "lceil"], parsing_wrapper(["lceiling", "|~"], lang: :unicode)], asciimath: [["lceiling", "|~", "⌈"], parsing_wrapper(["lceil"], lang: :asciimath)], mathml: ["⌈"], latex: [["\\lceil", "⌈"], parsing_wrapper(["lceiling", "|~"], lang: :latex)], omml: ["⌈"], html: ["⌈"], }.freeze
Instance Method Summary collapse
- #close? ⇒ Boolean
- #closing ⇒ Object
- #open? ⇒ Boolean
- #to_asciimath ⇒ Object
- #to_html ⇒ Object
-
#to_latex ⇒ Object
output methods.
- #to_mathml_without_math_tag(_) ⇒ Object
- #to_omml_without_math_tag(_) ⇒ Object
- #to_unicodemath ⇒ Object
Instance Method Details
#close? ⇒ Boolean
47 48 49 |
# File 'lib/plurimath/math/symbols/paren/lceil.rb', line 47 def close? false end |
#closing ⇒ Object
51 52 53 |
# File 'lib/plurimath/math/symbols/paren/lceil.rb', line 51 def closing Rceil end |
#open? ⇒ Boolean
43 44 45 |
# File 'lib/plurimath/math/symbols/paren/lceil.rb', line 43 def open? true end |
#to_asciimath ⇒ Object
23 24 25 |
# File 'lib/plurimath/math/symbols/paren/lceil.rb', line 23 def to_asciimath(**) "|~" end |
#to_html ⇒ Object
39 40 41 |
# File 'lib/plurimath/math/symbols/paren/lceil.rb', line 39 def to_html(**) "⌈" end |
#to_latex ⇒ Object
output methods
19 20 21 |
# File 'lib/plurimath/math/symbols/paren/lceil.rb', line 19 def to_latex(**) "\\lceil" end |
#to_mathml_without_math_tag(_) ⇒ Object
31 32 33 |
# File 'lib/plurimath/math/symbols/paren/lceil.rb', line 31 def to_mathml_without_math_tag(_, **) ox_element("mo") << encoded end |
#to_omml_without_math_tag(_) ⇒ Object
35 36 37 |
# File 'lib/plurimath/math/symbols/paren/lceil.rb', line 35 def to_omml_without_math_tag(_, **) "⌈" end |
#to_unicodemath ⇒ Object
27 28 29 |
# File 'lib/plurimath/math/symbols/paren/lceil.rb', line 27 def to_unicodemath(**) encoded end |