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 @@ ...@@ -17,7 +17,7 @@
%% %%
\NeedsTeXFormat{LaTeX2e}[2022-06-01] \NeedsTeXFormat{LaTeX2e}[2022-06-01]
\ProvidesClass{HsH-article} \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 \let\HsHClassName\@currname
\def\HsHClassName@ParrentClass{% \def\HsHClassName@ParrentClass{%
scrartcl% scrartcl%
...@@ -426,7 +426,7 @@ ...@@ -426,7 +426,7 @@
} }
\upsubscripts \upsubscripts
\raggedbottom \raggedbottom
\let\layercontentsmeasure\relax \PassOptionsToPackage{draft=false}{scrlayer-scrpage}
\RequirePackage{scrlayer-scrpage} \RequirePackage{scrlayer-scrpage}
\FamilyOptions{KOMA}{headsepline,singlespacing=true} \FamilyOptions{KOMA}{headsepline,singlespacing=true}
\newpagestyle{HsHheadings}{ \newpagestyle{HsHheadings}{
......
...@@ -74,7 +74,7 @@ http://www.latex-project.org/lppl.txt ...@@ -74,7 +74,7 @@ http://www.latex-project.org/lppl.txt
%<report>\ProvidesClass{HsH-report} %<report>\ProvidesClass{HsH-report}
%<standalone>\ProvidesClass{HsH-standalone} %<standalone>\ProvidesClass{HsH-standalone}
%<*article|report|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> %</article|report|standalone>
%<*driver> ^^A ---------- documentation driver ----------------------------------------- %<*driver> ^^A ---------- documentation driver -----------------------------------------
\documentclass{ltxdoc} \documentclass{ltxdoc}
...@@ -1496,12 +1496,6 @@ http://www.latex-project.org/lppl.txt ...@@ -1496,12 +1496,6 @@ http://www.latex-project.org/lppl.txt
\raggedbottom \raggedbottom
% \end{macrocode} % \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} % \subsubsection{Header and footer}
% %
% \begin{macrocode} % \begin{macrocode}
...@@ -1509,8 +1503,10 @@ http://www.latex-project.org/lppl.txt ...@@ -1509,8 +1503,10 @@ http://www.latex-project.org/lppl.txt
% \end{macrocode} % \end{macrocode}
% %
% The header and footer are styled using the low-level commands provided by the % 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} % \begin{macrocode}
\PassOptionsToPackage{draft=false}{scrlayer-scrpage}
\RequirePackage{scrlayer-scrpage} \RequirePackage{scrlayer-scrpage}
\FamilyOptions{KOMA}{headsepline,singlespacing=true} \FamilyOptions{KOMA}{headsepline,singlespacing=true}
% \end{macrocode} % \end{macrocode}
......
No preview for this file type
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
%% %%
\NeedsTeXFormat{LaTeX2e}[2022-06-01] \NeedsTeXFormat{LaTeX2e}[2022-06-01]
\ProvidesClass{HsH-report} \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 \let\HsHClassName\@currname
\def\HsHClassName@ParrentClass{% \def\HsHClassName@ParrentClass{%
scrreprt% scrreprt%
...@@ -439,7 +439,7 @@ ...@@ -439,7 +439,7 @@
} }
\upsubscripts \upsubscripts
\raggedbottom \raggedbottom
\let\layercontentsmeasure\relax \PassOptionsToPackage{draft=false}{scrlayer-scrpage}
\RequirePackage{scrlayer-scrpage} \RequirePackage{scrlayer-scrpage}
\FamilyOptions{KOMA}{headsepline,singlespacing=true} \FamilyOptions{KOMA}{headsepline,singlespacing=true}
\newpagestyle{HsHheadings}{ \newpagestyle{HsHheadings}{
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
%% %%
\NeedsTeXFormat{LaTeX2e}[2022-06-01] \NeedsTeXFormat{LaTeX2e}[2022-06-01]
\ProvidesClass{HsH-standalone} \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 \let\HsHClassName\@currname
\def\HsHClassName@ParrentClass{% \def\HsHClassName@ParrentClass{%
standalone% standalone%
...@@ -223,7 +223,6 @@ ...@@ -223,7 +223,6 @@
\renewcommand{\labelitemiv}{\raisebox{-.1ex}{\scalebox{1.3}{$\cdot$}}} \renewcommand{\labelitemiv}{\raisebox{-.1ex}{\scalebox{1.3}{$\cdot$}}}
\upsubscripts \upsubscripts
\raggedbottom \raggedbottom
\let\layercontentsmeasure\relax
\newcaptionname{english}\professorname{Professor} \newcaptionname{english}\professorname{Professor}
\newcaptionname{german,ngerman}\professorname{Professor(in)/Lehrbeauftragte(r)} \newcaptionname{german,ngerman}\professorname{Professor(in)/Lehrbeauftragte(r)}
\newcaptionname{english}\firstexaminername{First examiner} \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