Latex README
Latex is a ruby library and contains LaTeX text generation support for Ruby.
Its main class LatexFile contains:
- support for the subfigure environment => LatexFile.figures
- complex tables with nested headers and subheaders => LatexFile.table
- the method LatexFile.puts indents the given lines according to begin...end
blocks.
The directory examples/ contains a demonstration of the table
features.
Requirements
* Ruby 1.8
Install
De-compress archive and enter its top directory.
Then type:
($ su)
# ruby setup.rb
This simple step installs this program under the default
location of Ruby libraries. You can also install files into
your favorite directory by setup.rb some .
Try "ruby setup.rb --help".
Alternatively you can use the remote installer RubyGems
[http://rubygems.rubyforge.org/] for installation. Having RubyGems installed
on your system, just type:
($ su)
# gem install latex --remote
Usage
In order to get an overview of the features you can generate
the RDoc documentation and have a look at the examples/ directory.
License
Ruby License
Christian Bang, cbang AT web.de