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
45bc1aa4
Commit
45bc1aa4
authored
4 years ago
by
Jan Wille
Browse files
Options
Downloads
Plain Diff
Merge branch 'development'
parents
cde80f41
2f5b3c05
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
Makefile
+1
-1
1 addition, 1 deletion
Makefile
src/HsH-article.cls
+42
-23
42 additions, 23 deletions
src/HsH-article.cls
src/HsH-report.cls
+43
-33
43 additions, 33 deletions
src/HsH-report.cls
src/HsH-standalone.cls
+2
-3
2 additions, 3 deletions
src/HsH-standalone.cls
src/config.tex
+4
-0
4 additions, 0 deletions
src/config.tex
with
92 additions
and
60 deletions
Makefile
+
1
−
1
View file @
45bc1aa4
...
@@ -7,7 +7,7 @@ SUBDIRS = svg plt crc
...
@@ -7,7 +7,7 @@ SUBDIRS = svg plt crc
OUTDIR
=
build
OUTDIR
=
build
TEX_FLAGS
=
-file-line-error
-interaction
=
nonstopmode
TEX_FLAGS
=
-file-line-error
-interaction
=
nonstopmode
COM_FLAGS
=
-output-directory
=
$(
OUTDIR
)
-quiet
COM_FLAGS
=
-output-directory
=
$(
OUTDIR
)
-quiet
GARBAGE_PATTERNS
=
*
.aux
*
.bbl
*
.bcf
*
.blg
*
.idx
*
.ind
*
.lof
*
.lot
*
.log
*
.xml
*
.toc
GARBAGE_PATTERNS
=
*
.aux
*
.bbl
*
.bib
*
.bcf
*
.blg
*
.idx
*
.ind
*
.lof
*
.lot
*
.log
*
.xml
*
.toc
SUB_TEX_FILES
=
$(
foreach D,
$(
SUBDIRS
)
,
$(
wildcard
$(
D
)
/
*
.tex
))
SUB_TEX_FILES
=
$(
foreach D,
$(
SUBDIRS
)
,
$(
wildcard
$(
D
)
/
*
.tex
))
SUB_PDF_FILES
=
$(
join
$(
dir
$(
SUB_TEX_FILES
))
,
$(
addprefix
$(
OUTDIR
)
/,
$(
notdir
$(
SUB_TEX_FILES:tex
=
pdf
))))
SUB_PDF_FILES
=
$(
join
$(
dir
$(
SUB_TEX_FILES
))
,
$(
addprefix
$(
OUTDIR
)
/,
$(
notdir
$(
SUB_TEX_FILES:tex
=
pdf
))))
...
...
This diff is collapsed.
Click to expand it.
src/HsH-article.cls
+
42
−
23
View file @
45bc1aa4
...
@@ -90,8 +90,9 @@
...
@@ -90,8 +90,9 @@
% config for title, header and footer
% config for title, header and footer
\newcommand*
{
\@
matrikelnr
}{}
%
\newcommand*
{
\@
matrikelnr
}{}
%
\newcommand
{
\matrikelnr
}
[1]
{
\gdef\@
matrikelnr
{
#1
}}
%
\newcommand
{
\matrikelnr
}
[1]
{
\gdef\@
matrikelnr
{
#1
}}
%
\newcommand*
{
\@
prof
}{}
%
\newcommand*
{
\@
professor
}{}
%
\newcommand
{
\professor
}
[1]
{
\gdef\@
prof
{
#1
}}
%
\newcommand
{
\professor
}
[1]
{
\gdef\@
professor
{
#1
}}
%
\let\@
author
\@
empty
\InputIfFileExists
{
personal.tex
}{
\InputIfFileExists
{
personal.tex
}{
\ClassInfo
{
\myClassName
}{
personal.tex was found. Using it...
}
\ClassInfo
{
\myClassName
}{
personal.tex was found. Using it...
}
}{
}{
...
@@ -118,6 +119,11 @@
...
@@ -118,6 +119,11 @@
\renewcommand
{
\labelitemiii
}{$
-
$}
\renewcommand
{
\labelitemiii
}{$
-
$}
\renewcommand
{
\labelitemiv
}{$
\cdot
$}
\renewcommand
{
\labelitemiv
}{$
\cdot
$}
% custom commands
\newcommand
{
\includeHsHlogohere
}
[1][5cm]
{
\includegraphics
[width=#1,page=\HsHlogoPage]
{
\HsHlogoPath
}}
\newcommand
{
\uproman
}
[1]
{
\uppercase\expandafter
{
\romannumeral
#1
}}
\newcommand
{
\lowroman
}
[1]
{
\romannumeral
#1
\relax
}
% do stuff
% do stuff
\setlength\parindent
{
0pt
}
% indentation of new paragraphs
\setlength\parindent
{
0pt
}
% indentation of new paragraphs
\raggedbottom
\raggedbottom
...
@@ -126,9 +132,39 @@
...
@@ -126,9 +132,39 @@
\renewcommand
{
\layercontentsmeasure
}{
\empty
}
% rulers when using draft disabled
\renewcommand
{
\layercontentsmeasure
}{
\empty
}
% rulers when using draft disabled
\MakeOuterQuote
{
"
}
% easy quotationmarks
\MakeOuterQuote
{
"
}
% easy quotationmarks
% custom commands
\newcommand
{
\includeHsHlogohere
}
[1][5cm]
{
\includegraphics
[width=#1,page=\HsHlogoPage]
{
\HsHlogoPath
}}
% load config at beginning of document
\AtBeginDocument
{
\makeatletter
% solve some common errors:
\@
ifpackageloaded
{
biblatex
}{
\renewcommand*
{
\mkbibacro
}
[1]
{
\MakeUppercase
{
#1
}}
% solves fontype warning in San-Serif
}{}
%
\@
ifpackageloaded
{
subfigure
}{
\newcommand
{
\subfigureautorefname
}{
\figureautorefname
}
}{}
%
% input config File:
\InputIfFileExists
{
config.tex
}{
\ClassInfo
{
\myClassName
}{
config.tex was found. Using it...
}
}{
\ClassInfo
{
\myClassName
}{
no config.tex!! I hope you configered it yourself.
}
}
% provide some usefull commands:
\providecommand
{
\abs
}
[1]
{
\ensuremath
{
\left\vert
#1
\right\vert
}}
% Makro for vertical lines around absolute values
\providecommand
{
\abs
}
[1]
{
\ensuremath
{
\left\vert
#1
\right\vert
}}
% Makro for vertical lines around absolute values
\makeatother
}
% nicer abstract:
\renewenvironment
{
abstract
}{
%
\chapter*
{
\centering\abstractname
}
\addcontentsline
{
toc
}{
chapter
}{
\abstractname
}
\small
\quotation
}{
%
\endquotation
}
% decloration of Authorship
\newcommand\declarationAuthorship
{
\newcommand\declarationAuthorship
{
\thispagestyle
{
plain
}
\thispagestyle
{
plain
}
\vspace*
{
\fill
}
\vspace*
{
\fill
}
...
@@ -162,8 +198,8 @@
...
@@ -162,8 +198,8 @@
\newcommand
{
\proniomeverb
}{
am
}
\newcommand
{
\proniomeverb
}{
am
}
\foreach
\x
[count=
\i
] in
\@
author
{
\foreach
\x
[count=
\i
] in
\@
author
{
\ifnum\i
>1
\ifnum\i
>1
\gdef\pronomenf
{
We
}
\gdef\pronomen
{
we
}
\gdef\pronomen
{
we
}
\gdef\pronomenf
{
We
}
\gdef\genitiv
{
our
}
\gdef\genitiv
{
our
}
\gdef\proniomeverb
{
are
}
\gdef\proniomeverb
{
are
}
\else\fi
\else\fi
...
@@ -187,23 +223,6 @@
...
@@ -187,23 +223,6 @@
\end{flushright}
\end{flushright}
}
}
% load config at beginning of document
\AtBeginDocument
{
\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...
}
}{
\ClassInfo
{
\myClassName
}{
no config.tex!! I hope you configered it yourself.
}
}
\makeatother
}
% reconfig Titlepage
% reconfig Titlepage
\renewcommand\maketitle
[1][c]
{
%
\renewcommand\maketitle
[1][c]
{
%
\expandafter\ifnum
\csname
scr@v@3.12
\endcsname
>
\scr
@compatibility
\relax
\expandafter\ifnum
\csname
scr@v@3.12
\endcsname
>
\scr
@compatibility
\relax
...
...
This diff is collapsed.
Click to expand it.
src/HsH-report.cls
+
43
−
33
View file @
45bc1aa4
...
@@ -90,8 +90,9 @@
...
@@ -90,8 +90,9 @@
% config for title, header and footer
% config for title, header and footer
\newcommand*
{
\@
matrikelnr
}{}
%
\newcommand*
{
\@
matrikelnr
}{}
%
\newcommand
{
\matrikelnr
}
[1]
{
\gdef\@
matrikelnr
{
#1
}}
%
\newcommand
{
\matrikelnr
}
[1]
{
\gdef\@
matrikelnr
{
#1
}}
%
\newcommand*
{
\@
prof
}{}
%
\newcommand*
{
\@
professor
}{}
%
\newcommand
{
\professor
}
[1]
{
\gdef\@
prof
{
#1
}}
%
\newcommand
{
\professor
}
[1]
{
\gdef\@
professor
{
#1
}}
%
\let\@
author
\@
empty
\InputIfFileExists
{
personal.tex
}{
\InputIfFileExists
{
personal.tex
}{
\ClassInfo
{
\myClassName
}{
personal.tex was found. Using it...
}
\ClassInfo
{
\myClassName
}{
personal.tex was found. Using it...
}
}{
}{
...
@@ -119,6 +120,11 @@
...
@@ -119,6 +120,11 @@
\renewcommand
{
\labelitemiii
}{$
-
$}
\renewcommand
{
\labelitemiii
}{$
-
$}
\renewcommand
{
\labelitemiv
}{$
\cdot
$}
\renewcommand
{
\labelitemiv
}{$
\cdot
$}
% custom commands
\newcommand
{
\includeHsHlogohere
}
[1][5cm]
{
\includegraphics
[width=#1,page=\HsHlogoPage]
{
\HsHlogoPath
}}
\newcommand
{
\uproman
}
[1]
{
\uppercase\expandafter
{
\romannumeral
#1
}}
\newcommand
{
\lowroman
}
[1]
{
\romannumeral
#1
\relax
}
% do stuff
% do stuff
\setlength\parindent
{
0pt
}
% indentation of new paragraphs
\setlength\parindent
{
0pt
}
% indentation of new paragraphs
\raggedbottom
\raggedbottom
...
@@ -127,9 +133,39 @@
...
@@ -127,9 +133,39 @@
\renewcommand
{
\layercontentsmeasure
}{
\empty
}
% rulers when using draft disabled
\renewcommand
{
\layercontentsmeasure
}{
\empty
}
% rulers when using draft disabled
\MakeOuterQuote
{
"
}
% easy quotationmarks
\MakeOuterQuote
{
"
}
% easy quotationmarks
% custom commands
\newcommand
{
\includeHsHlogohere
}
[1][5cm]
{
\includegraphics
[width=#1,page=\HsHlogoPage]
{
\HsHlogoPath
}}
% load config at beginning of document
\AtBeginDocument
{
\makeatletter
% solve some common errors:
\@
ifpackageloaded
{
biblatex
}{
\renewcommand*
{
\mkbibacro
}
[1]
{
\MakeUppercase
{
#1
}}
% solves fontype warning in San-Serif
}{}
%
\@
ifpackageloaded
{
subfigure
}{
\newcommand
{
\subfigureautorefname
}{
\figureautorefname
}
}{}
%
% input config File:
\InputIfFileExists
{
config.tex
}{
\ClassInfo
{
\myClassName
}{
config.tex was found. Using it...
}
}{
\ClassInfo
{
\myClassName
}{
no config.tex!! I hope you configered it yourself.
}
}
% provide some usefull commands:
\providecommand
{
\abs
}
[1]
{
\ensuremath
{
\left\vert
#1
\right\vert
}}
% Makro for vertical lines around absolute values
\providecommand
{
\abs
}
[1]
{
\ensuremath
{
\left\vert
#1
\right\vert
}}
% Makro for vertical lines around absolute values
\makeatother
}
% nicer abstract:
\renewenvironment
{
abstract
}{
%
\chapter*
{
\centering\abstractname
}
\addcontentsline
{
toc
}{
chapter
}{
\abstractname
}
\small
\quotation
}{
%
\endquotation
}
% decloration of Authorship
\newcommand\declarationAuthorship
{
\newcommand\declarationAuthorship
{
\thispagestyle
{
plain
}
\thispagestyle
{
plain
}
\vspace*
{
\fill
}
\vspace*
{
\fill
}
...
@@ -188,32 +224,6 @@
...
@@ -188,32 +224,6 @@
\end{flushright}
\end{flushright}
}
}
\renewenvironment
{
abstract
}{
%
\chapter*
{
\centering\abstractname
}
\addcontentsline
{
toc
}{
chapter
}{
\abstractname
}
\small
\quotation
}{
%
\endquotation
}
% load config at beginning of document
\AtBeginDocument
{
\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...
}
}{
\ClassInfo
{
\myClassName
}{
no config.tex!! I hope you configered it yourself.
}
}
\makeatother
}
% reconfig Titlepage
% reconfig Titlepage
\renewcommand\maketitle
[1][l]
{
%
\renewcommand\maketitle
[1][l]
{
%
\expandafter\ifnum
\csname
scr@v@3.12
\endcsname
>
\scr
@compatibility
\relax
\expandafter\ifnum
\csname
scr@v@3.12
\endcsname
>
\scr
@compatibility
\relax
...
@@ -331,7 +341,7 @@
...
@@ -331,7 +341,7 @@
\vskip
1.5em
\vskip
1.5em
{
\usekomafont
{
date
}{
\@
date
\par
}}
%
{
\usekomafont
{
date
}{
\@
date
\par
}}
%
\vskip
\z
@
\@
plus3fill
\vskip
\z
@
\@
plus3fill
{
\if\@
prof
\@
empty
\else\usekomafont
{
author
}{
Professor(in)/Lehrbeauftragte(r):
\@
prof
}
\fi
}
{
\if\@
prof
essor
\@
empty
\else\usekomafont
{
author
}{
Professor(in)/Lehrbeauftragte(r):
\@
prof
essor
}
\fi
}
%{\usekomafont{publishers}{\@publishers \par}}%
%{\usekomafont{publishers}{\@publishers \par}}%
\vskip
3em
\vskip
3em
\if\@
param c
\end{center}
\fi
\if\@
param c
\end{center}
\fi
...
@@ -403,7 +413,7 @@
...
@@ -403,7 +413,7 @@
\global\let\@
lowertitleback
\@
empty
\global\let\@
lowertitleback
\@
empty
\global\let\@
dedication
\@
empty
\global\let\@
dedication
\@
empty
\global\let\@
matrikelnr
\@
empty
\global\let\@
matrikelnr
\@
empty
\global\let\@
prof
\@
empty
\global\let\@
prof
essor
\@
empty
\global\let\author\relax
\global\let\author\relax
\global\let\title\relax
\global\let\title\relax
\global\let\extratitle\relax
\global\let\extratitle\relax
...
...
This diff is collapsed.
Click to expand it.
src/HsH-standalone.cls
+
2
−
3
View file @
45bc1aa4
...
@@ -94,9 +94,6 @@
...
@@ -94,9 +94,6 @@
% keep compatible
% keep compatible
\providecommand
{
\renewcaptionname
}
[3]
{}
\providecommand
{
\renewcaptionname
}
[3]
{}
% custom commands
\providecommand
{
\abs
}
[1]
{
\ensuremath
{
\left\vert
#1
\right\vert
}}
% Makro for vertical lines around absolute values
% load config at beginning of document
% load config at beginning of document
\AtBeginDocument
{
\AtBeginDocument
{
\makeatletter
\makeatletter
...
@@ -108,5 +105,7 @@
...
@@ -108,5 +105,7 @@
}{
}{
\ClassInfo
{
\myClassName
}{
no config.tex!! I hope you configured it yourself.
}
\ClassInfo
{
\myClassName
}{
no config.tex!! I hope you configured it yourself.
}
}
}
% provide some usefull commands:
\providecommand
{
\abs
}
[1]
{
\ensuremath
{
\left\vert
#1
\right\vert
}}
% Makro for vertical lines around absolute values
\makeatother
\makeatother
}
}
This diff is collapsed.
Click to expand it.
src/config.tex
+
4
−
0
View file @
45bc1aa4
...
@@ -44,6 +44,10 @@
...
@@ -44,6 +44,10 @@
escapeinside=
{
(*@
}{
@*)
}
,
escapeinside=
{
(*@
}{
@*)
}
,
}
}
}{}
%
}{}
%
\@
ifpackageloaded
{
enumitem
}{
\newlist
{
checklist
}{
itemize
}{
2
}
\setlist
[checklist]
{
label=
$
\square
$}
}{}
%
\@
ifpackageloaded
{
csvsimple
}{
\@
ifpackageloaded
{
csvsimple
}{
\csvstyle
{
every csv
}{
separator=semicolon
}
\csvstyle
{
every csv
}{
separator=semicolon
}
}{}
%
}{}
%
...
...
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