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
e5493ce1
"README.md" did not exist on "4db4f3d2a321a2d3ed8877177b0bbc25435a0acf"
Commit
e5493ce1
authored
4 years ago
by
Jan Wille
Browse files
Options
Downloads
Patches
Plain Diff
included imatNR and prof in titlepage
parent
46936ad5
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/HsH-report.cls
+22
-2
22 additions, 2 deletions
src/HsH-report.cls
src/personal.tex
+5
-0
5 additions, 0 deletions
src/personal.tex
with
27 additions
and
2 deletions
src/HsH-report.cls
+
22
−
2
View file @
e5493ce1
...
...
@@ -81,6 +81,10 @@
% config for title, header and footer
\newcommand*
{
\@
matrikelnr
}{}
%
\newcommand
{
\matrikelnr
}
[1]
{
\gdef\@
matrikelnr
{
#1
}}
%
\newcommand*
{
\@
prof
}{}
%
\newcommand
{
\prof
}
[1]
{
\gdef\@
prof
{
#1
}}
%
\InputIfFileExists
{
personal.tex
}{
\ClassInfo
{
\myClassName
}{
personal.tex was found. Using it...
}
}{
...
...
@@ -117,6 +121,14 @@
\renewcommand
{
\layercontentsmeasure
}{
\empty
}
% rulers when using draft disabled
\MakeOuterQuote
{
"
}
% easy quotationmarks
% internal stuff
\newtoks\@
tabtoks
\newcommand\addtabtoks
[1]
{
\global\@
tabtoks
\expandafter
{
\the\@
tabtoks#1
}}
\newcommand\eaddtabtoks
[1]
{
\edef\mytmp
{
#1
}
\expandafter\addtabtoks\expandafter
{
\mytmp
}}
%\newcommand*\resettabtoks{\global\@tabtoks{}}
\newcommand*\printtabtoks
{
\the\@
tabtoks
}
% custom commands
\newcommand
{
\includeHsHlogohere
}{
\includegraphics
[width=5cm,page=\HsHlogoPage]
{
\HsHlogoPath
}}
\providecommand
{
\abs
}
[1]
{
\ensuremath
{
\left\vert
#1
\right\vert
}}
% Makro for vertical lines around absolute values
...
...
@@ -297,12 +309,20 @@
{
\ifx\@
subtitle
\@
empty
\else\usekomafont
{
subtitle
}{
\@
subtitle
\par
}
\fi
}
%
% Customised: -----------------------------------------------------------
\vskip
4em
{
\if\@
author
\@
empty
\else\usekomafont
{
author
}{
\parbox
{
\dimexpr\linewidth
}{
\centering\@
author
}}
\fi
}
%
% end Customised: --------------------------------------------------------
{
\ifx\@
matrikelnr
\@
empty
\if\@
author
\@
empty
\else\usekomafont
{
author
}{
\parbox
{
\dimexpr\linewidth
}{
\centering\@
author
}}
\fi
\else
\if\@
author
\@
empty
\else
\foreach
\x
[count=
\i
,evaluate=
\i
as
\y
using
{{
\@
matrikelnr
}
[
\i
-1]
}
] in
\@
author
{
\eaddtabtoks
{
\x
&
\y\protect\\
}}
\usekomafont
{
author
}{
\begin{tabular}
{
l l
}
\printtabtoks
\end{tabular}
}
\fi
\fi
}
%
\vskip
1.5em
{
\usekomafont
{
date
}{
\@
date
\par
}}
%
\vskip
\z
@
\@
plus3fill
\if\@
prof
\@
empty
\else\usekomafont
{
author
}{
Professor(in)/Lehrbeauftragte(r):
\@
prof
}
\fi
%{\usekomafont{publishers}{\@publishers \par}}%
% end Customised: --------------------------------------------------------
\vskip
3em
\end{center}
\par
\@
thanks
\global\let\@
thanks
\@
empty
...
...
This diff is collapsed.
Click to expand it.
src/personal.tex
+
5
−
0
View file @
e5493ce1
...
...
@@ -2,8 +2,13 @@
Max Mustermann,
Mira Musterfrau
}
\matrikelnr
{
1234567,
9876543
}
\titlehead
{
titlehead
}
\subject
{
Subject
}
\title
{
Title
}
\subtitle
{
Subtitle
}
\date
{
\today
}
\prof
{
Professor
}
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