Added citation support to latex templates