How can I set the header and footer for pages as in the picture below:
- On the top – title of the document and horizontal line below it.
- On the bottom – author's name and title of subsection on the left side and page numbering on the right, with horizontal line above.
Best Answer
Here's an example using the
scrpage2
package from the KOMA-Script bundle.EDIT: Used the
\automark
command in order to display section headings.