Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
Bachelorarbeit
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Analyze
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
Bachelorarbeit
Commits
b39e6e36
Commit
b39e6e36
authored
4 years ago
by
Jan Wille
Browse files
Options
Downloads
Patches
Plain Diff
optinales deutsches paket für dezimalzahltrennung
parent
90acce09
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/HsH-report.cls
+7
-3
7 additions, 3 deletions
src/HsH-report.cls
src/config.tex
+10
-1
10 additions, 1 deletion
src/config.tex
test.tex
+1
-1
1 addition, 1 deletion
test.tex
with
18 additions
and
5 deletions
src/HsH-report.cls
+
7
−
3
View file @
b39e6e36
...
...
@@ -10,13 +10,16 @@
\newcommand
{
\includeHsHlogohere
}{
\raisebox
{
0pt
}
[
\ht\strutbox
][
\dp\strutbox
]
{
\includegraphics
[width=5cm,page=\HsHlogoPage]
{
\HsHlogoPath
}}}
\providecommand
{
\abs
}
[1]
{
\ensuremath
{
\left\vert
#1
\right\vert
}}
% Makro für Betragsstriche
\newif\if
@german
%
\DeclareOption
{
ngerman
}{
%
\PassOptionsToPackage
{
\CurrentOption
}{
babel
}
\renewcaptionname
{
ngerman
}{
\figurename
}{
Abb.
}
%Figure
\renewcaptionname
{
ngerman
}{
\tablename
}{
Tab.
}
%Table
\@
germantrue
}
\DeclareOption
{
english
}{
%
\PassOptionsToPackage
{
\CurrentOption
,main=english
}{
babel
}
\PassOptionsToPackage
{
\CurrentOption
}{
babel
}
\renewcaptionname
{
english
}{
\figurename
}{
Fig.
}
%Figure
\renewcaptionname
{
english
}{
\tablename
}{
Tab.
}
%Table
}
...
...
@@ -37,7 +40,7 @@
}
\DeclareOption*
{
\PassOptionsToClass
{
\CurrentOption
}{
scrreprt
}}
\ExecuteOptions
{
ngerman
}
\@
ifclasswith
{
\myClassName
}{
english
}{}{
\@
ifclasswith
{
\myClassName
}{
ngerman
}{}{
\ExecuteOptions
{
ngerman
}
}}
\ProcessOptions\relax
\InputIfFileExists
{
personal.tex
}{
...
...
@@ -50,9 +53,9 @@
\PassOptionsToPackage
{
utf8
}{
inputenc
}
\PassOptionsToPackage
{
T1
}{
fontenc
}
\PassOptionsToPackage
{
left=3cm,right=2.5cm,top=3cm,bottom=3cm
}{
geometry
}
\PassOptionsToPackage
{
free-standing-units
}{
siunitx
}
\PassOptionsToPackage
{
babel, german=quotes
}{
csquotes
}
\PassOptionsToPackage
{
headsepline
}{
scrlayer-scrpage
}
\PassOptionsToPackage
{
free-standing-units
}{
siunitx
}
%used packages:
\RequirePackage
{
inputenc
}
% inputencoding, utf8 recomendet
...
...
@@ -64,6 +67,7 @@
\RequirePackage
{
scrlayer-scrpage
}
% required for header and footer
\RequirePackage
{
scrhack
}
% compatability with listings
\RequirePackage
{
pgffor
}
% foreach loops
\if
@german
\RequirePackage
{
ziffer
}
\fi
% german dezimal numbers
% should these be in?
\RequirePackage
{
subfigure
}
...
...
This diff is collapsed.
Click to expand it.
src/config.tex
+
10
−
1
View file @
b39e6e36
\renewc
aptionname
{
nger
man
}{
\abstractname
}
{
Abstract
}
%Abstract
\renewc
om
man
d
\abstractname
{
Abstract
}
%Abstract
\@
ifpackageloaded
{
biblatex
}{
\ExecuteBibliographyOptions
{
sorting=nyt,
...
...
@@ -32,3 +32,12 @@
escapeinside=
{
(*@
}{
@*)
}
,
}
}{}
%
\@
ifpackageloaded
{
listings
}{
\ctikzset
{
font=
\footnotesize
,
resistors/scale=0.7,
transistors/scale=0.75,
default/scale=0.5,
bipole annotation style/.style=
{
font=
\tiny
,inner sep=1pt
}
,
}
}{}
%
This diff is collapsed.
Click to expand it.
test.tex
+
1
−
1
View file @
b39e6e36
...
...
@@ -3,7 +3,6 @@
\usepackage
{
color
}
\usepackage
{
lipsum
}
\usepackage
{
siunitx
}
\usepackage
{
ziffer
}
\begin{document}
...
...
@@ -33,6 +32,7 @@
mit einheit:
$
R
=
200
\,\milli\ohm
+
\SI
{
0
.
34567453
}{
\volt\per\metre
}$
\vspace
{
2cm
}
\\
eine zahl:
$
3
,
5
+
3
.
5
$
\\
...
...
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