I´m trying to setup a template for a technical report.
Here the Text I´ve written so far.
I´ve problems defining \titleformat using the packages
titlesec, titleps, titletoc
As far I´ve realised it´s pretty importent to put in the comands in the right order. Is there any general Guide in how to put in comands in the rigth order?
Is it usually common to write the Layout information in a seperate file? how should this file look like, how to reference to it in my main document?
That´s are a lot of question probably you can refer a good tutorial?
Thanks a lot and
best regards Christoph
Code: Select all
\documentclass[
paper = a4,
fontsize = 12pt,
]{report}
\usepackage[
inner=2cm,
outer=1cm,
top=3cm,
% includehead,
bottom=2cm,
% includefoot
% includeheadfoot,
]{geometry}
\usepackage{lastpage}
\usepackage[
headsepline,
footsepline,
]{scrlayer-scrpage}
\pagestyle{scrheadings}
\clearscrheadfoot
\chead{
Erste Kopfzeile Projekttitel \\
nähere Beschreibung \\
\textbf{Art des Projekts}
}
\ifoot{Auftragsnummer}
\ofoot{
Seiten \pagemark von \pageref{LastPage}
}
\usepackage{titlesec}
\usepackage{titleps}
\usepackage{titletoc}
\titleformat{\section}[frame]{\itshape}
\begin{document}
\section{Allgemeine Angaben}
Small is beautiful.
\subsection{Konsensinhaber}
dfsfsadf
\end{document}