This LaTeX template was initially created for my diploma thesis at HTL Spengergasse. Due to the good feedback from my teachers and other colleagues, I decided to make it publicly available.
If you use LaTeX inside of a Git repository, it is recommended to add this repository as a Git submodule:
git submodule add https://github.com/lukasl-dev/elegantexYou can use it manually by creating a elegantex directory and move the elegantex.cls file into it:
> tree
.
├── elegantex
│ └── elegantex.cls
└── main.tex
2 directories, 2 filesYou probably want to go for the manual approach when you want to customise the template.
This template can be used as document class inside of your .tex file:
\documentclass{elegantex/elegantex}After declaring the document class, you can define the following parameters:
\title{EleganTeX} % required
\subtitle{Template} % optional
\author{Lukas Leeb} % optional
\slogan{A LaTeX class for elegant articles} % optional
\logo{logo_transparent.png} % optionalThe regular \maketitle LaTeX command is overriden by the template. You can use it inside of your document body:
\begin{document}
\maketitle
\section{History}
A brief history of time...
\end{document}\documentclass{elegantex/elegantex}
\title{EleganTeX} % required
\subtitle{Template} % optional
\author{Lukas Leeb} % optional
\slogan{A LaTeX class for elegant articles} % optional
\logo{logo_transparent.png} % optional
\begin{document}
\maketitle
\tableofcontents
\newpage
\section{Introduction}
Some introduction text...
\end{document}