diff --git a/CHANGELOG.md b/CHANGELOG.md index e5842e846def61c196a96a0c68fbdacfd9494e15..c625f4c6f2d9ccad271a042bcabbbf17fde776f9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. ## [Current] +## [2.2] + +### Fixed + +- make first argument of `\todo` and `\missingfigure` optional (#11) + ## [2.1] ### Breaking diff --git a/HsH-classes.dtx b/HsH-classes.dtx index d8efe05f2d657b135c22ae1639f1b2ab359b3b45..5001a6d84e451d921e1d9ef28191133b44efc723 100644 --- a/HsH-classes.dtx +++ b/HsH-classes.dtx @@ -16,13 +16,13 @@ % \fi % %<*article|report|standalone> -\typeout{Adapted from KOMA script for use in Hochschule Hannover <2023-08-12> Jan Wille} +\typeout{Adapted from KOMA script for use in Hochschule Hannover <2024-04-18> Jan Wille} \NeedsTeXFormat{LaTeX2e} % %<article>\newcommand{\myClassName}{HsH-article} %<report>\newcommand{\myClassName}{HsH-report} %<standalone>\newcommand{\myClassName}{HsH-standalone} -\ProvidesClass{\myClassName}[2023/08/12 v2.1 HsH-Class based on KOMA] +\ProvidesClass{\myClassName}[2024/04/18 v2.2 HsH-Class based on KOMA] %% commands for HsH-logo \newcommand{\HsHlogoPath}{HSH-Logo.pdf} @@ -168,8 +168,8 @@ \setlength{\marginparwidth}{5.2cm} \else \newcommand{\listoftodos}[1]{} - \newcommand{\todo}[2]{} - \newcommand{\missingfigure}[2]{} + \newcommand{\todo}[2][]{} + \newcommand{\missingfigure}[2][]{} \fi % % foreach loops diff --git a/src/HsH-article.cls b/src/HsH-article.cls index 433b198bb254ca09cf70811adddfa5afcb8395f4..ad988e28667df08161660359cae830517ca61530 100644 --- a/src/HsH-article.cls +++ b/src/HsH-article.cls @@ -20,10 +20,10 @@ %% 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 <2023-08-12> Jan Wille} +\typeout{Adapted from KOMA script for use in Hochschule Hannover <2024-04-18> Jan Wille} \NeedsTeXFormat{LaTeX2e} \newcommand{\myClassName}{HsH-article} -\ProvidesClass{\myClassName}[2023/08/12 v2.1 HsH-Class based on KOMA] +\ProvidesClass{\myClassName}[2024/04/18 v2.2 HsH-Class based on KOMA] %% commands for HsH-logo \newcommand{\HsHlogoPath}{HSH-Logo.pdf} @@ -126,8 +126,8 @@ \setlength{\marginparwidth}{5.2cm} \else \newcommand{\listoftodos}[1]{} - \newcommand{\todo}[2]{} - \newcommand{\missingfigure}[2]{} + \newcommand{\todo}[2][]{} + \newcommand{\missingfigure}[2][]{} \fi \RequirePackage{pgffor} %% options for not loaded packages ---------------------------------------------------------------- diff --git a/src/HsH-report.cls b/src/HsH-report.cls index b36c9a226e114834f2e23afed0537be995a14e29..4c4f13e37cc7ee79fe2c977f9ad2caa96be6076b 100644 --- a/src/HsH-report.cls +++ b/src/HsH-report.cls @@ -20,10 +20,10 @@ %% 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 <2023-08-12> Jan Wille} +\typeout{Adapted from KOMA script for use in Hochschule Hannover <2024-04-18> Jan Wille} \NeedsTeXFormat{LaTeX2e} \newcommand{\myClassName}{HsH-report} -\ProvidesClass{\myClassName}[2023/08/12 v2.1 HsH-Class based on KOMA] +\ProvidesClass{\myClassName}[2024/04/18 v2.2 HsH-Class based on KOMA] %% commands for HsH-logo \newcommand{\HsHlogoPath}{HSH-Logo.pdf} @@ -126,8 +126,8 @@ \setlength{\marginparwidth}{5.2cm} \else \newcommand{\listoftodos}[1]{} - \newcommand{\todo}[2]{} - \newcommand{\missingfigure}[2]{} + \newcommand{\todo}[2][]{} + \newcommand{\missingfigure}[2][]{} \fi \RequirePackage{pgffor} %% options for not loaded packages ---------------------------------------------------------------- diff --git a/src/HsH-standalone.cls b/src/HsH-standalone.cls index fe7782eb62ffcba27ae6f3fd87b0e2c83b9bb23b..b865a5f11fe6a576d6eb36f273ef5b31460f53e5 100644 --- a/src/HsH-standalone.cls +++ b/src/HsH-standalone.cls @@ -20,10 +20,10 @@ %% 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 <2023-08-12> Jan Wille} +\typeout{Adapted from KOMA script for use in Hochschule Hannover <2024-04-18> Jan Wille} \NeedsTeXFormat{LaTeX2e} \newcommand{\myClassName}{HsH-standalone} -\ProvidesClass{\myClassName}[2023/08/12 v2.1 HsH-Class based on KOMA] +\ProvidesClass{\myClassName}[2024/04/18 v2.2 HsH-Class based on KOMA] %% commands for HsH-logo \newcommand{\HsHlogoPath}{HSH-Logo.pdf}