Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 

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

About

You can write TeX in Ruby!

Resources

License

Languages

You can’t perform that action at this time.