add a latex template that pandoc can use; fix template to not scale images