From 99e088e06fcc193f5e78ef22accb94b98e938679 Mon Sep 17 00:00:00 2001 From: Jan Wille <jan.wille@stud.hs-hannover.de> Date: Wed, 31 Mar 2021 15:15:25 +0200 Subject: [PATCH] renaming of professor macro --- src/HsH-article.cls | 4 ++-- src/HsH-report.cls | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/HsH-article.cls b/src/HsH-article.cls index 464139c..d13d038 100644 --- a/src/HsH-article.cls +++ b/src/HsH-article.cls @@ -90,8 +90,8 @@ % config for title, header and footer \newcommand*{\@matrikelnr}{}% \newcommand{\matrikelnr}[1]{\gdef\@matrikelnr{#1}}% -\newcommand*{\@prof}{}% -\newcommand{\professor}[1]{\gdef\@prof{#1}}% +\newcommand*{\@professor}{}% +\newcommand{\professor}[1]{\gdef\@professor{#1}}% \let\@author\@empty \InputIfFileExists{personal.tex}{ \ClassInfo{\myClassName}{personal.tex was found. Using it...} diff --git a/src/HsH-report.cls b/src/HsH-report.cls index ab55a70..9b652c3 100644 --- a/src/HsH-report.cls +++ b/src/HsH-report.cls @@ -90,8 +90,8 @@ % config for title, header and footer \newcommand*{\@matrikelnr}{}% \newcommand{\matrikelnr}[1]{\gdef\@matrikelnr{#1}}% -\newcommand*{\@prof}{}% -\newcommand{\professor}[1]{\gdef\@prof{#1}}% +\newcommand*{\@professor}{}% +\newcommand{\professor}[1]{\gdef\@professor{#1}}% \let\@author\@empty \InputIfFileExists{personal.tex}{ \ClassInfo{\myClassName}{personal.tex was found. Using it...} @@ -341,7 +341,7 @@ \vskip 1.5em {\usekomafont{date}{\@date \par}}% \vskip \z@ \@plus3fill - {\if\@prof\@empty\else\usekomafont{author}{Professor(in)/Lehrbeauftragte(r): \@prof}\fi} + {\if\@professor\@empty\else\usekomafont{author}{Professor(in)/Lehrbeauftragte(r): \@professor}\fi} %{\usekomafont{publishers}{\@publishers \par}}% \vskip 3em \if\@param c\end{center}\fi @@ -413,7 +413,7 @@ \global\let\@lowertitleback\@empty \global\let\@dedication\@empty \global\let\@matrikelnr\@empty - \global\let\@prof\@empty + \global\let\@professor\@empty \global\let\author\relax \global\let\title\relax \global\let\extratitle\relax -- GitLab