class Latex
Public Instance Methods
*(y)
click to toggle source
# File lib/annlat/LaRuby.rb, line 40 def *(y) Product.new(self, y) end
**(y)
click to toggle source
# File lib/annlat/LaRuby.rb, line 48 def **(y) Expon.new(self, y) end
+(y)
click to toggle source
# File lib/annlat/LaRuby.rb, line 28 def +(y) Sum.new(self, y) end
-(y)
click to toggle source
# File lib/annlat/LaRuby.rb, line 36 def -(y) Sum.new(self, -y) end
-@()
click to toggle source
# File lib/annlat/LaRuby.rb, line 32 def -@ kind_of? Negative ? expr : Negative.new(self) end
/(y)
click to toggle source
# File lib/annlat/LaRuby.rb, line 44 def /(y) Frac.new(self, y) end
glue(some_expr)
click to toggle source
# File lib/annlat/LaRuby.rb, line 52 def glue(some_expr) LatexConsec.new(self, some_expr) end
is(y)
click to toggle source
# File lib/annlat/LaRuby.rb, line 16 def is(y) LatexConsec.new(self, '=', y) end
latex()
click to toggle source
# File lib/annlat/LaRuby.rb, line 6 def latex "" end
my_json()
click to toggle source
# File lib/annlat/AnnLat.rb, line 146 def my_json latex end
ne(y)
click to toggle source
# File lib/annlat/LaRuby.rb, line 20 def ne(y) LatexConsec.new(self, '\ne ', y) end
of(*args)
click to toggle source
# File lib/annlat/LaRuby.rb, line 24 def of(*args) Func.new(self, *args) end
to_ltx()
click to toggle source
# File lib/annlat/LaRuby.rb, line 10 def to_ltx self end
Also aliased as: l
wrap()
click to toggle source
# File lib/annlat/LaRuby.rb, line 2 def wrap Wrapped.new(self) end