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
f72f5a76
Commit
f72f5a76
authored
4 years ago
by
Jan Wille
Browse files
Options
Downloads
Patches
Plain Diff
generated the src files from dtx
parent
d4cd57d5
No related branches found
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
src/HsH-article.cls
+312
-281
312 additions, 281 deletions
src/HsH-article.cls
src/HsH-report.cls
+368
-342
368 additions, 342 deletions
src/HsH-report.cls
src/HsH-standalone.cls
+78
-57
78 additions, 57 deletions
src/HsH-standalone.cls
src/config.tex
+79
-97
79 additions, 97 deletions
src/config.tex
with
837 additions
and
777 deletions
src/HsH-article.cls
+
312
−
281
View file @
f72f5a76
\typeout
{
Adapted from KOMA script for use in Hochschule Hannover <2022-03-20> Jan Wille
}
%%
%% This is file `HsH-article.cls',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% HsH-classes.dtx (with options: `article')
%%
%% This is a generated file.
%%
%% Copyright (C) 2021 by Jan Wille <mail@janwille.de>
%%
%% This file may be distributed and/or modified under the conditions of
%% the LaTeX Project Public License, either version 1.3 of this license
%% or (at your option) any later version. The latest version of this
%% license is in:
%%
%% http://www.latex-project.org/lppl.txt
%%
%% and version 1.3 or later is part of all distributions of LaTeX version
%% 2021/01/01 or later.
%%
\typeout
{
Adapted from KOMA script for use in Hochschule Hannover <2021-03-18> Jan Wille
}
\NeedsTeXFormat
{
LaTeX2e
}
\newcommand
{
\myClassName
}{
HsH-article
}
\ProvidesClass
{
\myClassName
}
[2021/03/
20 HsH Report
based on KOMA]
\ProvidesClass
{
\myClassName
}
[2021/03/
18 v1.0 HsH-Class
based on KOMA]
%% commands for HsH-logo
\newcommand
{
\HsHlogoPath
}{
HSH-Logo.pdf
}
\newcommand
{
\HsHlogoPage
}{
1
}
\newcommand
{
\includeHsHlogohere
}
[1][5cm]
{
\includegraphics
[width=#1,page=\HsHlogoPage]
{
\HsHlogoPath
}}
\newif\if
@german
%
%% document options -------------------------------------------------------------------------------
\DeclareOption
{
german
}{
%
\PassOptionsToPackage
{
ngerman
}{
babel
}
\@
germantrue
}
\DeclareOption
{
ngerman
}{
%
\PassOptionsToPackage
{
\CurrentOption
}{
babel
}
\@
germantrue
}
\DeclareOption
{
english
}{
%
\PassOptionsToPackage
{
\CurrentOption
}{
babel
}
\@
germanfalse
}
\DeclareOption
{
f1
}{
% use logo of fakulty 1
...
...
@@ -42,53 +63,43 @@
\renewcommand
{
\familydefault
}{
\rmdefault
}
}
\DeclareOption*
{
\PassOptionsToClass
{
\CurrentOption
}{
scrartcl
}}
\ExecuteOptions
{
fontsize=11pt,a4paper,sans
}
% standart options
\ExecuteOptions
{
fontsize=11pt,a4paper,ngerman,sans
}
% standart options
\ProcessOptions\relax
% Load KOMA class
%
% Load KOMA class
\LoadClass
{
scrartcl
}
\KOMAoption
{
toc
}{
bibliography,listof
}
%
standart options for packages
%
%
package loading and config ---------------------------------------------------------------------
\PassOptionsToPackage
{
utf8
}{
inputenc
}
\RequirePackage
{
inputenc
}
\PassOptionsToPackage
{
T1
}{
fontenc
}
\RequirePackage
{
fontenc
}
\RequirePackage
{
lmodern
}
% font
\RequirePackage
{
graphicx
}
\RequirePackage
{
amsmath
}
\if
@german
\RequirePackage
{
ziffer
}
\fi
\PassOptionsToPackage
{
left=3cm,right=2.5cm,top=3cm,bottom=3cm
}{
geometry
}
\PassOptionsToPackage
{
hidelinks
}{
hyperref
}
\RequirePackage
{
geometry
}
\if
@german
\PassOptionsToPackage
{
ngerman
}{
babel
}
\else\PassOptionsToPackage
{
english
}{
babel
}
\fi
\RequirePackage
{
babel
}
\PassOptionsToPackage
{
headsepline
}{
scrlayer-scrpage
}
\RequirePackage
{
scrlayer-scrpage
}
\RequirePackage
{
scrhack
}
\PassOptionsToPackage
{
hidelinks
}{
hyperref
}
\RequirePackage
{
hyperref
}
\RequirePackage
{
bookmark
}
\PassOptionsToPackage
{
babel
}{
csquotes
}
\if
@german
\PassOptionsToPackage
{
german=quotes
}{
csquotes
}
\fi
\RequirePackage
{
csquotes
}
\MakeOuterQuote
{
"
}
\RequirePackage
{
pgffor
}
%% options for not loaded packages ----------------------------------------------------------------
\PassOptionsToPackage
{
backend=biber,style=alphabetic,sorting=nyt
}{
biblatex
}
\PassOptionsToPackage
{
free-standing-units,abbreviations
}{
siunitx
}
\PassOptionsToPackage
{
european,EFvoltages,straightvoltages,betterproportions
}{
circuitikz
}
% used packages:
\RequirePackage
{
inputenc
}
% inputencoding, utf8 recomendet
\RequirePackage
{
fontenc
}
% outputencoding, T1 recomendet
\RequirePackage
{
lmodern
}
% font
\RequirePackage
{
babel
}
% required for german names
\RequirePackage
{
geometry
}
% required for changing layout
\RequirePackage
{
scrlayer-scrpage
}
% required for header and footer
\RequirePackage
{
scrhack
}
% compatability with listings
\RequirePackage
{
pgffor
}
% foreach loops
\RequirePackage
{
graphicx
}
% required for importing images
\RequirePackage
{
hyperref
}
% references and lists are clikable
\RequirePackage
{
bookmark
}
% generat bookmarkes
\RequirePackage
{
amsmath
}
% a lot of nice Math
\RequirePackage
{
csquotes
}
% quotations
\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
}
\addtokomafont
{
publishers
}{
\normalsize
}
% config for title, header and footer
%% title matters ----------------------------------------------------------------------------------
\newcommand*
{
\@
matrikelnr
}{}
%
\newcommand
{
\matrikelnr
}
[1]
{
\gdef\@
matrikelnr
{
#1
}}
%
\newcommand*
{
\@
professor
}{}
%
...
...
@@ -100,8 +111,18 @@
\InputIfFileExists
{
personal.tex
}{
\ClassInfo
{
\myClassName
}{
personal.tex was found. Using it...
}
}{
\ClassInfo
{
\myClassName
}{
no personal.tex! Configre the titlepage yourself
e
}
\ClassInfo
{
\myClassName
}{
no personal.tex! Configre the titlepage yourself
}
}
%% typesetting indexes upright or standart
\def\subinrm
#1
{
\sb
{
\mathrm
{
#1
}}}
{
\catcode
`
\_
=13
\global\let
_
=
\subinrm
}
\mathcode
`
_
="8000
\newcommand\upsubscripts
{
\catcode
`
\_
=12
}
\newcommand\normalsubscripts
{
\catcode
`
\_
=8
}
\upsubscripts
%% header and footer
\pagestyle
{
scrheadings
}
\clearpairofpagestyles
\automark
{
section
}
...
...
@@ -109,66 +130,69 @@
\ihead
{
\@
title
}
\ofoot*
{
\pagemark
}
% typesetting indexes upright or standart
\def\subinrm
#1
{
\sb
{
\mathrm
{
#1
}}}
{
\catcode
`
\_
=13
\global\let
_
=
\subinrm
}
\mathcode
`
_
="8000
\newcommand\upsubscripts
{
\catcode
`
\_
=12
}
% the toggle for upright subscripts
\newcommand\normalsubscripts
{
\catcode
`
\_
=8
}
% the toggle for italic subscripts
\upsubscripts
% setting upright as default
%% floats
\renewcommand
{
\fps
@figure
}{
h!t
}
\renewcommand
{
\fps
@table
}{
h!t
}
\ifx\KOMAScriptVersion\undefined\else
\g
@addto@macro
\@
floatboxreset
\centering
\setcapwidth
[c]
{
0.8
\textwidth
}
\fi
\if
@german
\renewcaptionname
{
ngerman
}{
\figurename
}{
Abb.
}
\renewcaptionname
{
ngerman
}{
\tablename
}{
Tab.
}
\renewcaptionname
{
ngerman
}{
\abstractname
}{
Abstract
}
\else
\renewcaptionname
{
english
}{
\figurename
}{
Fig.
}
\renewcaptionname
{
english
}{
\tablename
}{
Tab.
}
\fi
% styling for itemize
%
% styling for itemize
\renewcommand
{
\labelitemi
}{$
\bullet
$}
\renewcommand
{
\labelitemii
}{$
\circ
$}
\renewcommand
{
\labelitemiii
}{$
-
$}
\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
\raggedbottom
\renewcommand
{
\fps
@figure
}{
h!t
}
% positioning of figures
\renewcommand
{
\fps
@table
}{
h!t
}
% Positonierung of tables
\renewcommand
{
\layercontentsmeasure
}{
\empty
}
% rulers when using draft disabled
\MakeOuterQuote
{
"
}
% easy quotationmarks
% load config at beginning of document
%% custom commands
\newcommand
{
\uproman
}
[1]
{
\uppercase\expandafter
{
\romannumeral
#1
}}
\newcommand
{
\lowroman
}
[1]
{
\romannumeral
#1
\relax
}
%% 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
}{}
%
\renewcommand*
{
\mkbibacro
}
[1]
{
\MakeUppercase
{
#1
}}
}{}
\@
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
%
% provide some usefull commands:
\providecommand
{
\abs
}
[1]
{
\ensuremath
{
\left\vert
#1
\right\vert
}}
\makeatother
}
% nicer abstract:
%% nicer abstract ---------------------------------------------------------------------------------
\renewenvironment
{
abstract
}{
%
\chapter
*
{
\centering\abstractname
}
\section
*
{
\centering\abstractname
}
\addcontentsline
{
toc
}{
chapter
}{
\abstractname
}
\small
\quotation
}{
%
\ifx\@
keywords
\@
empty
\else
\vspace
{
1cm
}
\paragraph
{
\if
@german Schlüsselwörter:
\else
Keywords:
\fi
}
\@
keywords
\fi
\endquotation
}
% decloration of Authorship
%% decloration of Authorship ----------------------------------------------------------------------
\newif\if
@oneAuthor
\@
oneAuthortrue
\if
@german
\setlocalecaption
{
ngerman
}{
dATitle
}{
Selbstständigkeitserklärung
}
...
...
@@ -197,7 +221,6 @@
\newcommand\declarationAuthorship
{
\renewcommand
{
\thanks
}{
\sbox
0
}
\foreach
\x
[count=
\i
] in
\@
author
{
\ifnum\i
>1
\global\@
oneAuthorfalse
\fi
}
%
\thispagestyle
{
plain
}
\vspace*
{
\fill
}
{
\rule
{
\textwidth
}{
0.1pt
}}
...
...
@@ -215,16 +238,20 @@
}
\par
}
}
% reconfig Titlepage
\renewcommand\maketitle
[1][c]
{
%
%% reconfig Titlepage -----------------------------------------------------------------------------
\newtoks\@
tabtoks
\newcommand\addtabtoks
[1]
{
\global\@
tabtoks
\expandafter
{
\the\@
tabtoks#1
}}
\newcommand\eaddtabtoks
[1]
{
\edef\mytmp
{
#1
}
\expandafter\addtabtoks\expandafter
{
\mytmp
}}
\newcommand*\printtabtoks
{
\the\@
tabtoks
}
\addtokomafont
{
publishers
}{
\normalsize
}
\renewcommand\maketitle
[1][c]
{
\expandafter\ifnum
\csname
scr@v@3.12
\endcsname
>
\scr
@compatibility
\relax
\else
\def\and
{
%
\end{tabular}
%
\hskip
1em
\@
plus.17fil
%
\end{tabular}
\hskip
1em
\@
plus.17fil
\begin{tabular}
[t]
{
c
}
%
}
%
}
\fi
\par
\ifx\@
uppertitleback
\@
empty
\else
...
...
@@ -232,18 +259,19 @@
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\@
param#1
\ifx\@
param
\@
empty
\ClassError
{
\myClassName
}{
\maketitle\space
with empty option
}{
\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
...
...
@@ -281,16 +309,17 @@
\end{minipage}
\raisebox
{
10pt
}{
\rule
{
\textwidth
}{
0.5pt
}}
\null
\vskip
2em
%
\if\@
param c
\begin{center}
\fi
\if\@
param r
\begin{flushright}
\fi
\vskip
2em
\begingroup
\if\@
param c
\centering\fi
\if\@
param r
\raggedleft\fi
\ifx\@
subject
\@
empty
\else
{
\usekomafont
{
subject
}{
\@
subject
\par
}}
%
{
\usekomafont
{
subject
}{
\@
subject
\par
}}
\vskip
1.5em
\fi
{
\usekomafont
{
title
}{
\huge
\@
title
\par
}}
%
{
\usekomafont
{
title
}{
\huge\@
title
\par
}}
\vskip
.5em
{
\ifx\@
subtitle
\@
empty
\else\usekomafont
{
subtitle
}
\@
subtitle
\par\fi
}
%
{
\ifx\@
subtitle
\@
empty
\else\usekomafont
{
subtitle
}
\@
subtitle
\par\fi
}
\vskip
4em
{
\ifx\@
matrikelnr
\@
empty
\if\@
author
\@
empty
\else\usekomafont
{
author
}{
...
...
@@ -302,7 +331,7 @@
}
\fi
\else
\if\@
author
\@
empty
\else
% sneeky comma needed after \@matrikelnr to deal with single item list
% sneeky comma needed after \@matrikelnr to deal with single item list
s
\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
...
...
@@ -310,23 +339,22 @@
\if\@
param r
\begin{tabular}
{
r r
}
\printtabtoks
\end{tabular}
\hspace
{
-6pt
}
\fi
}
\fi
\fi
}
%
\fi
}
\vskip
1em
{
\usekomafont
{
date
}{
\@
date
\par
}}
\vskip
1em
{
\if\@
professor
\@
empty
\else\usekomafont
{
publishers
}{
Professor
\if
@german(in)/Lehrbeauftragte(r)
\fi
:
\@
professor
}
\fi
}
\ifx\@
dedication
\@
empty
\else
\vskip
2em
{
\usekomafont
{
dedication
}{
\@
dedication
\par
}}
{
\usekomafont
{
dedication
}{
\@
dedication
\par
}}
%
\fi
\if\@
param c
\end{center}
\fi
\if\@
param r
\end{flushright}
\fi
\par
\endgroup
\vskip
2em
\ifx\titlepagestyle\@
empty
\else\thispagestyle
{
\titlepagestyle
}
\fi
\@
thanks
\global\let\@
thanks
\@
empty
\endgroup
\setcounter
{
footnote
}{
0
}
%
\setcounter
{
footnote
}{
0
}
\expandafter\ifnum
\csname
scr@v@3.12
\endcsname
>
\scr
@compatibility
\relax
\let\thanks\relax
\let\maketitle\relax
...
...
@@ -360,4 +388,7 @@
\global\let\professor\relax
\fi
\global\let\and\relax
}
%
}
\endinput
%%
%% End of file `HsH-article.cls'.
This diff is collapsed.
Click to expand it.
src/HsH-report.cls
+
368
−
342
View file @
f72f5a76
%%
%% This is file `HsH-report.cls',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% HsH-classes.dtx (with options: `report')
%%
%% This is a generated file.
%%
%% Copyright (C) 2021 by Jan Wille <mail@janwille.de>
%%
%% This file may be distributed and/or modified under the conditions of
%% the LaTeX Project Public License, either version 1.3 of this license
%% or (at your option) any later version. The latest version of this
%% license is in:
%%
%% http://www.latex-project.org/lppl.txt
%%
%% and version 1.3 or later is part of all distributions of LaTeX version
%% 2021/01/01 or later.
%%
\typeout
{
Adapted from KOMA script for use in Hochschule Hannover <2021-03-18> Jan Wille
}
\NeedsTeXFormat
{
LaTeX2e
}
\newcommand
{
\myClassName
}{
HsH-report
}
\ProvidesClass
{
\myClassName
}
[2021/03/18
HsH-Report
based on KOMA]
\ProvidesClass
{
\myClassName
}
[2021/03/18
v1.0 HsH-Class
based on KOMA]
%% commands for HsH-logo
\newcommand
{
\HsHlogoPath
}{
HSH-Logo.pdf
}
\newcommand
{
\HsHlogoPage
}{
1
}
\newcommand
{
\includeHsHlogohere
}
[1][5cm]
{
\includegraphics
[width=#1,page=\HsHlogoPage]
{
\HsHlogoPath
}}
\newif\if
@german
%
%% document options -------------------------------------------------------------------------------
\DeclareOption
{
german
}{
%
\PassOptionsToPackage
{
ngerman
}{
babel
}
\@
germantrue
}
\DeclareOption
{
ngerman
}{
%
\PassOptionsToPackage
{
\CurrentOption
}{
babel
}
\@
germantrue
}
\DeclareOption
{
english
}{
%
\PassOptionsToPackage
{
\CurrentOption
}{
babel
}
\@
germanfalse
}
\DeclareOption
{
f1
}{
% use logo of fakulty 1
...
...
@@ -42,52 +63,43 @@
\renewcommand
{
\familydefault
}{
\rmdefault
}
}
\DeclareOption*
{
\PassOptionsToClass
{
\CurrentOption
}{
scrreprt
}}
\ExecuteOptions
{
fontsize=11pt,a4paper,sans
}
% standart options
\ExecuteOptions
{
fontsize=11pt,a4paper,ngerman,sans
}
% standart options
\ProcessOptions\relax
% Load KOMA class
%
% Load KOMA class
\LoadClass
{
scrreprt
}
\KOMAoption
{
toc
}{
bibliography,listof
}
%
standart options for packages
%
%
package loading and config ---------------------------------------------------------------------
\PassOptionsToPackage
{
utf8
}{
inputenc
}
\RequirePackage
{
inputenc
}
\PassOptionsToPackage
{
T1
}{
fontenc
}
\RequirePackage
{
fontenc
}
\RequirePackage
{
lmodern
}
% font
\RequirePackage
{
graphicx
}
\RequirePackage
{
amsmath
}
\if
@german
\RequirePackage
{
ziffer
}
\fi
\PassOptionsToPackage
{
left=3cm,right=2.5cm,top=3cm,bottom=3cm
}{
geometry
}
\PassOptionsToPackage
{
hidelinks
}{
hyperref
}
\RequirePackage
{
geometry
}
\if
@german
\PassOptionsToPackage
{
ngerman
}{
babel
}
\else\PassOptionsToPackage
{
english
}{
babel
}
\fi
\RequirePackage
{
babel
}
\PassOptionsToPackage
{
headsepline
}{
scrlayer-scrpage
}
\RequirePackage
{
scrlayer-scrpage
}
\RequirePackage
{
scrhack
}
\PassOptionsToPackage
{
hidelinks
}{
hyperref
}
\RequirePackage
{
hyperref
}
\RequirePackage
{
bookmark
}
\PassOptionsToPackage
{
babel
}{
csquotes
}
\if
@german
\PassOptionsToPackage
{
german=quotes
}{
csquotes
}
\fi
\RequirePackage
{
csquotes
}
\MakeOuterQuote
{
"
}
\RequirePackage
{
pgffor
}
%% options for not loaded packages ----------------------------------------------------------------
\PassOptionsToPackage
{
backend=biber,style=alphabetic,sorting=nyt
}{
biblatex
}
\PassOptionsToPackage
{
free-standing-units,abbreviations
}{
siunitx
}
\PassOptionsToPackage
{
european,EFvoltages,straightvoltages,betterproportions
}{
circuitikz
}
% used packages:
\RequirePackage
{
inputenc
}
% inputencoding, utf8 recomendet
\RequirePackage
{
fontenc
}
% outputencoding, T1 recomendet
\RequirePackage
{
lmodern
}
% font
\RequirePackage
{
babel
}
% required for german names
\RequirePackage
{
geometry
}
% required for changing layout
\RequirePackage
{
scrlayer-scrpage
}
% required for header and footer
\RequirePackage
{
scrhack
}
% compatability with listings
\RequirePackage
{
pgffor
}
% foreach loops
\RequirePackage
{
graphicx
}
% required for importing images
\RequirePackage
{
hyperref
}
% references and lists are clikable
\RequirePackage
{
bookmark
}
% generat bookmarkes
\RequirePackage
{
amsmath
}
% a lot of nice Math
\RequirePackage
{
csquotes
}
% quotations
\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
%% title matters ----------------------------------------------------------------------------------
\newcommand*
{
\@
matrikelnr
}{}
%
\newcommand
{
\matrikelnr
}
[1]
{
\gdef\@
matrikelnr
{
#1
}}
%
\newcommand*
{
\@
professor
}{}
%
...
...
@@ -99,67 +111,75 @@
\InputIfFileExists
{
personal.tex
}{
\ClassInfo
{
\myClassName
}{
personal.tex was found. Using it...
}
}{
\ClassInfo
{
\myClassName
}{
no personal.tex! Configre the titlepage yourself
e
}
\ClassInfo
{
\myClassName
}{
no personal.tex! Configre the titlepage yourself
}
}
%% typesetting indexes upright or standart
\def\subinrm
#1
{
\sb
{
\mathrm
{
#1
}}}
{
\catcode
`
\_
=13
\global\let
_
=
\subinrm
}
\mathcode
`
_
="8000
\newcommand\upsubscripts
{
\catcode
`
\_
=12
}
\newcommand\normalsubscripts
{
\catcode
`
\_
=8
}
\upsubscripts
%% header and footer
\pagestyle
{
scrheadings
}
\clearpairofpagestyles
\renewcommand*
{
\chapterpagestyle
}{
scrheadings
}
% Chaptertitles get same header/footer as everything
\renewcommand*
{
\chapterpagestyle
}{
scrheadings
}
\automark
{
chapter
}
\ohead
{
\headmark
}
\ihead
{
\@
title
}
\ofoot*
{
\pagemark
}
% typesetting indexes upright or standart
\def\subinrm
#1
{
\sb
{
\mathrm
{
#1
}}}
{
\catcode
`
\_
=13
\global\let
_
=
\subinrm
}
\mathcode
`
_
="8000
\newcommand\upsubscripts
{
\catcode
`
\_
=12
}
% the toggle for upright subscripts
\newcommand\normalsubscripts
{
\catcode
`
\_
=8
}
% the toggle for italic subscripts
\upsubscripts
% setting upright as default
%% floats
\renewcommand
{
\fps
@figure
}{
h!t
}
\renewcommand
{
\fps
@table
}{
h!t
}
\ifx\KOMAScriptVersion\undefined\else
\g
@addto@macro
\@
floatboxreset
\centering
\setcapwidth
[c]
{
0.8
\textwidth
}
\fi
\if
@german
\renewcaptionname
{
ngerman
}{
\figurename
}{
Abb.
}
\renewcaptionname
{
ngerman
}{
\tablename
}{
Tab.
}
\renewcaptionname
{
ngerman
}{
\abstractname
}{
Abstract
}
\else
\renewcaptionname
{
english
}{
\figurename
}{
Fig.
}
\renewcaptionname
{
english
}{
\tablename
}{
Tab.
}
\fi
% styling for itemize
%
% styling for itemize
\renewcommand
{
\labelitemi
}{$
\bullet
$}
\renewcommand
{
\labelitemii
}{$
\circ
$}
\renewcommand
{
\labelitemiii
}{$
-
$}
\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
\raggedbottom
\renewcommand
{
\fps
@figure
}{
h!t
}
% positioning of figures
\renewcommand
{
\fps
@table
}{
h!t
}
% Positonierung of tables
\renewcommand
{
\layercontentsmeasure
}{
\empty
}
% rulers when using draft disabled
\MakeOuterQuote
{
"
}
% easy quotationmarks
\addtokomafont
{
publishers
}{
\normalsize
}
% load config at beginning of document
%% custom commands
\newcommand
{
\uproman
}
[1]
{
\uppercase\expandafter
{
\romannumeral
#1
}}
\newcommand
{
\lowroman
}
[1]
{
\romannumeral
#1
\relax
}
%% 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
}{}
%
\renewcommand*
{
\mkbibacro
}
[1]
{
\MakeUppercase
{
#1
}}
}{}
\@
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
%
% provide some usefull commands:
\providecommand
{
\abs
}
[1]
{
\ensuremath
{
\left\vert
#1
\right\vert
}}
\makeatother
}
% nicer abstract:
%% nicer abstract ---------------------------------------------------------------------------------
\renewenvironment
{
abstract
}{
%
\chapter*
{
\centering\abstractname
}
\addcontentsline
{
toc
}{
chapter
}{
\abstractname
}
...
...
@@ -173,8 +193,7 @@
\fi
\endquotation
}
% decloration of Authorship
%% decloration of Authorship ----------------------------------------------------------------------
\newif\if
@oneAuthor
\@
oneAuthortrue
\if
@german
\setlocalecaption
{
ngerman
}{
dATitle
}{
Selbstständigkeitserklärung
}
...
...
@@ -203,7 +222,6 @@
\newcommand\declarationAuthorship
{
\renewcommand
{
\thanks
}{
\sbox
0
}
\foreach
\x
[count=
\i
] in
\@
author
{
\ifnum\i
>1
\global\@
oneAuthorfalse
\fi
}
%
\thispagestyle
{
plain
}
\vspace*
{
\fill
}
{
\rule
{
\textwidth
}{
0.1pt
}}
...
...
@@ -221,32 +239,37 @@
}
\par
}
}
% reconfig Titlepage
\renewcommand\maketitle
[1][l]
{
%
%% reconfig Titlepage -----------------------------------------------------------------------------
\newtoks\@
tabtoks
\newcommand\addtabtoks
[1]
{
\global\@
tabtoks
\expandafter
{
\the\@
tabtoks#1
}}
\newcommand\eaddtabtoks
[1]
{
\edef\mytmp
{
#1
}
\expandafter\addtabtoks\expandafter
{
\mytmp
}}
\newcommand*\printtabtoks
{
\the\@
tabtoks
}
\addtokomafont
{
publishers
}{
\normalsize
}
\renewcommand\maketitle
[1][l]
{
\expandafter\ifnum
\csname
scr@v@3.12
\endcsname
>
\scr
@compatibility
\relax
\else
\def\and
{
%
\end{tabular}
%
\hskip
1em
\@
plus.17fil
%
\end{tabular}
\hskip
1em
\@
plus.17fil
\begin{tabular}
[t]
{
c
}
%
}
%
}
\fi
\begin{titlepage}
\let\@
param#1
\ifx\@
param
\@
empty
\ClassError
{
\myClassName
}{
\maketitle\space
with empty option
}{
\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
{
%
\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
}
%
}
\begingroup
\topmargin
=
\dimexpr
\coverpagetopmargin
-1in
\relax
\oddsidemargin
=
\dimexpr
\coverpageleftmargin
-1in
\relax
...
...
@@ -274,8 +297,7 @@
\let\@
oldmakefnmark
\@
makefnmark
\renewcommand*
{
\@
makefnmark
}{
\rlap\@
oldmakefnmark
}
%
\ifx\@
extratitle
\@
empty
\ifx\@
frontispiece
\@
empty
\else
\ifx\@
frontispiece
\@
empty
\else
\if
@twoside
\mbox
{}
\next
@tpage
\fi
\noindent\@
frontispiece
\next
@tdpage
\fi
...
...
@@ -300,19 +322,21 @@
\usekomafont
{
titlehead
}{
\@
titlehead
}
%
\fi
\hfill
\raisebox
{
0pt
}
[
\ht\strutbox
][
\dp\strutbox
]
{
\includeHsHlogohere
}
% image referrencepoint in lower left corner
\raisebox
{
0pt
}
[
\ht\strutbox
][
\dp\strutbox
]
{
\includeHsHlogohere
}
\end{minipage}
\raisebox
{
10pt
}{
\rule
{
\textwidth
}{
0.5pt
}}
\null\vfill
\if\@
param c
\begin{center}
\fi
\if\@
param r
\begin{flushright}
\fi
\null
\vfill
\begingroup
\if\@
param c
\centering\fi
\if\@
param r
\raggedleft\fi
\ifx\@
subject
\@
empty
\else
{
\usekomafont
{
subject
}{
\@
subject
\par
}}
%
{
\usekomafont
{
subject
}{
\@
subject
\par
}}
\vskip
3em
\fi
{
\usekomafont
{
title
}{
\huge\@
title
\par
}}
%
{
\usekomafont
{
title
}{
\huge\@
title
\par
}}
\vskip
1em
{
\ifx\@
subtitle
\@
empty
\else\usekomafont
{
subtitle
}
{
\@
subtitle
\par
}
\fi
}
%
{
\ifx\@
subtitle
\@
empty
\else\usekomafont
{
subtitle
}
\@
subtitle
\par\fi
}
\vskip
4em
{
\ifx\@
matrikelnr
\@
empty
\if\@
author
\@
empty
\else\usekomafont
{
author
}{
...
...
@@ -324,7 +348,7 @@
}
\fi
\else
\if\@
author
\@
empty
\else
% sneeky comma needed after \@matrikelnr to deal with single item list
% sneeky comma needed after \@matrikelnr to deal with single item list
s
\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
...
...
@@ -332,15 +356,14 @@
\if\@
param r
\begin{tabular}
{
r r
}
\printtabtoks
\end{tabular}
\hspace
{
-6pt
}
\fi
}
\fi
\fi
}
%
\fi
}
\vskip
1.5em
{
\usekomafont
{
date
}{
\@
date
\par
}}
\vskip
\z
@
\@
plus3fill
{
\if\@
professor
\@
empty
\else\usekomafont
{
publishers
}{
Professor
\if
@german(in)/Lehrbeauftragte(r)
\fi
:
\@
professor
}
\fi
}
\vskip
3em
\if\@
param c
\end{center}
\fi
\if\@
param r
\end{flushright}
\fi
\par
\endgroup
\vskip
3em
\@
thanks
\global\let\@
thanks
\@
empty
\vfill\null
\if
@twoside
...
...
@@ -368,14 +391,14 @@
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
\fi
\ifx\@
dedication
\@
empty
...
...
@@ -388,7 +411,7 @@
\fi
\ifx\titlepage
@restore
\relax\else\clearpage\titlepage
@restore
\fi
\end{titlepage}
\setcounter
{
footnote
}{
0
}
%
\setcounter
{
footnote
}{
0
}
\expandafter\ifnum
\csname
scr@v@3.12
\endcsname
>
\scr
@compatibility
\relax
\let\thanks\relax
\let\maketitle\relax
...
...
@@ -407,7 +430,7 @@
\global\let\@
lowertitleback
\@
empty
\global\let\@
dedication
\@
empty
\global\let\@
matrikelnr
\@
empty
\global\let\@
prof
essor
\@
empty
\global\let\@
prof
\@
empty
\global\let\author\relax
\global\let\title\relax
\global\let\extratitle\relax
...
...
@@ -422,4 +445,7 @@
\global\let\professor\relax
\fi
\global\let\and\relax
}
%
}
\endinput
%%
%% End of file `HsH-report.cls'.
This diff is collapsed.
Click to expand it.
src/HsH-standalone.cls
+
78
−
57
View file @
f72f5a76
%%
%% This is file `HsH-standalone.cls',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% HsH-classes.dtx (with options: `standalone')
%%
%% This is a generated file.
%%
%% Copyright (C) 2021 by Jan Wille <mail@janwille.de>
%%
%% This file may be distributed and/or modified under the conditions of
%% the LaTeX Project Public License, either version 1.3 of this license
%% or (at your option) any later version. The latest version of this
%% license is in:
%%
%% http://www.latex-project.org/lppl.txt
%%
%% and version 1.3 or later is part of all distributions of LaTeX version
%% 2021/01/01 or later.
%%
\typeout
{
Adapted from KOMA script for use in Hochschule Hannover <2021-03-18> Jan Wille
}
\NeedsTeXFormat
{
LaTeX2e
}
\newcommand
{
\myClassName
}{
HsH-standalone
}
\ProvidesClass
{
\myClassName
}
[2021/03/18
HsH Report
based on KOMA]
\ProvidesClass
{
\myClassName
}
[2021/03/18
v1.0 HsH-Class
based on KOMA]
%% commands for HsH-logo
\newcommand
{
\HsHlogoPath
}{
HSH-Logo.pdf
}
\newcommand
{
\HsHlogoPage
}{
1
}
\newcommand
{
\includeHsHlogohere
}{
\includegraphics
[width=5cm,page=\HsHlogoPage]
{
\HsHlogoPath
}}
\newcommand
{
\includeHsHlogohere
}
[1][5cm]
{
\includegraphics
[width=#1,page=\HsHlogoPage]
{
\HsHlogoPath
}}
\newif\if
@german
%
%% document options -------------------------------------------------------------------------------
\DeclareOption
{
german
}{
%
\PassOptionsToPackage
{
ngerman
}{
babel
}
\@
germantrue
}
\DeclareOption
{
ngerman
}{
%
\PassOptionsToPackage
{
\CurrentOption
}{
babel
}
\@
germantrue
}
\DeclareOption
{
english
}{
%
\PassOptionsToPackage
{
\CurrentOption
}{
babel
}
\@
germanfalse
}
\DeclareOption
{
f1
}{
% use logo of fakulty 1
...
...
@@ -44,13 +63,26 @@
\renewcommand
{
\familydefault
}{
\rmdefault
}
}
\DeclareOption*
{
\PassOptionsToClass
{
\CurrentOption
}{
standalone
}}
\ExecuteOptions
{
margin=0.25cm,fontsize=11pt,a4paper,ngerman,sans
}
% standart options
\ProcessOptions\relax
%% Load KOMA class
\LoadClass
[multi=tikzpicture,multi=circuitikz]
{
standalone
}
%% package loading and config ---------------------------------------------------------------------
\PassOptionsToPackage
{
utf8
}{
inputenc
}
\RequirePackage
{
inputenc
}
\PassOptionsToPackage
{
T1
}{
fontenc
}
\RequirePackage
{
fontenc
}
\RequirePackage
{
lmodern
}
% font
\RequirePackage
{
graphicx
}
\RequirePackage
{
amsmath
}
\if
@german
\RequirePackage
{
ziffer
}
\fi
%% options for not loaded packages ----------------------------------------------------------------
\PassOptionsToPackage
{
free-standing-units,abbreviations
}{
siunitx
}
\PassOptionsToPackage
{
european,EFvoltages,straightvoltages,betterproportions
}{
circuitikz
}
%% title matters ----------------------------------------------------------------------------------
\newcommand*
{
\@
titlehead
}{}
%
\newcommand
{
\titlehead
}
[1]
{
\gdef\@
titlehead
{
#1
}}
%
\newcommand*
{
\@
subject
}{}
%
...
...
@@ -63,51 +95,40 @@
\newcommand
{
\professor
}
[1]
{
\gdef\@
professor
{
#1
}}
%
\newcommand*
{
\@
keywords
}{}
%
\newcommand
{
\keywords
}
[1]
{
\gdef\@
keywords
{
#1
}}
%
\let\@
author
\@
empty
\let\@
keywords
\@
empty
\InputIfFileExists
{
personal.tex
}{
\ClassInfo
{
\myClassName
}{
personal.tex was found. Using it...
}
}{
\ClassInfo
{
\myClassName
}{
no personal.tex! Configre the titlepage yourself
}
}
% enforced options for packages
\PassOptionsToPackage
{
utf8
}{
inputenc
}
\PassOptionsToPackage
{
T1
}{
fontenc
}
\PassOptionsToPackage
{
babel, german=quotes
}{
csquotes
}
\PassOptionsToPackage
{
free-standing-units
}{
siunitx
}
\PassOptionsToPackage
{
european,EFvoltages,straightvoltages,betterproportions
}{
circuitikz
}
% used packages:
\RequirePackage
{
inputenc
}
% inputencoding, utf8 recomendet
\RequirePackage
{
fontenc
}
% outputencoding, T1 recomendet
\RequirePackage
{
lmodern
}
% font
\RequirePackage
{
graphicx
}
% required for importing images
\RequirePackage
{
babel
}
% required for german names
\RequirePackage
{
amsmath
}
% a lot of nice Math
\if
@german
\RequirePackage
{
ziffer
}
\fi
% german dezimal numbers
% typesetting indexes upright or standart
%% typesetting indexes upright or standart
\def\subinrm
#1
{
\sb
{
\mathrm
{
#1
}}}
{
\catcode
`
\_
=13
\global\let
_
=
\subinrm
}
\mathcode
`
_
="8000
\newcommand\upsubscripts
{
\catcode
`
\_
=12
}
% the toggle for upright subscripts
\newcommand\normalsubscripts
{
\catcode
`
\_
=8
}
% the toggle for italic subscripts
\upsubscripts
% setting upright as default
\newcommand\upsubscripts
{
\catcode
`
\_
=12
}
\newcommand\normalsubscripts
{
\catcode
`
\_
=8
}
\upsubscripts
% keep compatible
\providecommand
{
\renewcaptionname
}
[3]
{}
% load config at beginning of document
%% load config at beginning of document
\AtBeginDocument
{
\makeatletter
\@
ifpackageloaded
{
biblatex
}{
\renewcommand*
{
\mkbibacro
}
[1]
{
\MakeUppercase
{
#1
}}
}{}
\@
ifpackageloaded
{
subfigure
}{
\newcommand
{
\subfigureautorefname
}{
\figureautorefname
}
}
}{
}
\InputIfFileExists
{
config.tex
}{
\ClassInfo
{
\myClassName
}{
config.tex was found. Using it...
}
}{
\ClassInfo
{
\myClassName
}{
no config.tex!! I hope you config
u
red it yourself.
}
\ClassInfo
{
\myClassName
}{
no config.tex!! I hope you config
e
red it yourself.
}
}
% provide some usefull commands:
\providecommand
{
\abs
}
[1]
{
\ensuremath
{
\left\vert
#1
\right\vert
}}
% Makro for vertical lines around absolute values
%
% provide some usefull commands:
\providecommand
{
\abs
}
[1]
{
\ensuremath
{
\left\vert
#1
\right\vert
}}
\makeatother
}
\endinput
%%
%% End of file `HsH-standalone.cls'.
This diff is collapsed.
Click to expand it.
src/config.tex
+
79
−
97
View file @
f72f5a76
% abbreviations for names:
\if
@german
\renewcommand
{
\abstractname
}{
Abstract
}
% Abstract
\renewcaptionname
{
ngerman
}{
\figurename
}{
Abb.
}
%Figure
\renewcaptionname
{
ngerman
}{
\tablename
}{
Tab.
}
%Table
\else
\renewcaptionname
{
english
}{
\figurename
}{
Fig.
}
%Figure
\renewcaptionname
{
english
}{
\tablename
}{
Tab.
}
%Table
\fi
% center all floats:
\ifx\KOMAScriptVersion\undefined\else
% check if KOMA is used
\g
@addto@macro
\@
floatboxreset
\centering
% center all floats
\setcapwidth
[c]
{
0.8
\textwidth
}
% center all captions
%\setcapwidth[l]{0.8\textwidth} % leftalign all captions
\fi
% Meta Data for the PDF file using values from personal.tex:
%% Meta Data for the PDF file
\@
ifpackageloaded
{
hyperref
}{
\hypersetup
{
pdfinfo=
{
...
...
@@ -25,17 +8,17 @@
Keywords=
{
\@
keywords
}
}
}
}
{}
%
% configs for optional packages:
}
%
% configs for optional packages:
\@
ifpackageloaded
{
biblatex
}{
\ExecuteBibliographyOptions
{
bibwarn=true,
url=true,
isbn=false,
}
}{}
%
}{}
\@
ifpackageloaded
{
siunitx
}{
\if
@german
% if german
\if
@german
\sisetup
{
output-decimal-marker=
{
,
}}
% use comma as dezimal
\fi
\sisetup
{
...
...
@@ -46,7 +29,7 @@
round-mode = places,
% round numbers
round-precision = 3,
% to 3 places
}
}{}
%
}{}
\@
ifpackageloaded
{
listings
}{
\lstset
{
commentstyle=
\color
{
gray
}
,
...
...
@@ -58,21 +41,20 @@
literate=
{
Ö
}{{
\"
O
}}
1
{
Ä
}{{
\"
A
}}
1
{
Ü
}{{
\"
U
}}
1
{
ß
}{{
\ss
}}
1
{
ü
}{{
\"
u
}}
1
{
ä
}{{
\"
a
}}
1
{
ö
}{{
\"
o
}}
1,
escapeinside=
{
(*@
}{
@*)
}
,
}
}{}
%
}{}
\@
ifpackageloaded
{
enumitem
}{
\usepackage
{
amssymb
}
\newlist
{
checklist
}{
itemize
}{
2
}
\setlist
[checklist]
{
label=
$
\square
$}
}{}
%
}{}
\@
ifpackageloaded
{
csvsimple
}{
\csvstyle
{
every csv
}{
separator=semicolon
}
}{}
%
\csvstyle
{
every csv
}{
separator=semicolon
}
% global seperator for csv files
}{}
\@
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
...
...
@@ -84,11 +66,11 @@
/pgf/number format/read comma as period,
every tick label/.append style=
{
font=
\tiny
}
,
every axis legend/.append style=
{
font=
\footnotesize
}
,
MyPlots/.style =
{
% Style f
ü
r all
e P
lots
MyPlots/.style =
{
% Style f
o
r all
p
lots
width=.6
\textwidth
,
grid=major,
% Gitter für haupt Ticks
grid style=
{
dashed,gray!50
}
,
% Hintergrund Gitter
legend pos=outer north east,
% Position der Legende
grid=major,
grid style=
{
dashed,gray!50
}
,
legend pos=outer north east,
FM1/.style =
{
blue, thick, mark=x, mark size=1.5,samples=100
}
,
% Format 1
FM2/.style =
{
orange, thick, mark=*, mark size=1,samples=100
}
,
% Format 2
FM3/.style =
{
green, thick, mark=square*, mark size=1,samples=100
}
,
% Format 3
...
...
@@ -98,9 +80,9 @@
error mark options=
{
mark size=1pt,rotate=90
}}
,
}
}
}{}
%
}{}
\@
ifpackageloaded
{
pgfplotstable
}{
\pgfplotstableset
{
col sep=semicolon,
% global seperator for csv files
}
}{}
%
}{}
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