Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

default koma pagestyle headings #59

Closed
timhae opened this issue Mar 28, 2021 · 1 comment
Closed

default koma pagestyle headings #59

timhae opened this issue Mar 28, 2021 · 1 comment

Comments

@timhae
Copy link

timhae commented Mar 28, 2021

Many thanks for creating this package, it is very helpful! However, I have encountered one issue, that I am unable to solve: I would like to set the default pagestyle to headings like in the default koma classes. Here is a MWE:

\documentclass{tudscrreprt}
\pagestyle{headings}
\usepackage{blindtext}
\begin{document}
\blinddocument
\end{document}

changing tudscrreprt to scrreprt produces the desired headlines but takes away all the nice things of this package :( any idea how I could solve this? Changing headings to scrheadings was mentioned in the documentation somewhere but does not do what I want.

@mrpiggi
Copy link
Member

mrpiggi commented Mar 29, 2021

The TUD-Script classes are using scrlayer-scrpage. Apparently, this does not work well with \pagestyle{headings} (https://sourceforge.net/p/koma-script/tickets/4/). This workaround should help

\documentclass{tudscrreprt}
\usepackage[automark]{scrlayer-scrpage}
\pagestyle{headings}
\usepackage{blindtext}
\begin{document}
\blinddocument
\blinddocument
\end{document}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants