Added support for title, author and date configuration. Refactored calling LaTeX commands in the renderer.