0.0.4 • Published 10 years ago

texinit v0.0.4

Weekly downloads
2
License
MIT
Repository
github
Last release
10 years ago

texinit

A simple command line node script to initialise a .tex file

  npm install -g texinit

Config

These values will be used as default unless flag set

$EDITOR /usr/local/lib/node_modules/texinit/config.json

  {
  	"author": "Default User",
  	"fontsize": "10",
  	"title": "unentitled"
  }

Flags

  -t ==> filename & title
  -a ==> author
  -f ==> font size

Examples

  texinit -t 'test' -a 'some user' -f 15
  test.tex

  \documentclass[15pt]{article}
  \begin{document}  
  \author{some user}
  \title{test}
  \end{document}

  texinit
  unentitled.tex

  \documentclass[config.fontsize]{article}
  \begin{document}  
  \author{config.author}
  \title{config.title}
  \end{document}
0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago