Skip to content
Snippets Groups Projects
Commit 28fb5d41 authored by Jan Wille's avatar Jan Wille
Browse files

disable draft for `scrlayer-scrpage` to disable layercontentsrulers

parent 0c372ecb
No related branches found
No related tags found
No related merge requests found
......@@ -17,7 +17,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[2022-06-01]
\ProvidesClass{HsH-article}
[2024-07-21 3.03 HsH-class based on KOMA]
[2024-08-10 3.03.dev0 HsH-class based on KOMA]
\let\HsHClassName\@currname
\def\HsHClassName@ParrentClass{%
scrartcl%
......@@ -426,7 +426,7 @@
}
\upsubscripts
\raggedbottom
\let\layercontentsmeasure\relax
\PassOptionsToPackage{draft=false}{scrlayer-scrpage}
\RequirePackage{scrlayer-scrpage}
\FamilyOptions{KOMA}{headsepline,singlespacing=true}
\newpagestyle{HsHheadings}{
......
......@@ -74,7 +74,7 @@ http://www.latex-project.org/lppl.txt
%<report>\ProvidesClass{HsH-report}
%<standalone>\ProvidesClass{HsH-standalone}
%<*article|report|standalone>
[2024-07-21 3.03.dev0 HsH-class based on KOMA]
[2024-08-10 3.03.dev0 HsH-class based on KOMA]
%</article|report|standalone>
%<*driver> ^^A ---------- documentation driver -----------------------------------------
\documentclass{ltxdoc}
......@@ -1496,12 +1496,6 @@ http://www.latex-project.org/lppl.txt
\raggedbottom
% \end{macrocode}
%
% The ruler shown in the top and left margin with the \opt{draft} option is
% removed.
% \begin{macrocode}
\let\layercontentsmeasure\relax
% \end{macrocode}
%
% \subsubsection{Header and footer}
%
% \begin{macrocode}
......@@ -1509,8 +1503,10 @@ http://www.latex-project.org/lppl.txt
% \end{macrocode}
%
% The header and footer are styled using the low-level commands provided by the
% \KOMAScript{} package \pkg{scrlayer-scrpage}.
% \KOMAScript{} package \pkg{scrlayer-scrpage}. We also disable the \opt{draft}
% option for this package as it produces ruler in the heading which we don't need.
% \begin{macrocode}
\PassOptionsToPackage{draft=false}{scrlayer-scrpage}
\RequirePackage{scrlayer-scrpage}
\FamilyOptions{KOMA}{headsepline,singlespacing=true}
% \end{macrocode}
......
No preview for this file type
......@@ -17,7 +17,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[2022-06-01]
\ProvidesClass{HsH-report}
[2024-07-21 3.03 HsH-class based on KOMA]
[2024-08-10 3.03.dev0 HsH-class based on KOMA]
\let\HsHClassName\@currname
\def\HsHClassName@ParrentClass{%
scrreprt%
......@@ -439,7 +439,7 @@
}
\upsubscripts
\raggedbottom
\let\layercontentsmeasure\relax
\PassOptionsToPackage{draft=false}{scrlayer-scrpage}
\RequirePackage{scrlayer-scrpage}
\FamilyOptions{KOMA}{headsepline,singlespacing=true}
\newpagestyle{HsHheadings}{
......
......@@ -17,7 +17,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[2022-06-01]
\ProvidesClass{HsH-standalone}
[2024-07-21 3.03 HsH-class based on KOMA]
[2024-08-10 3.03.dev0 HsH-class based on KOMA]
\let\HsHClassName\@currname
\def\HsHClassName@ParrentClass{%
standalone%
......@@ -223,7 +223,6 @@
\renewcommand{\labelitemiv}{\raisebox{-.1ex}{\scalebox{1.3}{$\cdot$}}}
\upsubscripts
\raggedbottom
\let\layercontentsmeasure\relax
\newcaptionname{english}\professorname{Professor}
\newcaptionname{german,ngerman}\professorname{Professor(in)/Lehrbeauftragte(r)}
\newcaptionname{english}\firstexaminername{First examiner}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment