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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jan Wille
LaTeX Template HsH
Commits
32d396e3
Commit
32d396e3
authored
4 years ago
by
Jan Wille
Browse files
Options
Downloads
Plain Diff
Merge branch 'development'
parents
b1341d02
9f2fd2f1
No related branches found
Tags
Tags containing commit
No related merge requests found
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
README.md
+1
-1
1 addition, 1 deletion
README.md
src/HsH-article.cls
+115
-263
115 additions, 263 deletions
src/HsH-article.cls
src/HsH-report.cls
+167
-256
167 additions, 256 deletions
src/HsH-report.cls
src/config.tex
+7
-8
7 additions, 8 deletions
src/config.tex
src/personal.tex
+6
-0
6 additions, 0 deletions
src/personal.tex
with
296 additions
and
528 deletions
README.md
+
1
−
1
View file @
32d396e3
...
...
@@ -12,7 +12,7 @@ them with specific configurations and presets as well as providing commonly need
HsH-book (planed)
HsH-standalone
**Version:**
BETA 0.5, 18
.03.2021
**Version:**
1.0, 20
.03.2021
## Check out the **Example-Branche**
...
...
This diff is collapsed.
Click to expand it.
src/HsH-article.cls
+
115
−
263
View file @
32d396e3
\typeout
{
Adapted from KOMA script for use in Hochschule Hannover <2022-03-
18
> Jan Wille
}
\typeout
{
Adapted from KOMA script for use in Hochschule Hannover <2022-03-
20
> Jan Wille
}
\NeedsTeXFormat
{
LaTeX2e
}
\newcommand
{
\myClassName
}{
HsH-article
}
\ProvidesClass
{
\myClassName
}
[2021/03/
18
HsH Report based on KOMA]
\ProvidesClass
{
\myClassName
}
[2021/03/
20
HsH Report based on KOMA]
\newcommand
{
\HsHlogoPath
}{
HSH-Logo.pdf
}
\newcommand
{
\HsHlogoPage
}{
1
}
...
...
@@ -80,7 +80,18 @@
\if
@german
\RequirePackage
{
ziffer
}
\fi
% german dezimal numbers
% 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
}
% config for title, header and footer
\newcommand*
{
\@
matrikelnr
}{}
%
\newcommand
{
\matrikelnr
}
[1]
{
\gdef\@
matrikelnr
{
#1
}}
%
\newcommand*
{
\@
prof
}{}
%
\newcommand
{
\professor
}
[1]
{
\gdef\@
prof
{
#1
}}
%
\InputIfFileExists
{
personal.tex
}{
\ClassInfo
{
\myClassName
}{
personal.tex was found. Using it...
}
}{
...
...
@@ -93,7 +104,6 @@
\ihead
{
\@
title
}
\ofoot*
{
\pagemark
}
% typesetting indexes upright or standart
\def\subinrm
#1
{
\sb
{
\mathrm
{
#1
}}}
{
\catcode
`
\_
=13
\global\let
_
=
\subinrm
}
...
...
@@ -117,7 +127,7 @@
\MakeOuterQuote
{
"
}
% easy quotationmarks
% custom commands
\newcommand
{
\includeHsHlogohere
}{
\includegraphics
[width=
5cm
,page=\HsHlogoPage]
{
\HsHlogoPath
}}
\newcommand
{
\includeHsHlogohere
}
[1][5cm]
{
\includegraphics
[width=
#1
,page=\HsHlogoPage]
{
\HsHlogoPath
}}
\providecommand
{
\abs
}
[1]
{
\ensuremath
{
\left\vert
#1
\right\vert
}}
% Makro for vertical lines around absolute values
\newcommand\declarationAuthorship
{
\thispagestyle
{
plain
}
...
...
@@ -182,10 +192,10 @@
\makeatletter
\@
ifpackageloaded
{
biblatex
}{
\renewcommand*
{
\mkbibacro
}
[1]
{
\MakeUppercase
{
#1
}}
% solves fontype warning in San-Serif
}
}
{}
%
\@
ifpackageloaded
{
subfigure
}{
\newcommand
{
\subfigureautorefname
}{
\figureautorefname
}
}
}
{}
%
\InputIfFileExists
{
config.tex
}{
\ClassInfo
{
\myClassName
}{
config.tex was found. Using it...
}
}{
...
...
@@ -195,7 +205,7 @@
}
% reconfig Titlepage
\renewcommand\maketitle
[1][
1
]
{
%
\renewcommand\maketitle
[1][
c
]
{
%
\expandafter\ifnum
\csname
scr@v@3.12
\endcsname
>
\scr
@compatibility
\relax
\else
\def\and
{
%
...
...
@@ -204,63 +214,46 @@
\begin{tabular}
[t]
{
c
}
%
}
%
\fi
\if
@titlepage
\begin{titlepage}
\setcounter
{
page
}{
%
#1
%
\par
\ifx\@
uppertitleback
\@
empty
\else
\ClassWarning
{
\KOMAClassName
}{
%
non empty
\string\uppertitleback\space
ignored
by
\string\maketitle\MessageBreak
in `titlepage=false' mode
%
}
%
\if
@titlepageiscoverpage
\edef\titlepage
@restore
{
%
\noexpand\endgroup
\noexpand\global\noexpand\@
colht
\the\@
colht
\noexpand\global\noexpand\@
colroom
\the\@
colroom
\noexpand\global\vsize\the\vsize
\noexpand\global\noexpand\@
titlepageiscoverpagefalse
\noexpand\let\noexpand\titlepage
@restore
\noexpand\relax
\fi
\ifx\@
lowertitleback
\@
empty
\else
\ClassWarning
{
\KOMAClassName
}{
%
non empty
\string\lowertitleback\space
ignored
by
\string\maketitle\MessageBreak
in `titlepage=false' mode
%
}
%
\fi
\begingroup
\topmargin
=
\dimexpr
\coverpagetopmargin
-1in
\relax
\oddsidemargin
=
\dimexpr
\coverpageleftmargin
-1in
\relax
\evensidemargin
=
\dimexpr
\coverpageleftmargin
-1in
\relax
\textwidth
=
\dimexpr
\paperwidth
-
\coverpageleftmargin
-
\coverpagerightmargin\relax
\textheight
=
\dimexpr
\paperheight
-
\coverpagetopmargin
-
\coverpagebottommargin\relax
\headheight
=0pt
\headsep
=0pt
\footskip
=
\baselineskip
\@
colht=
\textheight
\@
colroom=
\textheight
\vsize
=
\textheight
\columnwidth
=
\textwidth
\hsize
=
\columnwidth
\linewidth
=
\hsize
\else
\let\titlepage
@restore
\relax
\def\@
param
{
#1
}
\ifx\@
param
\@
empty
\ClassError
{
\myClassName
}{
\maketitle\space
with empty option
}{
\maketitle
[]
has been called with an empty parameter, this doesn't work. Use
\maketitle
instead.
}
\fi
\let\footnotesize\small
\let\footnoterule\relax
\let\footnote\thanks
\let\titlepage
@restore
\relax
\renewcommand*\thefootnote
{
\@
fnsymbol
\c
@footnote
}
%
\let\@
oldmakefnmark
\@
makefnmark
\renewcommand*
{
\@
makefnmark
}{
\rlap\@
oldmakefnmark
}
%
\next
@tdpage
\ifx\@
extratitle
\@
empty
\ifx\@
frontispiece
\@
empty
\ifx\@
frontispiece
\@
empty
\else
\mbox
{}
\fi
\else
\if
@twoside
\mbox
{}
\next
@tpage
\fi
\noindent\@
frontispiece
\next
@tdpage
\@
makeextratitle
\fi
\else
\noindent\@
extratitle
\ifx\@
frontispiece
\@
empty
\ifx\@
extratitle
\@
empty
\else\next
@tdpage
\fi
\else
\next
@tpage
\noindent\@
frontispiece
\fi
\@
makefrontispiece
\next
@tdpage
\fi
\global\@
topnum=
\z
@
\setparsizes
{
\z
@
}{
\z
@
}{
\z
@
\@
plus 1fil
}
\par
@updaterelative
% Customised: -----------------------------------------------------------
\IfFileExists
{
\HsHlogoPath
}{}{
\ClassError
{
\myClassName
}{
HsH-Logo.pdf not found!
}{
The HsH Logo is necasary for the titlepage! Try putting it next to your source file or use
\HsHlogoPath
to define the file location
...
...
@@ -275,152 +268,53 @@
\raisebox
{
0pt
}
[
\ht\strutbox
][
\dp\strutbox
]
{
\includeHsHlogohere
}
\end{minipage}
\raisebox
{
10pt
}{
\rule
{
\textwidth
}{
0.5pt
}}
% end Customised: --------------------------------------------------------
\null\vfill
\begin{center}
\null
\vskip
2em
%
\if\@
param c
\begin{center}
\fi
\if\@
param r
\begin{flushright}
\fi
\ifx\@
subject
\@
empty
\else
{
\usekomafont
{
subject
}{
\@
subject
\par
}}
%
\vskip
3
em
\vskip
1.5
em
\fi
{
\usekomafont
{
title
}{
\huge
\@
title
\par
}}
%
\vskip
1em
{
\ifx\@
subtitle
\@
empty
\else\usekomafont
{
subtitle
}{
\@
subtitle
\par
}
\fi
}
%
% Customised: -----------------------------------------------------------
\vskip
.5em
{
\ifx\@
subtitle
\@
empty
\else\usekomafont
{
subtitle
}
\@
subtitle
\par\fi
}
%
\vskip
4em
{
\if\@
author
\@
empty
\else\usekomafont
{
author
}{
\parbox
{
\dimexpr\linewidth
}{
\centering\@
author
}}
\fi
}
%
% end Customised: --------------------------------------------------------
\vskip
1.5em
{
\usekomafont
{
date
}{
\@
date
\par
}}
%
\vskip
\z
@
\@
plus3fill
%{\usekomafont{publishers}{\@publishers \par}}%
\vskip
3em
\end{center}
\par
\@
thanks
\global\let\@
thanks
\@
empty
\vfill\null
\if
@twoside
\@
tempswatrue
\expandafter\ifnum
\@
nameuse
{
scr@v@3.12
}
>
\scr
@compatibility
\relax
\else
\ifx\@
uppertitleback
\@
empty
\ifx\@
lowertitleback
\@
empty
\@
tempswafalse
\fi\fi
\fi
\if
@tempswa
\next
@tpage
\begin{minipage}
[t]
{
\textwidth
}
\@
uppertitleback
\end{minipage}
\par
\vfill
\begin{minipage}
[b]
{
\textwidth
}
\@
lowertitleback
\end{minipage}
\par
\@
thanks
\global\let\@
thanks
\@
empty
\fi
{
\ifx\@
matrikelnr
\@
empty
\if\@
author
\@
empty
\else\usekomafont
{
author
}{
\parbox
{
\dimexpr\linewidth
}{
\if\@
param c
\centering\fi
\if\@
param r
\raggedleft\fi
\@
author
}
}
\fi
\else
\ifx\@
uppertitleback
\@
empty
\else
\ClassWarning
{
\KOMAClassName
}{
%
non empty
\string\uppertitleback\space
ignored
by
\string\maketitle\MessageBreak
in `twoside=false' mode
%
}
%
\fi
\ifx\@
lowertitleback
\@
empty
\else
\ClassWarning
{
\KOMAClassName
}{
%
non empty
\string\lowertitleback\space
ignored
by
\string\maketitle\MessageBreak
in `twoside=false' mode
%
}
%
\fi
\if\@
author
\@
empty
\else
% sneeky comma needed after \@matrikelnr to deal with single item list
\foreach
\x
[count=
\i
,evaluate=
\i
as
\y
using
{{
\@
matrikelnr,
}
[
\i
-1]
}
] in
\@
author
{
\eaddtabtoks
{
\x
&
\y\protect\\
}}
\usekomafont
{
author
}{
\def\arraystretch
{
1.2
}
\if\@
param l
\hspace
{
-6pt
}
\begin{tabular}
{
l l
}
\printtabtoks
\end{tabular}
\fi
\if\@
param c
\begin{tabular}
{
l l
}
\printtabtoks
\end{tabular}
\fi
\if\@
param r
\begin{tabular}
{
r r
}
\printtabtoks
\end{tabular}
\hspace
{
-6pt
}
\fi
}
\fi
\ifx\@
dedication
\@
empty
\else
\next
@tdpage
\null\vfill
{
\centering\usekomafont
{
dedication
}{
\@
dedication
\par
}}
%
\vskip
\z
@
\@
plus3fill
\@
thanks
\global\let\@
thanks
\@
empty
\cleardoubleemptypage
\fi
}
%
\vskip
1em
%
{
\usekomafont
{
date
}{
\@
date
\par
}}
%
\vskip
1em
{
\if\@
prof
\@
empty
\else\usekomafont
{
author
}{
Professor(in)/Lehrbeauftragte(r):
\@
prof
}
\fi
}
%{\usekomafont{publishers}{\@publishers \par}}%
\ifx\@
dedication
\@
empty
\else
\vskip
2em
{
\usekomafont
{
dedication
}{
\@
dedication
\par
}}
%
\fi
\ifx\titlepage
@restore
\relax\else\clearpage\titlepage
@restore
\fi
\end{titlepage}
\else
\if\@
param c
\end{center}
\fi
\if\@
param r
\end{flushright}
\fi
\par
\@
tempcnta=
%
#1
%
\relax\ifnum\@
tempcnta=1
\else
\ClassWarning
{
\KOMAClassName
}{
%
Optional argument of
\string\maketitle\space
ignored
\MessageBreak
in `titlepage=false' mode
%
}
%
\fi
\ifx\@
uppertitleback
\@
empty
\else
\ClassWarning
{
\KOMAClassName
}{
%
non empty
\string\uppertitleback\space
ignored
by
\string\maketitle\MessageBreak
in `titlepage=false' mode
%
}
%
\fi
\ifx\@
lowertitleback
\@
empty
\else
\ClassWarning
{
\KOMAClassName
}{
%
non empty
\string\lowertitleback\space
ignored
by
\string\maketitle\MessageBreak
in `titlepage=false' mode
%
}
%
\fi
\begingroup
\let\titlepage
@restore
\relax
\renewcommand*\thefootnote
{
\@
fnsymbol
\c
@footnote
}
%
\let\@
oldmakefnmark
\@
makefnmark
\renewcommand*
{
\@
makefnmark
}{
\rlap\@
oldmakefnmark
}
%
\next
@tdpage
\if
@twocolumn
\ifnum
\col
@number=
\@
ne
\ifx\@
extratitle
\@
empty
\ifx\@
frontispiece
\@
empty
\else\if
@twoside
\mbox
{}
\fi\fi
\else
\@
makeextratitle
\fi
\ifx\@
frontispiece
\@
empty
\ifx\@
extratitle
\@
empty
\else\next
@tdpage
\fi
\else
\next
@tpage
\@
makefrontispiece
\next
@tdpage
\fi
\@
maketitle
\else
\ifx\@
extratitle
\@
empty
\ifx\@
frontispiece
\@
empty
\else\if
@twoside
\mbox
{}
\fi\fi
\else
\twocolumn
[\@makeextratitle]
%
\fi
\ifx\@
frontispiece
\@
empty
\ifx\@
extratitle
\@
empty
\else\next
@tdpage
\fi
\else
\next
@tpage
\twocolumn
[\@makefrontispiece]
%
\next
@tdpage
\fi
\twocolumn
[\@maketitle]
%
\fi
\else
\ifx\@
extratitle
\@
empty
\ifx\@
frontispiece
\@
empty
\else
\mbox
{}
\fi
\else
\@
makeextratitle
\fi
\ifx\@
frontispiece
\@
empty
\ifx\@
extratitle
\@
empty
\else\next
@tdpage
\fi
\else
\next
@tpage
\@
makefrontispiece
\next
@tdpage
\fi
\@
maketitle
\fi
\vskip
2em
\ifx\titlepagestyle\@
empty
\else\thispagestyle
{
\titlepagestyle
}
\fi
\@
thanks
\global\let\@
thanks
\@
empty
\endgroup
\fi
\setcounter
{
footnote
}{
0
}
%
\expandafter\ifnum
\csname
scr@v@3.12
\endcsname
>
\scr
@compatibility
\relax
\let\thanks\relax
...
...
@@ -439,6 +333,8 @@
\global\let\@
uppertitleback
\@
empty
\global\let\@
lowertitleback
\@
empty
\global\let\@
dedication
\@
empty
\global\let\@
matrikelnr
\@
empty
\global\let\@
prof
\@
empty
\global\let\author\relax
\global\let\title\relax
\global\let\extratitle\relax
...
...
@@ -449,52 +345,8 @@
\global\let\lowertitleback\relax
\global\let\dedication\relax
\global\let\date\relax
\global\let\matrikelnr\relax
\global\let\professor\relax
\fi
\global\let\and\relax
}
%
\renewcommand*
{
\@
maketitle
}{
%
\global\@
topnum=
\z
@
\setparsizes
{
\z
@
}{
\z
@
}{
\z
@
\@
plus 1fil
}
\par
@updaterelative
% Customised: -----------------------------------------------------------
\IfFileExists
{
\HsHlogoPath
}{}{
\ClassError
{
\myClassName
}{
HsH-Logo.pdf not found!
}{
The HsH Logo is necasary for the titlepage! Try putting it next to your source file or use
\HsHlogoPath
to define the file location
}
}
\vspace*
{
1cm
}
\begin{minipage}
[t]
{
\textwidth
}
%
\ifx\@
titlehead
\@
empty
\else
\usekomafont
{
titlehead
}{
\@
titlehead
}
%
\fi
\hfill
\raisebox
{
0pt
}
[
\ht\strutbox
][
\dp\strutbox
]
{
\includeHsHlogohere
}
\end{minipage}
\raisebox
{
10pt
}{
\rule
{
\textwidth
}{
0.5pt
}}
% end Customised: --------------------------------------------------------
\null
\vskip
2em
%
\begin{center}
%
\ifx\@
subject
\@
empty
\else
{
\usekomafont
{
subject
}{
\@
subject
\par
}}
%
\vskip
1.5em
\fi
{
\usekomafont
{
title
}{
\huge
\@
title
\par
}}
%
\vskip
.5em
{
\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: --------------------------------------------------------
\vskip
1em
%
{
\usekomafont
{
date
}{
\@
date
\par
}}
%
\vskip
\z
@
\@
plus 1em
%{\usekomafont{publishers}{\@publishers \par}}%
\ifx\@
dedication
\@
empty
\else
\vskip
2em
{
\usekomafont
{
dedication
}{
\@
dedication
\par
}}
%
\fi
\end{center}
%
\par
\vskip
2em
}
%
This diff is collapsed.
Click to expand it.
src/HsH-report.cls
+
167
−
256
View file @
32d396e3
...
...
@@ -80,7 +80,18 @@
\if
@german
\RequirePackage
{
ziffer
}
\fi
% german dezimal numbers
% internal commands
\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
}
% config for title, header and footer
\newcommand*
{
\@
matrikelnr
}{}
%
\newcommand
{
\matrikelnr
}
[1]
{
\gdef\@
matrikelnr
{
#1
}}
%
\newcommand*
{
\@
prof
}{}
%
\newcommand
{
\professor
}
[1]
{
\gdef\@
prof
{
#1
}}
%
\InputIfFileExists
{
personal.tex
}{
\ClassInfo
{
\myClassName
}{
personal.tex was found. Using it...
}
}{
...
...
@@ -94,7 +105,6 @@
\ihead
{
\@
title
}
\ofoot*
{
\pagemark
}
% typesetting indexes upright or standart
\def\subinrm
#1
{
\sb
{
\mathrm
{
#1
}}}
{
\catcode
`
\_
=13
\global\let
_
=
\subinrm
}
...
...
@@ -118,7 +128,7 @@
\MakeOuterQuote
{
"
}
% easy quotationmarks
% custom commands
\newcommand
{
\includeHsHlogohere
}{
\includegraphics
[width=
5cm
,page=\HsHlogoPage]
{
\HsHlogoPath
}}
\newcommand
{
\includeHsHlogohere
}
[1][5cm]
{
\includegraphics
[width=
#1
,page=\HsHlogoPage]
{
\HsHlogoPath
}}
\providecommand
{
\abs
}
[1]
{
\ensuremath
{
\left\vert
#1
\right\vert
}}
% Makro for vertical lines around absolute values
\newcommand\declarationAuthorship
{
\thispagestyle
{
plain
}
...
...
@@ -153,8 +163,8 @@
\newcommand
{
\proniomeverb
}{
am
}
\foreach
\x
[count=
\i
] in
\@
author
{
\ifnum\i
>1
\gdef\pronomenf
{
We
}
\gdef\pronomen
{
we
}
\gdef\pronomenf
{
We
}
\gdef\genitiv
{
our
}
\gdef\proniomeverb
{
are
}
\else\fi
...
...
@@ -192,10 +202,10 @@
\makeatletter
\@
ifpackageloaded
{
biblatex
}{
\renewcommand*
{
\mkbibacro
}
[1]
{
\MakeUppercase
{
#1
}}
% solves fontype warning in San-Serif
}
}
{}
%
\@
ifpackageloaded
{
subfigure
}{
\newcommand
{
\subfigureautorefname
}{
\figureautorefname
}
}
}
{}
%
\InputIfFileExists
{
config.tex
}{
\ClassInfo
{
\myClassName
}{
config.tex was found. Using it...
}
}{
...
...
@@ -205,7 +215,7 @@
}
% reconfig Titlepage
\renewcommand\maketitle
[1][
1
]
{
%
\renewcommand\maketitle
[1][
l
]
{
%
\expandafter\ifnum
\csname
scr@v@3.12
\endcsname
>
\scr
@compatibility
\relax
\else
\def\and
{
%
...
...
@@ -214,11 +224,15 @@
\begin{tabular}
[t]
{
c
}
%
}
%
\fi
\if
@titlepage
\begin{titlepage}
\setcounter
{
page
}{
%
#1
%
}
%
% \setcounter{page}{%
% #1%
% }%
\def\@
param
{
#1
}
\ifx\@
param
\@
empty
\ClassError
{
\myClassName
}{
\maketitle\space
with empty option
}{
\maketitle
[]
has been called with an empty parameter, this doesn't work. Use
\maketitle
instead.
}
\fi
\if
@titlepageiscoverpage
\edef\titlepage
@restore
{
%
\noexpand\endgroup
...
...
@@ -270,7 +284,6 @@
\next
@tdpage
\fi
\setparsizes
{
\z
@
}{
\z
@
}{
\z
@
\@
plus 1fil
}
\par
@updaterelative
% Customised: -----------------------------------------------------------
\IfFileExists
{
\HsHlogoPath
}{}{
\ClassError
{
\myClassName
}{
HsH-Logo.pdf not found!
}{
The HsH Logo is necasary for the titlepage! Try putting it next to your source file or use
\HsHlogoPath
to define the file location
...
...
@@ -282,12 +295,12 @@
\usekomafont
{
titlehead
}{
\@
titlehead
}
%
\fi
\hfill
\raisebox
{
0pt
}
[
\ht\strutbox
][
\dp\strutbox
]
{
\includeHsHlogohere
}
\raisebox
{
0pt
}
[
\ht\strutbox
][
\dp\strutbox
]
{
\includeHsHlogohere
}
% image referrencepoint in lower left corner
\end{minipage}
\raisebox
{
10pt
}{
\rule
{
\textwidth
}{
0.5pt
}}
% end Customised: --------------------------------------------------------
\null\vfill
\begin{center}
\if\@
param c
\begin{center}
\fi
\if\@
param r
\begin{flushright}
\fi
\ifx\@
subject
\@
empty
\else
{
\usekomafont
{
subject
}{
\@
subject
\par
}}
%
\vskip
3em
...
...
@@ -295,16 +308,35 @@
{
\usekomafont
{
title
}{
\huge\@
title
\par
}}
%
\vskip
1em
{
\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
}{
\if\@
param c
\centering\fi
\if\@
param r
\raggedleft\fi
\@
author
}
}
\fi
\else
\if\@
author
\@
empty
\else
% sneeky comma needed after \@matrikelnr to deal with single item list
\foreach
\x
[count=
\i
,evaluate=
\i
as
\y
using
{{
\@
matrikelnr,
}
[
\i
-1]
}
] in
\@
author
{
\eaddtabtoks
{
\x
&
\y\protect\\
}}
\usekomafont
{
author
}{
\def\arraystretch
{
1.2
}
\if\@
param l
\hspace
{
-6pt
}
\begin{tabular}
{
l l
}
\printtabtoks
\end{tabular}
\fi
\if\@
param c
\begin{tabular}
{
l l
}
\printtabtoks
\end{tabular}
\fi
\if\@
param r
\begin{tabular}
{
r r
}
\printtabtoks
\end{tabular}
\hspace
{
-6pt
}
\fi
}
\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}}%
\vskip
3em
\end{center}
\par
\if\@
param c
\end{center}
\fi
\if\@
param r
\end{flushright}
\fi
\par
\@
thanks
\global\let\@
thanks
\@
empty
\vfill\null
\if
@twoside
...
...
@@ -352,85 +384,6 @@
\fi
\ifx\titlepage
@restore
\relax\else\clearpage\titlepage
@restore
\fi
\end{titlepage}
\else
\par
\@
tempcnta=
%
#1
%
\relax\ifnum\@
tempcnta=1
\else
\ClassWarning
{
\KOMAClassName
}{
%
Optional argument of
\string\maketitle\space
ignored
\MessageBreak
in `titlepage=false' mode
%
}
%
\fi
\ifx\@
uppertitleback
\@
empty
\else
\ClassWarning
{
\KOMAClassName
}{
%
non empty
\string\uppertitleback\space
ignored
by
\string\maketitle\MessageBreak
in `titlepage=false' mode
%
}
%
\fi
\ifx\@
lowertitleback
\@
empty
\else
\ClassWarning
{
\KOMAClassName
}{
%
non empty
\string\lowertitleback\space
ignored
by
\string\maketitle\MessageBreak
in `titlepage=false' mode
%
}
%
\fi
\begingroup
\let\titlepage
@restore
\relax
\renewcommand*\thefootnote
{
\@
fnsymbol
\c
@footnote
}
%
\let\@
oldmakefnmark
\@
makefnmark
\renewcommand*
{
\@
makefnmark
}{
\rlap\@
oldmakefnmark
}
%
\next
@tdpage
\if
@twocolumn
\ifnum
\col
@number=
\@
ne
\ifx\@
extratitle
\@
empty
\ifx\@
frontispiece
\@
empty
\else\if
@twoside
\mbox
{}
\fi\fi
\else
\@
makeextratitle
\fi
\ifx\@
frontispiece
\@
empty
\ifx\@
extratitle
\@
empty
\else\next
@tdpage
\fi
\else
\next
@tpage
\@
makefrontispiece
\next
@tdpage
\fi
\@
maketitle
\else
\ifx\@
extratitle
\@
empty
\ifx\@
frontispiece
\@
empty
\else\if
@twoside
\mbox
{}
\fi\fi
\else
\twocolumn
[\@makeextratitle]
%
\fi
\ifx\@
frontispiece
\@
empty
\ifx\@
extratitle
\@
empty
\else\next
@tdpage
\fi
\else
\next
@tpage
\twocolumn
[\@makefrontispiece]
%
\next
@tdpage
\fi
\twocolumn
[\@maketitle]
%
\fi
\else
\ifx\@
extratitle
\@
empty
\ifx\@
frontispiece
\@
empty
\else
\mbox
{}
\fi
\else
\@
makeextratitle
\fi
\ifx\@
frontispiece
\@
empty
\ifx\@
extratitle
\@
empty
\else\next
@tdpage
\fi
\else
\next
@tpage
\@
makefrontispiece
\next
@tdpage
\fi
\@
maketitle
\fi
\ifx\titlepagestyle\@
empty
\else\thispagestyle
{
\titlepagestyle
}
\fi
\@
thanks
\global\let\@
thanks
\@
empty
\endgroup
\fi
\setcounter
{
footnote
}{
0
}
%
\expandafter\ifnum
\csname
scr@v@3.12
\endcsname
>
\scr
@compatibility
\relax
\let\thanks\relax
...
...
@@ -449,6 +402,8 @@
\global\let\@
uppertitleback
\@
empty
\global\let\@
lowertitleback
\@
empty
\global\let\@
dedication
\@
empty
\global\let\@
matrikelnr
\@
empty
\global\let\@
prof
\@
empty
\global\let\author\relax
\global\let\title\relax
\global\let\extratitle\relax
...
...
@@ -459,52 +414,8 @@
\global\let\lowertitleback\relax
\global\let\dedication\relax
\global\let\date\relax
\global\let\matrikelnr\relax
\global\let\professor\relax
\fi
\global\let\and\relax
}
%
\renewcommand*
{
\@
maketitle
}{
%
\global\@
topnum=
\z
@
\setparsizes
{
\z
@
}{
\z
@
}{
\z
@
\@
plus 1fil
}
\par
@updaterelative
% Customised: -----------------------------------------------------------
\IfFileExists
{
\HsHlogoPath
}{}{
\ClassError
{
\myClassName
}{
HsH-Logo.pdf not found!
}{
The HsH Logo is necasary for the titlepage! Try putting it next to your source file or use
\HsHlogoPath
to define the file location
}
}
\vspace*
{
1cm
}
\begin{minipage}
[t]
{
\textwidth
}
%
\ifx\@
titlehead
\@
empty
\else
\usekomafont
{
titlehead
}{
\@
titlehead
}
%
\fi
\hfill
\raisebox
{
0pt
}
[
\ht\strutbox
][
\dp\strutbox
]
{
\includeHsHlogohere
}
\end{minipage}
\raisebox
{
10pt
}{
\rule
{
\textwidth
}{
0.5pt
}}
% end Customised: --------------------------------------------------------
\null
\vskip
2em
%
\begin{center}
%
\ifx\@
subject
\@
empty
\else
{
\usekomafont
{
subject
}{
\@
subject
\par
}}
%
\vskip
1.5em
\fi
{
\usekomafont
{
title
}{
\huge
\@
title
\par
}}
%
\vskip
.5em
{
\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: --------------------------------------------------------
\vskip
1em
%
{
\usekomafont
{
date
}{
\@
date
\par
}}
%
\vskip
\z
@
\@
plus 1em
%{\usekomafont{publishers}{\@publishers \par}}%
\ifx\@
dedication
\@
empty
\else
\vskip
2em
{
\usekomafont
{
dedication
}{
\@
dedication
\par
}}
%
\fi
\end{center}
%
\par
\vskip
2em
}
%
This diff is collapsed.
Click to expand it.
src/config.tex
+
7
−
8
View file @
32d396e3
...
...
@@ -18,7 +18,7 @@
url=true,
isbn=false,
}
}
}
{}
%
\@
ifpackageloaded
{
siunitx
}{
\if
@german
% if german
\sisetup
{
output-decimal-marker=
{
,
}}
% use comma as dezimal
...
...
@@ -31,7 +31,7 @@
round-mode = places,
% round numbers
round-precision = 3,
% to 3 places
}
}
}
{}
%
\@
ifpackageloaded
{
listings
}{
\lstset
{
commentstyle=
\color
{
gray
}
,
...
...
@@ -43,16 +43,16 @@
literate=
{
Ö
}{{
\"
O
}}
1
{
Ä
}{{
\"
A
}}
1
{
Ü
}{{
\"
U
}}
1
{
ß
}{{
\ss
}}
1
{
ü
}{{
\"
u
}}
1
{
ä
}{{
\"
a
}}
1
{
ö
}{{
\"
o
}}
1,
escapeinside=
{
(*@
}{
@*)
}
,
}
}
}
{}
%
\@
ifpackageloaded
{
csvsimple
}{
\csvstyle
{
every csv
}{
separator=semicolon
}
}
}
{}
%
\@
ifpackageloaded
{
circuitikz
}{
\ctikzset
{
font=
\footnotesize
,
bipole annotation style/.style=
{
font=
\tiny
,inner sep=1pt
}
,
}
}
}
{}
%
\@
ifpackageloaded
{
pgfplots
}{
\usepgfplotslibrary
{
fillbetween
}
% mark areas under or between graphs
\usetikzlibrary
{
patterns
}
% for using pattern in plots
...
...
@@ -78,10 +78,9 @@
error mark options=
{
mark size=1pt,rotate=90
}}
,
}
}
}
}
{}
%
\@
ifpackageloaded
{
pgfplotstable
}{
\pgfplotstableset
{
col sep=semicolon,
% global seperator for csv files
}
}
\endinput
% needed to end lats \@ifpackageloaded
}{}
%
This diff is collapsed.
Click to expand it.
src/personal.tex
+
6
−
0
View file @
32d396e3
% \extratitle{SCHMUTZTITEL}
\author
{
Max Mustermann,
Mira Musterfrau
}
\matrikelnr
{
1234567,
9876543
}
\titlehead
{
titlehead
}
\subject
{
Subject
}
\title
{
Title
}
\subtitle
{
Subtitle
}
\date
{
\today
}
\professor
{
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