tud-cd / tudscr

TUD-Script
Other
106 stars 23 forks source link

default pagestyle changed from empty(?) to headings #63

Open baloe opened 3 years ago

baloe commented 3 years ago

I noticed that the default pagestyle for tudscrartcl is now headings, while it used to be something like empty. Was that done intentionally? Because I couldn't find any note about this in the documentation.

So I guess I need to add \pagestyle{empty} to a bunch of documents now.

\documentclass{scrarticle}
\begin{document}
    \section{Test}
\end{document}

produces no page heading.

\documentclass[cdfont=heavy, cdfont=normalbold, cdmath=off, twoside=off, fontsize=10pt]{tudscrartcl}
\begin{document}
    \section{Test}
\end{document}

produces no page heading with v2.06j but prints the section title in the heading with v2.06l.

\documentclass[cdfont=heavy, cdfont=normalbold, cdmath=off, twoside=off, fontsize=10pt]{tudscrartcl}
\begin{document}
    \pagestyle{empty}
    \section{Test}
\end{document}

produces the desired output without heading when using v2.06l.

mrpiggi commented 3 years ago

This was introduced with 6df3265a667981d57e0f87b3a2fb3ce1e3b0f06c as the former behavior was non-deterministic, see #59. In order to suppress automatic marks, you should use:

\documentclass{tudscrartcl}
\usepackage[manualmark]{scrlayer-scrpage}
\begin{document}
  \section{Test}
\end{document}

I have to think about it, whether this should be the default setting for tudscrartcl or not.