From ea08ac63b52bdb4356921efcc145582bc412ad9f Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Tue, 11 Jun 2024 08:16:26 +0200 Subject: feat(templates/latex): Name the `main.tex` file after the project This results in a reasonable name for the resulting PDF, instead of the generic `main.pdf`. --- templates/latex/%INIT_APPLICATION_NAME.tex | 44 ++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 templates/latex/%INIT_APPLICATION_NAME.tex (limited to 'templates/latex/%INIT_APPLICATION_NAME.tex') diff --git a/templates/latex/%INIT_APPLICATION_NAME.tex b/templates/latex/%INIT_APPLICATION_NAME.tex new file mode 100644 index 0000000..e7934fe --- /dev/null +++ b/templates/latex/%INIT_APPLICATION_NAME.tex @@ -0,0 +1,44 @@ +% LTeX: language=en-GB +%\documentclass[a4paper, 12pt, nosolutions]{report} +% \documentclass[a4paper, 12pt, onecolumn]{report} +\documentclass[a4paper, 12pt, twocolumn]{scrartcl} + +\input{headers/preamble.tex} +\input{headers/preamble_local.tex} + +\title{\textbf{%INIT_APPLICATION_NAME_STYLIZED}} +\author{%INIT_AUTHOR_NAME \\ +\href{mailto:%INIT_AUTHOR_EMAIL}{%INIT_AUTHOR_EMAIL}\\[1cm] +{\small Supervisor: TODO}} +\date{\DTMToday} + +% For the copyright section +\years{%INIT_YEAR} +\authors{%INIT_AUTHOR_NAME} + +\makeatletter +\hypersetup{ + pdftitle={\@title}, + pdfsubject={}, + pdfauthor={\@authors}, + pdfkeywords={TODO}, + colorlinks, + linkcolor={black}, + citecolor={black}, + urlcolor={blue!80!black} +} +\makeatother + + +\includeonly{} + +\begin{document} + \onecolumn + \input{content/static/title} + \twocolumn + + % NEXT_CHAPTER + + \clearpage{} + \printbibliography\relax +\end{document} -- cgit 1.4.1