Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 1.09 KB

README.md

File metadata and controls

27 lines (19 loc) · 1.09 KB

rlatex

rlatex is a ruby script for LaTeX scaffolding. It creates the directory and document hierarchy, keeping everything nice and tidy. Save time and efforts in creating LaTeX documents, use a good standard for every project.

v 1.0

Hooray! v 1.0 is out! Here below you can find its basic (and so far also complete) usage:

$ ruby rlatex.rb new --author "Edoardo Colombo" --title "My ruby latex manager" --sections my_fist_section/subsection1,subsection2 foo

The above command will produce the following:

  1. a file called main.tex with:
    • author set to Edoardo Colombo
    • title set to My ruby latex manager
  2. a folder named contents with inside a file named my_first_section.tex and a file named foo.tex
  3. a folder inside contents, named my_first_section for its subsections
  4. two files for the two subsections in my_first_section.tex, subsection1.tex and subsection2.tex

Other options are:

  • --language, set to english as default
  • --date, set to \today as default

The --sections option allows multiple values, but it cannot preceed the project name.