added joey's necessary changes
fixed formatting of .tex files on OSX(?)