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

renamed `\declarationAuthorship` to `\declarationofauthorship`

parent eb422d3b
No related branches found
No related tags found
No related merge requests found
...@@ -5,10 +5,14 @@ All notable changes to this project will be documented in this file. ...@@ -5,10 +5,14 @@ All notable changes to this project will be documented in this file.
## [Current] ## [Current]
### Breaking
- `\declarationAuthorship` is renamed to `\declarationofauthorship`
### Changed ### Changed
- the margins are now set using relative values, which makes them adapt to different paper sizes - 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 ## Fixed
......
...@@ -374,7 +374,7 @@ ...@@ -374,7 +374,7 @@
\newif\if@oneAuthor \@oneAuthortrue \newif\if@oneAuthor \@oneAuthortrue
% %
% this is the actuall command: % this is the actuall command:
\newcommand{\declarationAuthorship}[1][b]{ \newcommand{\declarationofauthorship}[1][b]{
\let\@param#1 \let\@param#1
\renewcommand{\thanks}{\sbox0} \renewcommand{\thanks}{\sbox0}
\foreach \x [count=\i] in \@author{\ifnum\i>1\global\@oneAuthorfalse\fi} \foreach \x [count=\i] in \@author{\ifnum\i>1\global\@oneAuthorfalse\fi}
...@@ -408,6 +408,9 @@ ...@@ -408,6 +408,9 @@
\par} \par}
\if\@param t\vspace*{\fill}\fi \if\@param t\vspace*{\fill}\fi
} }
% for backwards compatability:
\let\declarationAuthorship\declarationofauthorship
% %
%% reconfig Titlepage ----------------------------------------------------------------------------- %% reconfig Titlepage -----------------------------------------------------------------------------
\newtoks\@tabtoks \newtoks\@tabtoks
......
...@@ -177,7 +177,7 @@ You can use the following macros to define the different information presented o ...@@ -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 - `\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. 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> 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. The macro is defined in German and English and will automatically match your document language.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment