Skip to content

long-long-float/ratex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Stars

Watchers

Forks

Packages

No packages published

Languages