write-up pdf and tex