You can write TeX in Ruby!
Ruby
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples
images
lib
.gitignore
Gemfile
LICENSE.txt
README.md
Rakefile
ratex.gemspec

README.md

Ratex

You can write TeX in Ruby!

Installation

Add this line to your application's Gemfile:

gem 'ratex'

And then execute:

$ bundle

Or install it yourself as:

$ gem install ratex

Usage

puts Ratex.generate{ f(x, y, t) == 2 * sin(pi / 4 * sqrt(x ** 2 + y ** 2) - pi / 2 * t) }

enter image description here

puts Ratex.generate{ f[n] == f[n - 2] + f[n - 1] }

enter image description here

puts Ratex.generate{ f(x, y) == sum(i == -1, h, a_i(x, y) * g_i(x, y)) }

enter image description here