Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Praxishasen Bericht
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Jan Wille
Praxishasen Bericht
Commits
cc51f224
Commit
cc51f224
authored
4 years ago
by
Jan Wille
Browse files
Options
Downloads
Plain Diff
Merge branch 'development'
parents
a820c1a7
7e5b93b3
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
README.md
+3
-3
3 additions, 3 deletions
README.md
src/HsH-article.cls
+26
-27
26 additions, 27 deletions
src/HsH-article.cls
src/HsH-report.cls
+25
-26
25 additions, 26 deletions
src/HsH-report.cls
src/HsH-standalone.cls
+12
-13
12 additions, 13 deletions
src/HsH-standalone.cls
with
66 additions
and
69 deletions
README.md
+
3
−
3
View file @
cc51f224
This diff is collapsed.
Click to expand it.
src/HsH-article.cls
+
26
−
27
View file @
cc51f224
...
@@ -32,40 +32,39 @@
...
@@ -32,40 +32,39 @@
\newif\if
@german
%
\newif\if
@german
%
%% document options -------------------------------------------------------------------------------
%% document options -------------------------------------------------------------------------------
\DeclareOption
{
german
}{
%
\DeclareOption
{
german
}{
\@
germantrue
\@
germantrue
}
}
\DeclareOption
{
ngerman
}{
%
\DeclareOption
{
ngerman
}{
\@
germantrue
\@
germantrue
}
}
\DeclareOption
{
english
}{
%
\DeclareOption
{
english
}{
\@
germanfalse
\@
germanfalse
}
}
\DeclareOption
{
f1
}{
% use logo of fakulty 1
\DeclareOption
{
f1
}{
\renewcommand
{
\HsHlogoPage
}{
2
}
\renewcommand
{
\HsHlogoPage
}{
2
}
}
}
\DeclareOption
{
f2
}{
% use logo of fakulty 2
\DeclareOption
{
f2
}{
\renewcommand
{
\HsHlogoPage
}{
3
}
\renewcommand
{
\HsHlogoPage
}{
3
}
}
}
\DeclareOption
{
f3
}{
% use logo of fakulty 3
\DeclareOption
{
f3
}{
\renewcommand
{
\HsHlogoPage
}{
4
}
\renewcommand
{
\HsHlogoPage
}{
4
}
}
}
\DeclareOption
{
f4
}{
% use logo of fakulty 4
\DeclareOption
{
f4
}{
\renewcommand
{
\HsHlogoPage
}{
5
}
\renewcommand
{
\HsHlogoPage
}{
5
}
}
}
\DeclareOption
{
f5
}{
% use logo of fakulty 5
\DeclareOption
{
f5
}{
\renewcommand
{
\HsHlogoPage
}{
6
}
\renewcommand
{
\HsHlogoPage
}{
6
}
}
}
\DeclareOption
{
sans
}{
% use san serif font
\DeclareOption
{
sans
}{
\renewcommand
{
\familydefault
}{
\sfdefault
}
\renewcommand
{
\familydefault
}{
\sfdefault
}
}
}
\DeclareOption
{
roman
}{
% use roman/serif font
\DeclareOption
{
roman
}{
\renewcommand
{
\familydefault
}{
\rmdefault
}
\renewcommand
{
\familydefault
}{
\rmdefault
}
}
}
\DeclareOption*
{
\PassOptionsToClass
{
\CurrentOption
}{
scrartcl
}}
\DeclareOption*
{
\PassOptionsToClass
{
\CurrentOption
}{
scrartcl
}}
\ExecuteOptions
{
fontsize=11pt,a4paper,ngerman,sans
}
%
standar
t options
\ExecuteOptions
{
fontsize=11pt,a4paper,ngerman,sans
}
%
defaul
t options
\ProcessOptions\relax
\ProcessOptions\relax
%% Load KOMA class
%% Load KOMA class
\LoadClass
{
scrartcl
}
\LoadClass
{
scrartcl
}
\KOMAoption
{
toc
}{
bibliography,listof
}
\KOMAoption
{
toc
}{
bibliography,listof
}
...
@@ -75,7 +74,7 @@
...
@@ -75,7 +74,7 @@
\RequirePackage
{
inputenc
}
\RequirePackage
{
inputenc
}
\PassOptionsToPackage
{
T1
}{
fontenc
}
\PassOptionsToPackage
{
T1
}{
fontenc
}
\RequirePackage
{
fontenc
}
\RequirePackage
{
fontenc
}
\RequirePackage
{
lmodern
}
% font
\RequirePackage
{
lmodern
}
\RequirePackage
{
graphicx
}
\RequirePackage
{
graphicx
}
\RequirePackage
{
amsmath
}
\RequirePackage
{
amsmath
}
\if
@german
\RequirePackage
{
ziffer
}
\fi
\if
@german
\RequirePackage
{
ziffer
}
\fi
...
@@ -100,12 +99,12 @@
...
@@ -100,12 +99,12 @@
\PassOptionsToPackage
{
european,EFvoltages,straightvoltages,betterproportions
}{
circuitikz
}
\PassOptionsToPackage
{
european,EFvoltages,straightvoltages,betterproportions
}{
circuitikz
}
%% title matters ----------------------------------------------------------------------------------
%% title matters ----------------------------------------------------------------------------------
\newcommand*
{
\@
matrikelnr
}{}
%
\newcommand*
{
\@
matrikelnr
}{}
\newcommand
{
\matrikelnr
}
[1]
{
\gdef\@
matrikelnr
{
#1
}}
%
\newcommand
{
\matrikelnr
}
[1]
{
\gdef\@
matrikelnr
{
#1
}}
\newcommand*
{
\@
professor
}{}
%
\newcommand*
{
\@
professor
}{}
\newcommand
{
\professor
}
[1]
{
\gdef\@
professor
{
#1
}}
%
\newcommand
{
\professor
}
[1]
{
\gdef\@
professor
{
#1
}}
\newcommand*
{
\@
keywords
}{}
%
\newcommand*
{
\@
keywords
}{}
\newcommand
{
\keywords
}
[1]
{
\gdef\@
keywords
{
#1
}}
%
\newcommand
{
\keywords
}
[1]
{
\gdef\@
keywords
{
#1
}}
\let\@
author
\@
empty
\let\@
author
\@
empty
\let\@
keywords
\@
empty
\let\@
keywords
\@
empty
...
@@ -148,9 +147,9 @@
...
@@ -148,9 +147,9 @@
\renewcommand
{
\labelitemiv
}{$
\cdot
$}
\renewcommand
{
\labelitemiv
}{$
\cdot
$}
%% do stuff
%% do stuff
\setlength\parindent
{
0pt
}
% indentation of new paragraphs
\setlength\parindent
{
0pt
}
\raggedbottom
\raggedbottom
\renewcommand
{
\layercontentsmeasure
}{
\empty
}
% rulers when using draft disabled
\renewcommand
{
\layercontentsmeasure
}{
\
@
empty
}
%% custom commands
%% custom commands
\newcommand
{
\uproman
}
[1]
{
\uppercase\expandafter
{
\romannumeral
#1
}}
\newcommand
{
\uproman
}
[1]
{
\uppercase\expandafter
{
\romannumeral
#1
}}
...
@@ -174,14 +173,14 @@
...
@@ -174,14 +173,14 @@
\makeatother
\makeatother
}
}
%% nicer abstract ---------------------------------------------------------------------------------
%% nicer abstract ---------------------------------------------------------------------------------
\renewenvironment
{
abstract
}{
%
\renewenvironment
{
abstract
}{
\section*
{
\centering\abstractname
}
\addcontentsline
{
toc
}{
chapter
}{
\abstractname
}
\small
\quotation
\quotation
\setlength\parindent
{
0pt
}
\section*
{
\abstractname
}
\addcontentsline
{
toc
}{
section
}{
\abstractname
}
}{
%
}{
%
\ifx\@
keywords
\@
empty
\else
\ifx\@
keywords
\@
empty
\else
\vs
pace
{
1cm
}
\vs
kip
0.5em
\paragraph
{
\if
@german Schlüsselwörter:
\else
Keywords:
\fi
}
\paragraph
{
\if
@german Schlüsselwörter:
\else
Keywords:
\fi
}
\@
keywords
\@
keywords
\fi
\fi
...
...
This diff is collapsed.
Click to expand it.
src/HsH-report.cls
+
25
−
26
View file @
cc51f224
...
@@ -32,40 +32,39 @@
...
@@ -32,40 +32,39 @@
\newif\if
@german
%
\newif\if
@german
%
%% document options -------------------------------------------------------------------------------
%% document options -------------------------------------------------------------------------------
\DeclareOption
{
german
}{
%
\DeclareOption
{
german
}{
\@
germantrue
\@
germantrue
}
}
\DeclareOption
{
ngerman
}{
%
\DeclareOption
{
ngerman
}{
\@
germantrue
\@
germantrue
}
}
\DeclareOption
{
english
}{
%
\DeclareOption
{
english
}{
\@
germanfalse
\@
germanfalse
}
}
\DeclareOption
{
f1
}{
% use logo of fakulty 1
\DeclareOption
{
f1
}{
\renewcommand
{
\HsHlogoPage
}{
2
}
\renewcommand
{
\HsHlogoPage
}{
2
}
}
}
\DeclareOption
{
f2
}{
% use logo of fakulty 2
\DeclareOption
{
f2
}{
\renewcommand
{
\HsHlogoPage
}{
3
}
\renewcommand
{
\HsHlogoPage
}{
3
}
}
}
\DeclareOption
{
f3
}{
% use logo of fakulty 3
\DeclareOption
{
f3
}{
\renewcommand
{
\HsHlogoPage
}{
4
}
\renewcommand
{
\HsHlogoPage
}{
4
}
}
}
\DeclareOption
{
f4
}{
% use logo of fakulty 4
\DeclareOption
{
f4
}{
\renewcommand
{
\HsHlogoPage
}{
5
}
\renewcommand
{
\HsHlogoPage
}{
5
}
}
}
\DeclareOption
{
f5
}{
% use logo of fakulty 5
\DeclareOption
{
f5
}{
\renewcommand
{
\HsHlogoPage
}{
6
}
\renewcommand
{
\HsHlogoPage
}{
6
}
}
}
\DeclareOption
{
sans
}{
% use san serif font
\DeclareOption
{
sans
}{
\renewcommand
{
\familydefault
}{
\sfdefault
}
\renewcommand
{
\familydefault
}{
\sfdefault
}
}
}
\DeclareOption
{
roman
}{
% use roman/serif font
\DeclareOption
{
roman
}{
\renewcommand
{
\familydefault
}{
\rmdefault
}
\renewcommand
{
\familydefault
}{
\rmdefault
}
}
}
\DeclareOption*
{
\PassOptionsToClass
{
\CurrentOption
}{
scrreprt
}}
\DeclareOption*
{
\PassOptionsToClass
{
\CurrentOption
}{
scrreprt
}}
\ExecuteOptions
{
fontsize=11pt,a4paper,ngerman,sans
}
%
standar
t options
\ExecuteOptions
{
fontsize=11pt,a4paper,ngerman,sans
}
%
defaul
t options
\ProcessOptions\relax
\ProcessOptions\relax
%% Load KOMA class
%% Load KOMA class
\LoadClass
{
scrreprt
}
\LoadClass
{
scrreprt
}
\KOMAoption
{
toc
}{
bibliography,listof
}
\KOMAoption
{
toc
}{
bibliography,listof
}
...
@@ -75,7 +74,7 @@
...
@@ -75,7 +74,7 @@
\RequirePackage
{
inputenc
}
\RequirePackage
{
inputenc
}
\PassOptionsToPackage
{
T1
}{
fontenc
}
\PassOptionsToPackage
{
T1
}{
fontenc
}
\RequirePackage
{
fontenc
}
\RequirePackage
{
fontenc
}
\RequirePackage
{
lmodern
}
% font
\RequirePackage
{
lmodern
}
\RequirePackage
{
graphicx
}
\RequirePackage
{
graphicx
}
\RequirePackage
{
amsmath
}
\RequirePackage
{
amsmath
}
\if
@german
\RequirePackage
{
ziffer
}
\fi
\if
@german
\RequirePackage
{
ziffer
}
\fi
...
@@ -100,12 +99,12 @@
...
@@ -100,12 +99,12 @@
\PassOptionsToPackage
{
european,EFvoltages,straightvoltages,betterproportions
}{
circuitikz
}
\PassOptionsToPackage
{
european,EFvoltages,straightvoltages,betterproportions
}{
circuitikz
}
%% title matters ----------------------------------------------------------------------------------
%% title matters ----------------------------------------------------------------------------------
\newcommand*
{
\@
matrikelnr
}{}
%
\newcommand*
{
\@
matrikelnr
}{}
\newcommand
{
\matrikelnr
}
[1]
{
\gdef\@
matrikelnr
{
#1
}}
%
\newcommand
{
\matrikelnr
}
[1]
{
\gdef\@
matrikelnr
{
#1
}}
\newcommand*
{
\@
professor
}{}
%
\newcommand*
{
\@
professor
}{}
\newcommand
{
\professor
}
[1]
{
\gdef\@
professor
{
#1
}}
%
\newcommand
{
\professor
}
[1]
{
\gdef\@
professor
{
#1
}}
\newcommand*
{
\@
keywords
}{}
%
\newcommand*
{
\@
keywords
}{}
\newcommand
{
\keywords
}
[1]
{
\gdef\@
keywords
{
#1
}}
%
\newcommand
{
\keywords
}
[1]
{
\gdef\@
keywords
{
#1
}}
\let\@
author
\@
empty
\let\@
author
\@
empty
\let\@
keywords
\@
empty
\let\@
keywords
\@
empty
...
@@ -149,9 +148,9 @@
...
@@ -149,9 +148,9 @@
\renewcommand
{
\labelitemiv
}{$
\cdot
$}
\renewcommand
{
\labelitemiv
}{$
\cdot
$}
%% do stuff
%% do stuff
\setlength\parindent
{
0pt
}
% indentation of new paragraphs
\setlength\parindent
{
0pt
}
\raggedbottom
\raggedbottom
\renewcommand
{
\layercontentsmeasure
}{
\empty
}
% rulers when using draft disabled
\renewcommand
{
\layercontentsmeasure
}{
\
@
empty
}
%% custom commands
%% custom commands
\newcommand
{
\uproman
}
[1]
{
\uppercase\expandafter
{
\romannumeral
#1
}}
\newcommand
{
\uproman
}
[1]
{
\uppercase\expandafter
{
\romannumeral
#1
}}
...
@@ -175,14 +174,14 @@
...
@@ -175,14 +174,14 @@
\makeatother
\makeatother
}
}
%% nicer abstract ---------------------------------------------------------------------------------
%% nicer abstract ---------------------------------------------------------------------------------
\renewenvironment
{
abstract
}{
%
\renewenvironment
{
abstract
}{
\chapter*
{
\centering\abstractname
}
\addcontentsline
{
toc
}{
chapter
}{
\abstractname
}
\small
\quotation
\quotation
\setlength\parindent
{
0pt
}
\chapter*
{
\abstractname
}
\addcontentsline
{
toc
}{
chapter
}{
\abstractname
}
}{
%
}{
%
\ifx\@
keywords
\@
empty
\else
\ifx\@
keywords
\@
empty
\else
\vs
pace
{
1cm
}
\vs
kip
2em
\paragraph
{
\if
@german Schlüsselwörter:
\else
Keywords:
\fi
}
\paragraph
{
\if
@german Schlüsselwörter:
\else
Keywords:
\fi
}
\@
keywords
\@
keywords
\fi
\fi
...
...
This diff is collapsed.
Click to expand it.
src/HsH-standalone.cls
+
12
−
13
View file @
cc51f224
...
@@ -32,40 +32,39 @@
...
@@ -32,40 +32,39 @@
\newif\if
@german
%
\newif\if
@german
%
%% document options -------------------------------------------------------------------------------
%% document options -------------------------------------------------------------------------------
\DeclareOption
{
german
}{
%
\DeclareOption
{
german
}{
\@
germantrue
\@
germantrue
}
}
\DeclareOption
{
ngerman
}{
%
\DeclareOption
{
ngerman
}{
\@
germantrue
\@
germantrue
}
}
\DeclareOption
{
english
}{
%
\DeclareOption
{
english
}{
\@
germanfalse
\@
germanfalse
}
}
\DeclareOption
{
f1
}{
% use logo of fakulty 1
\DeclareOption
{
f1
}{
\renewcommand
{
\HsHlogoPage
}{
2
}
\renewcommand
{
\HsHlogoPage
}{
2
}
}
}
\DeclareOption
{
f2
}{
% use logo of fakulty 2
\DeclareOption
{
f2
}{
\renewcommand
{
\HsHlogoPage
}{
3
}
\renewcommand
{
\HsHlogoPage
}{
3
}
}
}
\DeclareOption
{
f3
}{
% use logo of fakulty 3
\DeclareOption
{
f3
}{
\renewcommand
{
\HsHlogoPage
}{
4
}
\renewcommand
{
\HsHlogoPage
}{
4
}
}
}
\DeclareOption
{
f4
}{
% use logo of fakulty 4
\DeclareOption
{
f4
}{
\renewcommand
{
\HsHlogoPage
}{
5
}
\renewcommand
{
\HsHlogoPage
}{
5
}
}
}
\DeclareOption
{
f5
}{
% use logo of fakulty 5
\DeclareOption
{
f5
}{
\renewcommand
{
\HsHlogoPage
}{
6
}
\renewcommand
{
\HsHlogoPage
}{
6
}
}
}
\DeclareOption
{
sans
}{
% use san serif font
\DeclareOption
{
sans
}{
\renewcommand
{
\familydefault
}{
\sfdefault
}
\renewcommand
{
\familydefault
}{
\sfdefault
}
}
}
\DeclareOption
{
roman
}{
% use roman/serif font
\DeclareOption
{
roman
}{
\renewcommand
{
\familydefault
}{
\rmdefault
}
\renewcommand
{
\familydefault
}{
\rmdefault
}
}
}
\DeclareOption*
{
\PassOptionsToClass
{
\CurrentOption
}{
standalone
}}
\DeclareOption*
{
\PassOptionsToClass
{
\CurrentOption
}{
standalone
}}
\ExecuteOptions
{
margin=0.25cm,fontsize=11pt,a4paper,ngerman,sans
}
%
standar
t options
\ExecuteOptions
{
margin=0.25cm,fontsize=11pt,a4paper,ngerman,sans
}
%
defaul
t options
\ProcessOptions\relax
\ProcessOptions\relax
%% Load KOMA class
%% Load KOMA class
\LoadClass
[multi=tikzpicture,multi=circuitikz]
{
standalone
}
\LoadClass
[multi=tikzpicture,multi=circuitikz]
{
standalone
}
...
@@ -74,7 +73,7 @@
...
@@ -74,7 +73,7 @@
\RequirePackage
{
inputenc
}
\RequirePackage
{
inputenc
}
\PassOptionsToPackage
{
T1
}{
fontenc
}
\PassOptionsToPackage
{
T1
}{
fontenc
}
\RequirePackage
{
fontenc
}
\RequirePackage
{
fontenc
}
\RequirePackage
{
lmodern
}
% font
\RequirePackage
{
lmodern
}
\RequirePackage
{
graphicx
}
\RequirePackage
{
graphicx
}
\RequirePackage
{
amsmath
}
\RequirePackage
{
amsmath
}
\if
@german
\RequirePackage
{
ziffer
}
\fi
\if
@german
\RequirePackage
{
ziffer
}
\fi
...
...
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