Added latex template stuff
Added work for bibtex example