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

change 'text' suffix to ' name'

parent 4ee161aa
Branches
Tags
No related merge requests found
......@@ -326,6 +326,15 @@
\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}
......@@ -477,15 +486,6 @@
\ofoot*{\pagemark}
\pagestyle{HsHheadings}
\automark{section}
\newcommand{\professortext}{Professor}
\newcommand{\firstexaminertext}{First examiner}
\newcommand{\secondexaminertext}{Second examiner}
\newcaptionname{english}\professortext{Professor}
\newcaptionname{english}\firstexaminertext{First examiner}
\newcaptionname{english}\secondexaminertext{Second examiner}
\newcaptionname{german,ngerman}\professortext{Professor(in)/Lehrbeauftragte(r)}
\newcaptionname{german,ngerman}\firstexaminertext{Erstpr{\"u}fer(in)}
\newcaptionname{german,ngerman}\secondexaminertext{Zweitpr{\"u}fer(in)}
\newtoks\@tabtoks
\newcommand\addtabtoks[1]{\global\@tabtoks\expandafter{\the\@tabtoks#1}}
\newcommand\eaddtabtoks[1]{\edef\mytmp{#1}\expandafter\addtabtoks\expandafter{\mytmp}}
......@@ -594,9 +594,9 @@
\if\@param l\begin{tabular}{@{}l l}\fi
\if\@param c\begin{tabular}{l l}\fi
\if\@param r\begin{tabular}{r r@{}}\fi
\if\@professor\@empty\else\textbf{\professortext:}&\@professor\\\fi
\if\@firstexaminer\@empty\else\textbf{\firstexaminertext:}&\@firstexaminer\\\fi
\if\@secondexaminer\@empty\else\textbf{\secondexaminertext:}&\@secondexaminer\\\fi
\if\@professor\@empty\else\textbf{\professorname:}&\@professor\\\fi
\if\@firstexaminer\@empty\else\textbf{\firstexaminername:}&\@firstexaminer\\\fi
\if\@secondexaminer\@empty\else\textbf{\secondexaminername:}&\@secondexaminer\\\fi
\end{tabular}
}
\ifx\@dedication\@empty\else
......
......@@ -1204,6 +1204,24 @@ 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.
......@@ -1547,15 +1565,6 @@ http://www.latex-project.org/lppl.txt
% \KOMAScript{} parrentclass, but was modified to create the desired style.
% \begin{macrocode}
%<*article|report>
\newcommand{\professortext}{Professor}
\newcommand{\firstexaminertext}{First examiner}
\newcommand{\secondexaminertext}{Second examiner}
\newcaptionname{english}\professortext{Professor}
\newcaptionname{english}\firstexaminertext{First examiner}
\newcaptionname{english}\secondexaminertext{Second examiner}
\newcaptionname{german,ngerman}\professortext{Professor(in)/Lehrbeauftragte(r)}
\newcaptionname{german,ngerman}\firstexaminertext{Erstpr{\"u}fer(in)}
\newcaptionname{german,ngerman}\secondexaminertext{Zweitpr{\"u}fer(in)}
\newtoks\@tabtoks
\newcommand\addtabtoks[1]{\global\@tabtoks\expandafter{\the\@tabtoks#1}}
\newcommand\eaddtabtoks[1]{\edef\mytmp{#1}\expandafter\addtabtoks\expandafter{\mytmp}}
......@@ -1726,9 +1735,9 @@ http://www.latex-project.org/lppl.txt
\if\@param l\begin{tabular}{@{}l l}\fi
\if\@param c\begin{tabular}{l l}\fi
\if\@param r\begin{tabular}{r r@{}}\fi
\if\@professor\@empty\else\textbf{\professortext:}&\@professor\\\fi
\if\@firstexaminer\@empty\else\textbf{\firstexaminertext:}&\@firstexaminer\\\fi
\if\@secondexaminer\@empty\else\textbf{\secondexaminertext:}&\@secondexaminer\\\fi
\if\@professor\@empty\else\textbf{\professorname:}&\@professor\\\fi
\if\@firstexaminer\@empty\else\textbf{\firstexaminername:}&\@firstexaminer\\\fi
\if\@secondexaminer\@empty\else\textbf{\secondexaminername:}&\@secondexaminer\\\fi
\end{tabular}
}
%<*article>
......
No preview for this file type
......@@ -339,6 +339,15 @@
\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}
......@@ -491,15 +500,6 @@
\pagestyle{HsHheadings}
\automark{chapter}
\renewcommand*{\chapterpagestyle}{HsHheadings}
\newcommand{\professortext}{Professor}
\newcommand{\firstexaminertext}{First examiner}
\newcommand{\secondexaminertext}{Second examiner}
\newcaptionname{english}\professortext{Professor}
\newcaptionname{english}\firstexaminertext{First examiner}
\newcaptionname{english}\secondexaminertext{Second examiner}
\newcaptionname{german,ngerman}\professortext{Professor(in)/Lehrbeauftragte(r)}
\newcaptionname{german,ngerman}\firstexaminertext{Erstpr{\"u}fer(in)}
\newcaptionname{german,ngerman}\secondexaminertext{Zweitpr{\"u}fer(in)}
\newtoks\@tabtoks
\newcommand\addtabtoks[1]{\global\@tabtoks\expandafter{\the\@tabtoks#1}}
\newcommand\eaddtabtoks[1]{\edef\mytmp{#1}\expandafter\addtabtoks\expandafter{\mytmp}}
......@@ -624,9 +624,9 @@
\if\@param l\begin{tabular}{@{}l l}\fi
\if\@param c\begin{tabular}{l l}\fi
\if\@param r\begin{tabular}{r r@{}}\fi
\if\@professor\@empty\else\textbf{\professortext:}&\@professor\\\fi
\if\@firstexaminer\@empty\else\textbf{\firstexaminertext:}&\@firstexaminer\\\fi
\if\@secondexaminer\@empty\else\textbf{\secondexaminertext:}&\@secondexaminer\\\fi
\if\@professor\@empty\else\textbf{\professorname:}&\@professor\\\fi
\if\@firstexaminer\@empty\else\textbf{\firstexaminername:}&\@firstexaminer\\\fi
\if\@secondexaminer\@empty\else\textbf{\secondexaminername:}&\@secondexaminer\\\fi
\end{tabular}
}
\par
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment