basic templating
latex attempt