diff --git a/HsH-classes.dtx b/HsH-classes.dtx index 990f7688fa068923344dfc8d7952e59e685870c7..ac267ba848e8ab81bcbcf45397d4a0b71670551e 100644 --- a/HsH-classes.dtx +++ b/HsH-classes.dtx @@ -611,10 +611,12 @@ } }{} \@ifpackageloaded{listings}{ + \PassOptionsToPackage{svgnames}{xcolor} + \RequirePackage{xcolor} \lstset{ commentstyle=\color{gray}, - keywordstyle=\color{red}, - stringstyle=\color{blue}, + keywordstyle=\color{FireBrick}\bfseries, + stringstyle=\color{DodgerBlue}, showstringspaces=false, basicstyle=\ttfamily, tabsize=4, diff --git a/src/HsH-article.cls b/src/HsH-article.cls index f09c772dc87c09f9d19269c7a753f5edeb76c555..737cc98ce3c512c4c447d89b7e3bab3e7ea56ccf 100644 --- a/src/HsH-article.cls +++ b/src/HsH-article.cls @@ -5,25 +5,25 @@ %% The original source files were: %% %% HsH-classes.dtx (with options: `article') -%% +%% %% This is a generated file. -%% +%% %% Copyright (C) 2021 by Jan Wille <mail@janwille.de> -%% +%% %% This file may be distributed and/or modified under the conditions of %% the LaTeX Project Public License, either version 1.3 of this license %% or (at your option) any later version. The latest version of this %% license is in: -%% +%% %% http://www.latex-project.org/lppl.txt -%% +%% %% and version 1.3 or later is part of all distributions of LaTeX version %% 2021/01/01 or later. -%% -\typeout{Adapted from KOMA script for use in Hochschule Hannover <2021-04-21> Jan Wille} +%% +\typeout{Adapted from KOMA script for use in Hochschule Hannover <2021-10-24> Jan Wille} \NeedsTeXFormat{LaTeX2e} \newcommand{\myClassName}{HsH-article} -\ProvidesClass{\myClassName}[2021/04/21 v1.1 HsH-Class based on KOMA] +\ProvidesClass{\myClassName}[2021/10/24 v1.2 HsH-Class based on KOMA] %% commands for HsH-logo \newcommand{\HsHlogoPath}{HSH-Logo.pdf} @@ -154,6 +154,7 @@ %% custom commands \newcommand{\uproman}[1]{\uppercase\expandafter{\romannumeral#1}} \newcommand{\lowroman}[1]{\romannumeral#1\relax} + %% load config at beginning of document \AtBeginDocument{ \makeatletter diff --git a/src/HsH-report.cls b/src/HsH-report.cls index 9dc25bc48dde18967b361065646e314498b36004..91904ada0a39d4899628b39339e7d6bbb9b7447b 100644 --- a/src/HsH-report.cls +++ b/src/HsH-report.cls @@ -5,25 +5,25 @@ %% The original source files were: %% %% HsH-classes.dtx (with options: `report') -%% +%% %% This is a generated file. -%% +%% %% Copyright (C) 2021 by Jan Wille <mail@janwille.de> -%% +%% %% This file may be distributed and/or modified under the conditions of %% the LaTeX Project Public License, either version 1.3 of this license %% or (at your option) any later version. The latest version of this %% license is in: -%% +%% %% http://www.latex-project.org/lppl.txt -%% +%% %% and version 1.3 or later is part of all distributions of LaTeX version %% 2021/01/01 or later. -%% -\typeout{Adapted from KOMA script for use in Hochschule Hannover <2021-04-21> Jan Wille} +%% +\typeout{Adapted from KOMA script for use in Hochschule Hannover <2021-10-24> Jan Wille} \NeedsTeXFormat{LaTeX2e} \newcommand{\myClassName}{HsH-report} -\ProvidesClass{\myClassName}[2021/04/21 v1.1 HsH-Class based on KOMA] +\ProvidesClass{\myClassName}[2021/10/24 v1.2 HsH-Class based on KOMA] %% commands for HsH-logo \newcommand{\HsHlogoPath}{HSH-Logo.pdf} @@ -119,8 +119,8 @@ %% header and footer \pagestyle{scrheadings} \clearpairofpagestyles -\renewcommand*{\chapterpagestyle}{scrheadings} \automark{chapter} +\renewcommand*{\chapterpagestyle}{scrheadings} \ohead{\headmark} \ihead{\@title} \ofoot*{\pagemark} @@ -155,6 +155,7 @@ %% custom commands \newcommand{\uproman}[1]{\uppercase\expandafter{\romannumeral#1}} \newcommand{\lowroman}[1]{\romannumeral#1\relax} + %% load config at beginning of document \AtBeginDocument{ \makeatletter diff --git a/src/HsH-standalone.cls b/src/HsH-standalone.cls index d2c4e8c3ed55ff83023509a8ebeca1817a5970a1..dfe1ec2fad2908bd5f760905550b9e9cd908b391 100644 --- a/src/HsH-standalone.cls +++ b/src/HsH-standalone.cls @@ -5,25 +5,25 @@ %% The original source files were: %% %% HsH-classes.dtx (with options: `standalone') -%% +%% %% This is a generated file. -%% +%% %% Copyright (C) 2021 by Jan Wille <mail@janwille.de> -%% +%% %% This file may be distributed and/or modified under the conditions of %% the LaTeX Project Public License, either version 1.3 of this license %% or (at your option) any later version. The latest version of this %% license is in: -%% +%% %% http://www.latex-project.org/lppl.txt -%% +%% %% and version 1.3 or later is part of all distributions of LaTeX version %% 2021/01/01 or later. -%% -\typeout{Adapted from KOMA script for use in Hochschule Hannover <2021-04-21> Jan Wille} +%% +\typeout{Adapted from KOMA script for use in Hochschule Hannover <2021-10-24> Jan Wille} \NeedsTeXFormat{LaTeX2e} \newcommand{\myClassName}{HsH-standalone} -\ProvidesClass{\myClassName}[2021/04/21 v1.1 HsH-Class based on KOMA] +\ProvidesClass{\myClassName}[2021/10/24 v1.2 HsH-Class based on KOMA] %% commands for HsH-logo \newcommand{\HsHlogoPath}{HSH-Logo.pdf} diff --git a/src/config.tex b/src/config.tex index 5879e7b2719e27ddc887832c1630c68625279ee8..a41def46aa2a227d458909dfda5e15842539613a 100644 --- a/src/config.tex +++ b/src/config.tex @@ -31,10 +31,12 @@ } }{} \@ifpackageloaded{listings}{ + \PassOptionsToPackage{svgnames}{xcolor} + \RequirePackage{xcolor} \lstset{ commentstyle=\color{gray}, - keywordstyle=\color{red}, - stringstyle=\color{blue}, + keywordstyle=\color{FireBrick}\bfseries, + stringstyle=\color{DodgerBlue}, showstringspaces=false, basicstyle=\ttfamily, tabsize=4,