The idea is that the most common information that always should be available should be required by the document class so instead of writing
Code: Select all
\begin{document}
Projectname: X
Projectmanager: Y
\end{document}
Code: Select all
\projectname{X}
\projectmanager{Y}
\printProjectInfo
Code: Select all
\newcommand{\projectmanager}[1]{\renewcommand{\projectmanager}{#1}}
Lets say I want to have a list of all dependencies. I should preferably store them by doing something like
Code: Select all
\addDependency{Name}{Short Reason}
\addDependency{Name}{Short Reason}
\printDependencies
Does anyone know of a short tutorial or a book that shows how you can do something like this?