diff --git a/CHANGELOG.md b/CHANGELOG.md index 1d9a7f9db827613db1904bee2a124939441a10fb..91758acb33ff3f292cb76beb2d125e956db9f357 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,10 @@ All notable changes to this project will be documented in this file. - missing comma caused \opt{1} to not work (#18) +### Changed + +- moved all localization commands into one place + ## [3.1] ### Fixed diff --git a/src/HsH-article.cls b/src/HsH-article.cls index 7073d626854ba5b1a035e91a6d252669133018cc..dcbc0d87dc3daaf9cc3f9aed17fab8e7f455ec4d 100644 --- a/src/HsH-article.cls +++ b/src/HsH-article.cls @@ -4,7 +4,7 @@ %% %% The original source files were: %% -%% HsH-classes.dtx (with options: `article') +%% HsH-classes.dtx (with options: `article,localisation') %% %% Copyright (C) 2024 by Jan Wille <mail@janiwlle.de> %% @@ -326,15 +326,6 @@ \def\@firstexaminer{\@empty} \newcommand{\secondexaminer}[1]{\gdef\@secondexaminer{#1}} \def\@secondexaminer{\@empty} -\newcommand{\professorname}{Professor} -\newcommand{\firstexaminername}{First examiner} -\newcommand{\secondexaminername}{Second examiner} -\newcaptionname{english}\professorname{Professor} -\newcaptionname{english}\firstexaminername{First examiner} -\newcaptionname{english}\secondexaminername{Second examiner} -\newcaptionname{german,ngerman}\professorname{Professor(in)/Lehrbeauftragte(r)} -\newcaptionname{german,ngerman}\firstexaminername{Erstpr{\"u}fer(in)} -\newcaptionname{german,ngerman}\secondexaminername{Zweitpr{\"u}fer(in)} \newcommand{\keywords}[1]{\gdef\@keywords{#1}} \def\@keywords{\@empty} \RequirePackage{pgffor} @@ -376,26 +367,6 @@ \ifnum\count@>\@ne\global\singleauthorfalse\else\global\singleauthortrue\fi \endgroup } -\newcommand{\decofauthname}{Declaration of Authorship} -\newcaptionname{english}\decofauthname{Declaration of Authorship} -\newcaptionname{german,ngerman}\decofauthname{Selbstst\"andigkeitserkl\"arung} -\newcommand{\decofauthtext}{Language not supported!} -\newcaptionname{english}\decofauthtext{% - \ifsingleauthor{I}\else{We}\fi\space hereby certify that the work \ifsingleauthor{I}\else{we}\fi\space - \ifsingleauthor am\else are\fi\space submitting is entirely of \ifsingleauthor{my}\else{our}\fi own - making except where otherwise indicated. \ifsingleauthor{I}\else{We}\fi\space - \ifsingleauthor{am}\else{are}\fi\space aware of regulations concerning plagiarism, including - disciplinary actions that may result from it. Any use of the works of any other author, in any form, - is properly acknowledged at their point of use. -} -\newcaptionname{german,ngerman}\decofauthtext{% - Hiermit best{\"a}tige\ifsingleauthor\else{n}\fi\space \ifsingleauthor ich\else wir\fi, dass die - folgende Arbeit eigenst{\"a}ndig von \ifsingleauthor{mir}\else{uns}\fi\space allein erstellt und - unter Ber{\"u}cksichtigung der zur Verf{\"u}gung gestellten Aufgabenstellung sowie dem Arbeitsmaterial - unter Angabe aller verwendeten Quellen erarbeitet wurde. Die Regelungen und Konsequenzen eines - Plagiats, inklusive disziplinarischer Ma{\ss}nahmen, sind \ifsingleauthor{mir}\else{uns}\fi\space - bewusst. Insbesondere wurden alle Zitate und gedanklichen {\"U}bernahmenals solche kenntlich gemacht. -} \def\declarationAuthorship{% \ClassWarning{\HsHClassName}{% Command \string\declarationAuthorship\space is deprecate.\MessageBreak @@ -433,9 +404,6 @@ \renewcommand{\labelitemii}{\raisebox{.3ex}{\scalebox{0.7}{$\circ$}}} \renewcommand{\labelitemiii}{\raisebox{.1ex}{-}} \renewcommand{\labelitemiv}{\raisebox{-.1ex}{\scalebox{1.3}{$\cdot$}}} -\defcaptionname{german,ngerman}\abstractname{Abstract} -\newcaptionname{english}\keywordsname{Keywords} -\newcaptionname{german,ngerman}\keywordsname{Schl{\"u}sselw{\"o}rter} \renewenvironment{abstract}{ \quotation \setparsizes{\z@}{\z@}{.25\linewidth \@plus 1fil}\selectfont @@ -644,6 +612,37 @@ \fi \global\let\and\relax } +\newcaptionname{english}\professorname{Professor} +\newcaptionname{german,ngerman}\professorname{Professor(in)/Lehrbeauftragte(r)} +\newcaptionname{english}\firstexaminername{First examiner} +\newcaptionname{german,ngerman}\firstexaminername{Erstpr{\"u}fer(in)} +\newcaptionname{english}\secondexaminername{Second examiner} +\newcaptionname{german,ngerman}\secondexaminername{Zweitpr{\"u}fer(in)} +\newcaptionname{english}\decofauthname{Declaration of Authorship} +\newcaptionname{german,ngerman}\decofauthname{Selbstst{\"a}ndigkeitserkl{\"a}rung} +\newcaptionname{english}\decofauthtext{% + \ifsingleauthor{I}\else{We}\fi\space hereby certify that the work + \ifsingleauthor{I}\else{we}\fi\space \ifsingleauthor am\else are\fi + submitting is entirely of \ifsingleauthor{my}\else{our}\fi own making + except where otherwise indicated. \ifsingleauthor{I}\else{We}\fi + \ifsingleauthor{am}\else{are}\fi\space aware of regulations concerning + plagiarism, including disciplinary actions that may result from it. Any + use of the works of any other author, in any form, is properly + acknowledged at their point of use. +} +\newcaptionname{german,ngerman}\decofauthtext{% + Hiermit best{\"a}tige\ifsingleauthor\else{n}\fi + \ifsingleauthor{ich}\else{wir}\fi, dass die folgende Arbeit eigenst{\"a}ndig + von \ifsingleauthor{mir}\else{uns}\fi\space allein erstellt und unter + Ber{\"u}cksichtigung der zur Verf{\"u}gung gestellten Aufgabenstellung sowie + dem Arbeitsmaterial unter Angabe aller verwendeten Quellen erarbeitet wurde. + Die Regelungen und Konsequenzen eines Plagiats, inklusive disziplinarischer + Ma{\ss}nahmen, sind \ifsingleauthor{mir}\else{uns}\fi\space bewusst. + Insbesondere wurden alle Zitate und gedanklichen {\"U}bernahmen als + solche kenntlich gemacht. +} +\newcaptionname{english}\keywordsname{Keywords} +\newcaptionname{german,ngerman}\keywordsname{Schl{\"u}sselw{\"o}rter} \endinput %% %% End of file `HsH-article.cls'. diff --git a/src/HsH-classes.cfg b/src/HsH-classes.cfg index 26e505cc615580067e8efddab638b6602ecd8d63..90d9e5fe30e0db3ea7463b3dd691e9a2d88f0b02 100644 --- a/src/HsH-classes.cfg +++ b/src/HsH-classes.cfg @@ -1,3 +1,5 @@ +%% opinionated settings: +\defcaptionname{german,ngerman}\abstractname{Abstract} %% configs for optional packages: \@ifpackageloaded{biblatex}{ \ExecuteBibliographyOptions{ diff --git a/src/HsH-classes.dtx b/src/HsH-classes.dtx index 7e376d65cee0631718c6c9f5ad78095a9fdda413..d47805491af546d931add2fdbae1125a29b4d579 100644 --- a/src/HsH-classes.dtx +++ b/src/HsH-classes.dtx @@ -41,9 +41,9 @@ http://www.latex-project.org/lppl.txt \usedir{tex/latex/HsH-classes} \generate{ - \file{HsH-article.cls}{\from{\jobname.dtx}{article}} - \file{HsH-report.cls}{\from{\jobname.dtx}{report}} - \file{HsH-standalone.cls}{\from{\jobname.dtx}{standalone}} + \file{HsH-article.cls}{\from{\jobname.dtx}{article,localisation}} + \file{HsH-report.cls}{\from{\jobname.dtx}{report,localisation}} + \file{HsH-standalone.cls}{\from{\jobname.dtx}{standalone,localisation}} } %</install> %<install>\endbatchfile @@ -1211,24 +1211,6 @@ http://www.latex-project.org/lppl.txt % \end{macrocode} % \end{macro} % -% \begin{macro}{\professorname,\firstexaminername,\secondexaminername} -% \changes{v3.02}{2024-05-02}{change the suffix to 'name', which is more inline with general \LaTeX{}} -% -% For the three previous macros, we also need descriptive text to print on the titlepage. -% The commands storing that text are defined here: -% \begin{macrocode} -\newcommand{\professorname}{Professor} -\newcommand{\firstexaminername}{First examiner} -\newcommand{\secondexaminername}{Second examiner} -\newcaptionname{english}\professorname{Professor} -\newcaptionname{english}\firstexaminername{First examiner} -\newcaptionname{english}\secondexaminername{Second examiner} -\newcaptionname{german,ngerman}\professorname{Professor(in)/Lehrbeauftragte(r)} -\newcaptionname{german,ngerman}\firstexaminername{Erstpr{\"u}fer(in)} -\newcaptionname{german,ngerman}\secondexaminername{Zweitpr{\"u}fer(in)} -% \end{macrocode} -% \end{macro} -% % \begin{macro}{\keywords,\@keywords} % The macro-group defines and holds keywords which describe the document. They % are used when printing the abstract as well as in the PDF's meta-data. @@ -1318,31 +1300,6 @@ http://www.latex-project.org/lppl.txt % \end{macrocode} % \end{macro} % -% define the localised texts -% \begin{macrocode} -\newcommand{\decofauthname}{Declaration of Authorship} -\newcaptionname{english}\decofauthname{Declaration of Authorship} -\newcaptionname{german,ngerman}\decofauthname{Selbstst\"andigkeitserkl\"arung} -% -\newcommand{\decofauthtext}{Language not supported!} -\newcaptionname{english}\decofauthtext{% - \ifsingleauthor{I}\else{We}\fi\space hereby certify that the work \ifsingleauthor{I}\else{we}\fi\space - \ifsingleauthor am\else are\fi\space submitting is entirely of \ifsingleauthor{my}\else{our}\fi own - making except where otherwise indicated. \ifsingleauthor{I}\else{We}\fi\space - \ifsingleauthor{am}\else{are}\fi\space aware of regulations concerning plagiarism, including - disciplinary actions that may result from it. Any use of the works of any other author, in any form, - is properly acknowledged at their point of use. -} -\newcaptionname{german,ngerman}\decofauthtext{% - Hiermit best{\"a}tige\ifsingleauthor\else{n}\fi\space \ifsingleauthor ich\else wir\fi, dass die - folgende Arbeit eigenst{\"a}ndig von \ifsingleauthor{mir}\else{uns}\fi\space allein erstellt und - unter Ber{\"u}cksichtigung der zur Verf{\"u}gung gestellten Aufgabenstellung sowie dem Arbeitsmaterial - unter Angabe aller verwendeten Quellen erarbeitet wurde. Die Regelungen und Konsequenzen eines - Plagiats, inklusive disziplinarischer Ma{\ss}nahmen, sind \ifsingleauthor{mir}\else{uns}\fi\space - bewusst. Insbesondere wurden alle Zitate und gedanklichen {\"U}bernahmenals solche kenntlich gemacht. -} -% \end{macrocode} -% % \begin{macro}{\declarationAuthorship} % \changes{v2.01}{2023-08-11}{Deprecate \cmd{\declarationAuthorship}, as it got replaced by \cmd{\declarationofauthorship}} % \begin{macrocode} @@ -1471,9 +1428,6 @@ http://www.latex-project.org/lppl.txt % \paragraph{Abstract} % We define some custom behavior for the abstract. % \begin{macrocode} -\defcaptionname{german,ngerman}\abstractname{Abstract} -\newcaptionname{english}\keywordsname{Keywords} -\newcaptionname{german,ngerman}\keywordsname{Schl{\"u}sselw{\"o}rter} \renewenvironment{abstract}{ \quotation \setparsizes{\z@}{\z@}{.25\linewidth \@plus 1fil}\selectfont @@ -1851,5 +1805,71 @@ http://www.latex-project.org/lppl.txt %</article|report|standalone> %\fi % +% \subsection{Localisation} +% The following section contains language specific definitons of text used by the classes. +%\iffalse docstrip-guard +%<*localisation> +%\fi +% +% \begin{macro}{\professorname,\firstexaminername,\secondexaminername} +% Define the commands content for the different supported languages. +% \begin{macrocode} +\newcaptionname{english}\professorname{Professor} +\newcaptionname{german,ngerman}\professorname{Professor(in)/Lehrbeauftragte(r)} +\newcaptionname{english}\firstexaminername{First examiner} +\newcaptionname{german,ngerman}\firstexaminername{Erstpr{\"u}fer(in)} +\newcaptionname{english}\secondexaminername{Second examiner} +\newcaptionname{german,ngerman}\secondexaminername{Zweitpr{\"u}fer(in)} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\decofauthname} +% Define the german translations for the command. +% \begin{macrocode} +\newcaptionname{english}\decofauthname{Declaration of Authorship} +\newcaptionname{german,ngerman}\decofauthname{Selbstst{\"a}ndigkeitserkl{\"a}rung} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\decofauthtext} +% Define the german translations for the command. +% \begin{macrocode} +\newcaptionname{english}\decofauthtext{% + \ifsingleauthor{I}\else{We}\fi\space hereby certify that the work + \ifsingleauthor{I}\else{we}\fi\space \ifsingleauthor am\else are\fi + submitting is entirely of \ifsingleauthor{my}\else{our}\fi own making + except where otherwise indicated. \ifsingleauthor{I}\else{We}\fi + \ifsingleauthor{am}\else{are}\fi\space aware of regulations concerning + plagiarism, including disciplinary actions that may result from it. Any + use of the works of any other author, in any form, is properly + acknowledged at their point of use. +} +\newcaptionname{german,ngerman}\decofauthtext{% + Hiermit best{\"a}tige\ifsingleauthor\else{n}\fi + \ifsingleauthor{ich}\else{wir}\fi, dass die folgende Arbeit eigenst{\"a}ndig + von \ifsingleauthor{mir}\else{uns}\fi\space allein erstellt und unter + Ber{\"u}cksichtigung der zur Verf{\"u}gung gestellten Aufgabenstellung sowie + dem Arbeitsmaterial unter Angabe aller verwendeten Quellen erarbeitet wurde. + Die Regelungen und Konsequenzen eines Plagiats, inklusive disziplinarischer + Ma{\ss}nahmen, sind \ifsingleauthor{mir}\else{uns}\fi\space bewusst. + Insbesondere wurden alle Zitate und gedanklichen {\"U}bernahmen als + solche kenntlich gemacht. +} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\keywordsname} +% Define the german translations for the command. +% \begin{macrocode} +\newcaptionname{english}\keywordsname{Keywords} +\newcaptionname{german,ngerman}\keywordsname{Schl{\"u}sselw{\"o}rter} +% \end{macrocode} +% \end{macro} +% +% +%\iffalse docstrip-guard +%</localisation> +%\fi +% % \Finale \endinput diff --git a/src/HsH-classes.pdf b/src/HsH-classes.pdf index 862abbb5548b16a8cb8627c9c46401111c10ddc3..126f8a6b22e0f8a0ec94033e909674b8512c5839 100644 --- a/src/HsH-classes.pdf +++ b/src/HsH-classes.pdf @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:b647b31f4e5824108ac18c65696ca6cdc804cc3d6b4e8834a27a5a6f7d1e5986 -size 317929 +oid sha256:5ac0c1b271d9dddcc853e047bcdf2412477b98290d9b233d6fbd0619fdf153d1 +size 317888 diff --git a/src/HsH-report.cls b/src/HsH-report.cls index 8b10acc1e5cc6c43ab982cf5b0ce65e2e98f3d0b..9e54599942512ccd966c6d8d1bc0d80f14830273 100644 --- a/src/HsH-report.cls +++ b/src/HsH-report.cls @@ -4,7 +4,7 @@ %% %% The original source files were: %% -%% HsH-classes.dtx (with options: `report') +%% HsH-classes.dtx (with options: `report,localisation') %% %% Copyright (C) 2024 by Jan Wille <mail@janiwlle.de> %% @@ -339,15 +339,6 @@ \def\@firstexaminer{\@empty} \newcommand{\secondexaminer}[1]{\gdef\@secondexaminer{#1}} \def\@secondexaminer{\@empty} -\newcommand{\professorname}{Professor} -\newcommand{\firstexaminername}{First examiner} -\newcommand{\secondexaminername}{Second examiner} -\newcaptionname{english}\professorname{Professor} -\newcaptionname{english}\firstexaminername{First examiner} -\newcaptionname{english}\secondexaminername{Second examiner} -\newcaptionname{german,ngerman}\professorname{Professor(in)/Lehrbeauftragte(r)} -\newcaptionname{german,ngerman}\firstexaminername{Erstpr{\"u}fer(in)} -\newcaptionname{german,ngerman}\secondexaminername{Zweitpr{\"u}fer(in)} \newcommand{\keywords}[1]{\gdef\@keywords{#1}} \def\@keywords{\@empty} \RequirePackage{pgffor} @@ -389,26 +380,6 @@ \ifnum\count@>\@ne\global\singleauthorfalse\else\global\singleauthortrue\fi \endgroup } -\newcommand{\decofauthname}{Declaration of Authorship} -\newcaptionname{english}\decofauthname{Declaration of Authorship} -\newcaptionname{german,ngerman}\decofauthname{Selbstst\"andigkeitserkl\"arung} -\newcommand{\decofauthtext}{Language not supported!} -\newcaptionname{english}\decofauthtext{% - \ifsingleauthor{I}\else{We}\fi\space hereby certify that the work \ifsingleauthor{I}\else{we}\fi\space - \ifsingleauthor am\else are\fi\space submitting is entirely of \ifsingleauthor{my}\else{our}\fi own - making except where otherwise indicated. \ifsingleauthor{I}\else{We}\fi\space - \ifsingleauthor{am}\else{are}\fi\space aware of regulations concerning plagiarism, including - disciplinary actions that may result from it. Any use of the works of any other author, in any form, - is properly acknowledged at their point of use. -} -\newcaptionname{german,ngerman}\decofauthtext{% - Hiermit best{\"a}tige\ifsingleauthor\else{n}\fi\space \ifsingleauthor ich\else wir\fi, dass die - folgende Arbeit eigenst{\"a}ndig von \ifsingleauthor{mir}\else{uns}\fi\space allein erstellt und - unter Ber{\"u}cksichtigung der zur Verf{\"u}gung gestellten Aufgabenstellung sowie dem Arbeitsmaterial - unter Angabe aller verwendeten Quellen erarbeitet wurde. Die Regelungen und Konsequenzen eines - Plagiats, inklusive disziplinarischer Ma{\ss}nahmen, sind \ifsingleauthor{mir}\else{uns}\fi\space - bewusst. Insbesondere wurden alle Zitate und gedanklichen {\"U}bernahmenals solche kenntlich gemacht. -} \def\declarationAuthorship{% \ClassWarning{\HsHClassName}{% Command \string\declarationAuthorship\space is deprecate.\MessageBreak @@ -446,9 +417,6 @@ \renewcommand{\labelitemii}{\raisebox{.3ex}{\scalebox{0.7}{$\circ$}}} \renewcommand{\labelitemiii}{\raisebox{.1ex}{-}} \renewcommand{\labelitemiv}{\raisebox{-.1ex}{\scalebox{1.3}{$\cdot$}}} -\defcaptionname{german,ngerman}\abstractname{Abstract} -\newcaptionname{english}\keywordsname{Keywords} -\newcaptionname{german,ngerman}\keywordsname{Schl{\"u}sselw{\"o}rter} \renewenvironment{abstract}{ \quotation \setparsizes{\z@}{\z@}{.25\linewidth \@plus 1fil}\selectfont @@ -714,6 +682,37 @@ \fi \global\let\and\relax } +\newcaptionname{english}\professorname{Professor} +\newcaptionname{german,ngerman}\professorname{Professor(in)/Lehrbeauftragte(r)} +\newcaptionname{english}\firstexaminername{First examiner} +\newcaptionname{german,ngerman}\firstexaminername{Erstpr{\"u}fer(in)} +\newcaptionname{english}\secondexaminername{Second examiner} +\newcaptionname{german,ngerman}\secondexaminername{Zweitpr{\"u}fer(in)} +\newcaptionname{english}\decofauthname{Declaration of Authorship} +\newcaptionname{german,ngerman}\decofauthname{Selbstst{\"a}ndigkeitserkl{\"a}rung} +\newcaptionname{english}\decofauthtext{% + \ifsingleauthor{I}\else{We}\fi\space hereby certify that the work + \ifsingleauthor{I}\else{we}\fi\space \ifsingleauthor am\else are\fi + submitting is entirely of \ifsingleauthor{my}\else{our}\fi own making + except where otherwise indicated. \ifsingleauthor{I}\else{We}\fi + \ifsingleauthor{am}\else{are}\fi\space aware of regulations concerning + plagiarism, including disciplinary actions that may result from it. Any + use of the works of any other author, in any form, is properly + acknowledged at their point of use. +} +\newcaptionname{german,ngerman}\decofauthtext{% + Hiermit best{\"a}tige\ifsingleauthor\else{n}\fi + \ifsingleauthor{ich}\else{wir}\fi, dass die folgende Arbeit eigenst{\"a}ndig + von \ifsingleauthor{mir}\else{uns}\fi\space allein erstellt und unter + Ber{\"u}cksichtigung der zur Verf{\"u}gung gestellten Aufgabenstellung sowie + dem Arbeitsmaterial unter Angabe aller verwendeten Quellen erarbeitet wurde. + Die Regelungen und Konsequenzen eines Plagiats, inklusive disziplinarischer + Ma{\ss}nahmen, sind \ifsingleauthor{mir}\else{uns}\fi\space bewusst. + Insbesondere wurden alle Zitate und gedanklichen {\"U}bernahmen als + solche kenntlich gemacht. +} +\newcaptionname{english}\keywordsname{Keywords} +\newcaptionname{german,ngerman}\keywordsname{Schl{\"u}sselw{\"o}rter} \endinput %% %% End of file `HsH-report.cls'. diff --git a/src/HsH-standalone.cls b/src/HsH-standalone.cls index c1701d637224b93e9bce52af5bcefdb7a205d950..d7b88ee86bafaec4e360facd60c3322ba1ba710e 100644 --- a/src/HsH-standalone.cls +++ b/src/HsH-standalone.cls @@ -4,7 +4,7 @@ %% %% The original source files were: %% -%% HsH-classes.dtx (with options: `standalone') +%% HsH-classes.dtx (with options: `standalone,localisation') %% %% Copyright (C) 2024 by Jan Wille <mail@janiwlle.de> %% @@ -203,26 +203,6 @@ \ifnum\count@>\@ne\global\singleauthorfalse\else\global\singleauthortrue\fi \endgroup } -\newcommand{\decofauthname}{Declaration of Authorship} -\newcaptionname{english}\decofauthname{Declaration of Authorship} -\newcaptionname{german,ngerman}\decofauthname{Selbstst\"andigkeitserkl\"arung} -\newcommand{\decofauthtext}{Language not supported!} -\newcaptionname{english}\decofauthtext{% - \ifsingleauthor{I}\else{We}\fi\space hereby certify that the work \ifsingleauthor{I}\else{we}\fi\space - \ifsingleauthor am\else are\fi\space submitting is entirely of \ifsingleauthor{my}\else{our}\fi own - making except where otherwise indicated. \ifsingleauthor{I}\else{We}\fi\space - \ifsingleauthor{am}\else{are}\fi\space aware of regulations concerning plagiarism, including - disciplinary actions that may result from it. Any use of the works of any other author, in any form, - is properly acknowledged at their point of use. -} -\newcaptionname{german,ngerman}\decofauthtext{% - Hiermit best{\"a}tige\ifsingleauthor\else{n}\fi\space \ifsingleauthor ich\else wir\fi, dass die - folgende Arbeit eigenst{\"a}ndig von \ifsingleauthor{mir}\else{uns}\fi\space allein erstellt und - unter Ber{\"u}cksichtigung der zur Verf{\"u}gung gestellten Aufgabenstellung sowie dem Arbeitsmaterial - unter Angabe aller verwendeten Quellen erarbeitet wurde. Die Regelungen und Konsequenzen eines - Plagiats, inklusive disziplinarischer Ma{\ss}nahmen, sind \ifsingleauthor{mir}\else{uns}\fi\space - bewusst. Insbesondere wurden alle Zitate und gedanklichen {\"U}bernahmenals solche kenntlich gemacht. -} \def\declarationAuthorship{% \ClassWarning{\HsHClassName}{% Command \string\declarationAuthorship\space is deprecate.\MessageBreak @@ -240,9 +220,6 @@ \renewcommand{\labelitemii}{\raisebox{.3ex}{\scalebox{0.7}{$\circ$}}} \renewcommand{\labelitemiii}{\raisebox{.1ex}{-}} \renewcommand{\labelitemiv}{\raisebox{-.1ex}{\scalebox{1.3}{$\cdot$}}} -\defcaptionname{german,ngerman}\abstractname{Abstract} -\newcaptionname{english}\keywordsname{Keywords} -\newcaptionname{german,ngerman}\keywordsname{Schl{\"u}sselw{\"o}rter} \renewenvironment{abstract}{ \quotation \setparsizes{\z@}{\z@}{.25\linewidth \@plus 1fil}\selectfont @@ -257,6 +234,37 @@ \upsubscripts \raggedbottom \let\layercontentsmeasure\relax +\newcaptionname{english}\professorname{Professor} +\newcaptionname{german,ngerman}\professorname{Professor(in)/Lehrbeauftragte(r)} +\newcaptionname{english}\firstexaminername{First examiner} +\newcaptionname{german,ngerman}\firstexaminername{Erstpr{\"u}fer(in)} +\newcaptionname{english}\secondexaminername{Second examiner} +\newcaptionname{german,ngerman}\secondexaminername{Zweitpr{\"u}fer(in)} +\newcaptionname{english}\decofauthname{Declaration of Authorship} +\newcaptionname{german,ngerman}\decofauthname{Selbstst{\"a}ndigkeitserkl{\"a}rung} +\newcaptionname{english}\decofauthtext{% + \ifsingleauthor{I}\else{We}\fi\space hereby certify that the work + \ifsingleauthor{I}\else{we}\fi\space \ifsingleauthor am\else are\fi + submitting is entirely of \ifsingleauthor{my}\else{our}\fi own making + except where otherwise indicated. \ifsingleauthor{I}\else{We}\fi + \ifsingleauthor{am}\else{are}\fi\space aware of regulations concerning + plagiarism, including disciplinary actions that may result from it. Any + use of the works of any other author, in any form, is properly + acknowledged at their point of use. +} +\newcaptionname{german,ngerman}\decofauthtext{% + Hiermit best{\"a}tige\ifsingleauthor\else{n}\fi + \ifsingleauthor{ich}\else{wir}\fi, dass die folgende Arbeit eigenst{\"a}ndig + von \ifsingleauthor{mir}\else{uns}\fi\space allein erstellt und unter + Ber{\"u}cksichtigung der zur Verf{\"u}gung gestellten Aufgabenstellung sowie + dem Arbeitsmaterial unter Angabe aller verwendeten Quellen erarbeitet wurde. + Die Regelungen und Konsequenzen eines Plagiats, inklusive disziplinarischer + Ma{\ss}nahmen, sind \ifsingleauthor{mir}\else{uns}\fi\space bewusst. + Insbesondere wurden alle Zitate und gedanklichen {\"U}bernahmen als + solche kenntlich gemacht. +} +\newcaptionname{english}\keywordsname{Keywords} +\newcaptionname{german,ngerman}\keywordsname{Schl{\"u}sselw{\"o}rter} \endinput %% %% End of file `HsH-standalone.cls'. diff --git a/test.pdf b/test.pdf index 3efce7ba3eb3faf8e7515b0025d3e5374b51712d..a115d653465d36cee6f5cba9081fa20cbc5db416 100644 --- a/test.pdf +++ b/test.pdf @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:17bbf4cd7770bfaf405d98c35e4735830d2b0fb2bddfdae14e3498c10b7596b8 -size 239627 +oid sha256:fda71a675427ab94927a6d89d295f3b24ef41c2196653f1d63e903304b616962 +size 238691 diff --git a/test.tex b/test.tex index f72852983ec95fc815ff704400ac02442ec7109d..9d2cc068156bcec9f57be89c6731dd17a909d2b8 100644 --- a/test.tex +++ b/test.tex @@ -15,6 +15,7 @@ \subtitle{Subtitle} \date{\today} \keywords{test, hello, world} +\professor{Prof. Dr. Marks Meister}