I do like to have my sections formatted with a foregoing thick horizontal line, let's say color grey, thickness 2mm. It should appear about 2cm after the text of the last section ended. The section Name should appear as usual, in this case 1cm below my grey line. The line width should be textwidth exactly.
For the solution i expect something like
Code: Select all
...
\renewcommand{\section}{foregoing grey thick line}
...
\begin{document}
Here is the line!
\section{foo}
text
Here is the line!
\section{bar}
text
\end{document}
Code: Select all
\documentclass[a4paper,10pt]{scrreprt}
Thank you very much
Martin