module Texstyles
Public Class Methods
categories()
click to toggle source
# File lib/texstyles.rb, line 14 def categories { 'generic' => "Default", 'physics' => "Physics & Astronomy", 'computers' => "CS/Engineering", 'bio' => "Life Sciences", 'geo' => "Earth Sciences", 'other' => "Misc", 'grants' => "Grant Proposals", 'thesis' => "University Thesis" } end
list()
click to toggle source
# File lib/texstyles.rb, line 10 def list Dir.glob(File.join(@@root, 'styles', "*.tex.erb")).map{|path| File.basename(path,'.tex.erb')}.sort end
root()
click to toggle source
# File lib/texstyles.rb, line 6 def root @@root end