Skip to content
Snippets Groups Projects
Commit a8669933 authored by Jan Wille's avatar Jan Wille
Browse files

Neu von Fiona

parent ca17febc
No related branches found
No related tags found
1 merge request!2make Master runable
File added
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
inkscape:version="1.0 (4035a4fb49, 2020-05-01)"
sodipodi:docname="logo-test.svg"
width="175.89999mm"
height="354mm"
viewBox="0 0 175.89999 354"
version="1.1"
id="svg8">
<sodipodi:namedview
inkscape:current-layer="svg8"
inkscape:window-maximized="1"
inkscape:window-y="-8"
inkscape:window-x="-8"
inkscape:cy="769.10222"
inkscape:cx="573.15333"
inkscape:zoom="0.36850798"
showgrid="false"
id="namedview8"
inkscape:window-height="1017"
inkscape:window-width="1920"
inkscape:pageshadow="2"
inkscape:pageopacity="0"
guidetolerance="10"
gridtolerance="10"
objecttolerance="10"
borderopacity="1"
bordercolor="#666666"
pagecolor="#ffffff" />
<defs
id="defs2" />
<metadata
id="metadata5">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="layer1">
<path
id="path1"
d="m 30,272.3 c 5.5,0 10.2,-4.7 10.2,-10.3 V 150.3 h 95.4 V 262 c 0,5.5 4.7,10.3 10.2,10.3 h 19.8 c 5.5,0 10.2,-4.7 10.2,-10.3 V 10.3 C 175.8,4.8 171.1,0 165.6,0 h -19.8 c -5.5,0 -10.2,4.7 -10.2,10.3 V 112.2 H 40.2 V 10.3 C 40.2,4.7 35.5,0 30,0 H 10.2 C 4.7,0 0,4.7 0,10.3 V 262 c 0,5.5 4.7,10.3 10.2,10.3 z"
style="fill:#00ffff" />
<path
id="path2"
d="m 165.7,354 c 5.5,0 10.2,-4.8 10.2,-10.4 v -20.1 c 0,-5.6 -4.7,-10.4 -10.2,-10.4 H 10.2 C 4.7,313.2 0,318 0,323.5 v 20.1 c 0,5.6 4.7,10.4 10.2,10.4 z"
style="fill:#00ffff" />
</g>
</svg>
\typeout{Adapted from KOMA script for use in Hochschule Hannover <2020-08-21> Jan Wille}
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{HsH-report}[2020/09/21 HsH Report based on KOMA]
\newcommand{\myClassName}{HsH-report}
\ProvidesClass{\myClassName}[2020/09/21 HsH Report based on KOMA]
\LoadClass[bibliography=totoc,listof=totoc]{scrreprt}
\RequirePackage[utf8]{inputenc}
\RequirePackage[T1]{fontenc}
\RequirePackage{lmodern}
\RequirePackage[a4paper,left=3cm,right=2.5cm,top=3cm,bottom=3cm]{geometry}
\RequirePackage{graphicx}
\RequirePackage{babel}
\PassOptionsToPackage{left=3cm,right=2.5cm,top=3cm,bottom=3cm}{geometry}
\DeclareOption{ngerman}{%
\PassOptionsToPackage{\CurrentOption}{babel}
\PassOptionsToPackage{figurename=Abb.,tablename=Tab.}{caption}
}
\DeclareOption{english}{%
\PassOptionsToPackage{\CurrentOption}{babel}
\PassOptionsToPackage{figurename=fig.,tablename=tab.}{caption}
}
\ExecuteOptions{ngerman}
\ProcessOptions
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrreprt}}
\ExecuteOptions{ngerman}
\ProcessOptions\relax
\LoadClass[bibliography=totoc,listof=totoc]{scrreprt}
\RequirePackage{babel}
\RequirePackage{geometry}
\RequirePackage{caption}
\RequirePackage[headsepline]{scrlayer-scrpage} % kopf und Fußzeilen, linie oben (footsepline für unten)
\pagestyle{scrheadings}
\clearpairofpagestyles
\renewcommand{\chapterpagestyle}{scrheadings} % Kapitelanfang standart Kopf/Fußzeile
\automark{chapter}
\ohead{\headmark}
\ihead{\@title}
\ofoot{\pagemark}
% typesetting indexes upright by default
\def\subinrm#1{\sb{\textnormal{#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
\PassOptionsToPackage{free-standing-units}{siunitx}
\setlength\parindent{0pt}
\renewcommand{\fps@figure}{h!t} % positioning of figures
\renewcommand{\fps@table}{h!t} % Positonierung of tables
\renewcommand\maketitle{
......@@ -46,3 +76,34 @@
\end{center}
\clearpage
}
\newcommand\declarationAuthorship{
\pagebreak
\vspace*{\fill}
{\rule{\textwidth}{0.1pt}}
\vspace{0.5cm}
\begin{center}
\huge \textbf{Versicherung}\\
\Large über selbstständiges Erarbeiten dieses Berichtes\\
\end{center}
\vspace{1cm}\normalsize
Hiermit bestätige ich, dass ich die folgenden Arbeit unter Berücksichtigung der zur Verfügung
gestellten Aufgabenstellung sowie dem Arbeitsmaterial unter Angabe aller verwendeten Quel-len
selbstständig erarbeitet habe.\\
\vspace{1cm}
\begin{flushright}
\rule{5cm}{0.4pt} \\
{\footnotesize\makeatletter\@author}
\end{flushright}
\newpage
}
\AtBeginDocument {
\makeatletter
\InputIfFileExists{config.tex}{
\ClassInfo{\myClassName}{config.tex was found. Using it...}
}{
\ClassInfo{\myClassName}{no config.tex!! I hope you configered it yourself.}
}
\makeatother
}
\ No newline at end of file
\@ifpackageloaded{siunitx}{
\sisetup{
free-standing-units,
tight-spacing=true,
per-mode=symbol,
output-decimal-marker={,},
scientific-notation=engineering,
round-mode = places,
round-precision = 3,
}
}{}%
\@ifpackageloaded{listings}{
\lstset{
commentstyle=\color{gray},
keywordstyle=\color{red},
stringstyle=\color{blue},
showstringspaces=false,
basicstyle=\footnotesize,
}
}{}%
No preview for this file type
\documentclass[11pt,ngerman,twoside]{HsH-report}
\documentclass[11pt,a4paper,twoside]{HsH-report}
\title{Test Dokument}
\author{Jan wille}
\author{Jan Wille}
\date{\today}
\usepackage{color}
\usepackage{lipsum}
\usepackage{siunitx}
\usepackage{ziffer}
\begin{document}
\maketitle
\declarationAuthorship
\begin{abstract}
\lipsum[5-8]
\end{abstract}
......@@ -17,11 +21,17 @@
\tableofcontents
\chapter{one}
\label{chap: one}
{\color{red}test} und stuff
\begin{figure}
\centering
\includegraphics[width=.15\textwidth]{logo-test}
\caption{test}
\end{figure}
noch ein test \normalsubscripts$R_t$ \upsubscripts$R_t$
mit einheit: $R=200\,\milli\ohm+ \SI{0.34567453}{\volt\per\metre}$
\listoffigures
\end{document}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment