From 8e7223a754a9758ff8f2cb9f80777134d79629d4 Mon Sep 17 00:00:00 2001 From: Jan Wille <jan.wille@stud.hs-hannover.de> Date: Fri, 11 Aug 2023 22:44:02 +0200 Subject: [PATCH] renamed `\declarationAuthorship` to `\declarationofauthorship` --- CHANGELOG.md | 6 +++++- HsH-classes.dtx | 5 ++++- README.md | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a0c6836..0192a7f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,10 +5,14 @@ All notable changes to this project will be documented in this file. ## [Current] +### Breaking + +- `\declarationAuthorship` is renamed to `\declarationofauthorship` + ### Changed - the margins are now set using relative values, which makes them adapt to different paper sizes -- add alignment parameter to `\declarationAuthorship`, it is still by default aligned to the bottom of the page, but can now be pushed to the top using `\declarationAuthorship[t]` +- add alignment parameter to `\declarationofauthorship`, it is still by default aligned to the bottom of the page, but can now be pushed to the top using `\declarationofauthorship[t]` ## Fixed diff --git a/HsH-classes.dtx b/HsH-classes.dtx index da76e34..9dd8947 100644 --- a/HsH-classes.dtx +++ b/HsH-classes.dtx @@ -374,7 +374,7 @@ \newif\if@oneAuthor \@oneAuthortrue % % this is the actuall command: -\newcommand{\declarationAuthorship}[1][b]{ +\newcommand{\declarationofauthorship}[1][b]{ \let\@param#1 \renewcommand{\thanks}{\sbox0} \foreach \x [count=\i] in \@author{\ifnum\i>1\global\@oneAuthorfalse\fi} @@ -408,6 +408,9 @@ \par} \if\@param t\vspace*{\fill}\fi } +% for backwards compatability: +\let\declarationAuthorship\declarationofauthorship + % %% reconfig Titlepage ----------------------------------------------------------------------------- \newtoks\@tabtoks diff --git a/README.md b/README.md index 648d98b..7ce5169 100644 --- a/README.md +++ b/README.md @@ -177,7 +177,7 @@ You can use the following macros to define the different information presented o - `\keywords` will not be printed on the title-page, but rather on the end of the abstract, if you define some. They will also be but into the PDFs metadata. -### `\declarationAuthorship[align]` +### `\declarationofauthorship[align]` This macro will typeset a declaration of authorship, which is needed for most academic works. You can choose to have it on the bottom (`b`) or top (`t`) of the page, with bottom beeing the default. <br> The macro is defined in German and English and will automatically match your document language. -- GitLab