Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
LaTeX Template HsH
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jan Wille
LaTeX Template HsH
Commits
1afa6a74
Commit
1afa6a74
authored
1 year ago
by
Jan Wille
Browse files
Options
Downloads
Patches
Plain Diff
change 'text' suffix to ' name'
parent
4ee161aa
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
src/HsH-article.cls
+12
-12
12 additions, 12 deletions
src/HsH-article.cls
src/HsH-classes.dtx
+21
-12
21 additions, 12 deletions
src/HsH-classes.dtx
src/HsH-classes.pdf
+2
-2
2 additions, 2 deletions
src/HsH-classes.pdf
src/HsH-report.cls
+12
-12
12 additions, 12 deletions
src/HsH-report.cls
with
47 additions
and
38 deletions
src/HsH-article.cls
+
12
−
12
View file @
1afa6a74
...
...
@@ -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
{
\professor
text
:
}&
\@
professor
\\\fi
\if\@
firstexaminer
\@
empty
\else\textbf
{
\firstexaminer
text
:
}&
\@
firstexaminer
\\\fi
\if\@
secondexaminer
\@
empty
\else\textbf
{
\secondexaminer
text
:
}&
\@
secondexaminer
\\\fi
\if\@
professor
\@
empty
\else\textbf
{
\professor
name
:
}&
\@
professor
\\\fi
\if\@
firstexaminer
\@
empty
\else\textbf
{
\firstexaminer
name
:
}&
\@
firstexaminer
\\\fi
\if\@
secondexaminer
\@
empty
\else\textbf
{
\secondexaminer
name
:
}&
\@
secondexaminer
\\\fi
\end{tabular}
}
\ifx\@
dedication
\@
empty
\else
...
...
This diff is collapsed.
Click to expand it.
src/HsH-classes.dtx
+
21
−
12
View file @
1afa6a74
...
...
@@ -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{\professor
text
:}&\@professor\\\fi
\if\@firstexaminer\@empty\else\textbf{\firstexaminer
text
:}&\@firstexaminer\\\fi
\if\@secondexaminer\@empty\else\textbf{\secondexaminer
text
:}&\@secondexaminer\\\fi
\if\@professor\@empty\else\textbf{\professor
name
:}&\@professor\\\fi
\if\@firstexaminer\@empty\else\textbf{\firstexaminer
name
:}&\@firstexaminer\\\fi
\if\@secondexaminer\@empty\else\textbf{\secondexaminer
name
:}&\@secondexaminer\\\fi
\end{tabular}
}
%<*article>
...
...
This diff is collapsed.
Click to expand it.
src/HsH-classes.pdf
LFS
+
2
−
2
View file @
1afa6a74
No preview for this file type
This diff is collapsed.
Click to expand it.
src/HsH-report.cls
+
12
−
12
View file @
1afa6a74
...
...
@@ -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
{
\professor
text
:
}&
\@
professor
\\\fi
\if\@
firstexaminer
\@
empty
\else\textbf
{
\firstexaminer
text
:
}&
\@
firstexaminer
\\\fi
\if\@
secondexaminer
\@
empty
\else\textbf
{
\secondexaminer
text
:
}&
\@
secondexaminer
\\\fi
\if\@
professor
\@
empty
\else\textbf
{
\professor
name
:
}&
\@
professor
\\\fi
\if\@
firstexaminer
\@
empty
\else\textbf
{
\firstexaminer
name
:
}&
\@
firstexaminer
\\\fi
\if\@
secondexaminer
\@
empty
\else\textbf
{
\secondexaminer
name
:
}&
\@
secondexaminer
\\\fi
\end{tabular}
}
\par
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment