Latex-Dateien der Masterarbeit
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

abschlussarbeit.tex 21KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675
  1. %Dokumentklasse
  2. \documentclass[a4paper,12pt, listof = totoc]{scrreprt}
  3. \usepackage[left = 3cm ,right = 2cm, top = 2 cm, bottom = 3cm]{geometry}
  4. \usepackage[onehalfspacing]{setspace}
  5. %\usepackage{setspace}
  6. %\setstretch{1,2381}
  7. % ============= Packages =============
  8. % Dokumentinformationen
  9. \usepackage[
  10. pdftitle={Titel der Abschlussarbeit},
  11. pdfsubject={},
  12. pdfauthor={Euer Name},
  13. pdfkeywords={},
  14. %Links nicht einrahmen
  15. hidelinks
  16. ]{hyperref}
  17. % Standard Packages
  18. \usepackage[utf8]{inputenc}
  19. \usepackage[ngerman]{babel}
  20. \usepackage[T1]{fontenc}
  21. \usepackage{graphicx, subfig}
  22. \usepackage{pdfpages}
  23. \graphicspath{{img/}}
  24. \usepackage[headsepline,footsepline]{scrlayer-scrpage}
  25. \usepackage{lmodern,relsize,textcomp,csquotes}
  26. \usepackage{color}
  27. \usepackage{xcolor}
  28. \usepackage{csquotes}
  29. \usepackage{tabularx}
  30. %Algorithmen
  31. %\usepackage{algorithm}
  32. \usepackage{algorithmic}
  33. %\usepackage{algpseudocode}
  34. \usepackage[ngerman]{algorithm2e}
  35. %Konfusionmatrix
  36. \usepackage{array}
  37. \usepackage{multirow}
  38. \newcommand\MyBox[2]{
  39. \fbox{\lower0.75cm
  40. \vbox to 1.7cm{\vfil
  41. \hbox to 1.7cm{\hfil\parbox{1.4cm}{#1\\#2}\hfil}
  42. \vfil}%
  43. }%
  44. }
  45. %References with url
  46. \usepackage{xurl}
  47. %Verhindern, dass Figures, Tables in neachste Section rutschen
  48. \usepackage[section]{placeins}
  49. %Leerzeilen / vSpace
  50. %\usepackage{parskip}
  51. %Tikz fuer Zeichnen
  52. \usepackage{tikz}
  53. \usepackage{pgfplots}
  54. \pgfplotsset{compat=1.18}
  55. \usetikzlibrary{automata,matrix,chains,positioning,backgrounds,decorations.pathreplacing,arrows,arrows.meta,fit}
  56. % zusätzliche Schriftzeichen der American Mathematical Society
  57. \usepackage{amsfonts}
  58. \usepackage{amsmath}
  59. \usepackage{amssymb}
  60. \usepackage{mathtools}
  61. \usepackage{siunitx}
  62. \usepackage[acronym,toc,nonumberlist]{glossaries}
  63. %Subfig
  64. \usepackage{subfig}
  65. % use glossaries-package
  66. \usepackage{chngcntr}
  67. \counterwithout{equation}{chapter}
  68. \setcounter{tocdepth}{2}
  69. \setcounter{secnumdepth}{5}
  70. \setlength{\glsdescwidth}{15cm}
  71. \newglossary[slg]{symbolslist}{syi}{syg}{Symbolverzeichnis} % create add.symbolslist
  72. \glsaddkey{unit}{\glsentrytext{\glslabel}}{\glsentryunit}{\GLsentryunit}{\glsunit}{\Glsunit}{\GLSunit}
  73. \makeglossaries % activate glossaries-package
  74. % ==== EXEMPLARY ENTRY FOR SYMBOLS LIST =========================================
  75. \newglossaryentry{Biassymbol}{name=\ensuremath{b},
  76. description={Bias / Verzerrung},
  77. unit={},
  78. sort=b,
  79. type=symbolslist}
  80. \newglossaryentry{BiasV}{name=\ensuremath{\boldsymbol{b}},
  81. description={Biasvektor},
  82. unit={},
  83. sort=bv,
  84. type=symbolslist}
  85. \newglossaryentry{symb:Lambda}{name=\ensuremath{\lambda},
  86. description={Regularisierungsparamter},
  87. unit={},
  88. sort=Lambda,
  89. type=symbolslist}
  90. \newglossaryentry{Gewichtsvektor}{name=\ensuremath{\boldsymbol{w}},
  91. description={Gewichtsvektor},
  92. unit={},
  93. sort=w,
  94. type=symbolslist}
  95. \newglossaryentry{GewichtsvektorTransponiert}{name=\ensuremath{\boldsymbol{w}^\top},
  96. description={Gewichtsvektor transponiert},
  97. unit={},
  98. sort=wT,
  99. type=symbolslist}
  100. \newglossaryentry{Gewichtsmatrix}{name=\ensuremath{\boldsymbol{W}},
  101. description={Gewichtsmatrix für ein Machine-Learning-Modell},
  102. unit={},
  103. sort=W,
  104. type=symbolslist}
  105. \newglossaryentry{Kostenfunktion}{name=\ensuremath{J(\boldsymbol{w})},
  106. description={Kostenfunktion / Straffunktion / Verlustfunktion in Abhägigkeit der Gewichte des Machine-Learning-Modells},
  107. unit={},
  108. sort=Jw,
  109. type=symbolslist}
  110. \newglossaryentry{KostenfunktionTheta}{name=\ensuremath{J(\boldsymbol{\theta})},
  111. description={Kostenfunktion / Straffunktion / Verlustfunktion in Abhägigkeit der Parameter des Machine-Learning-Modells},
  112. unit={},
  113. sort=Jt,
  114. type=symbolslist}
  115. \newglossaryentry{TensorA}{name=\ensuremath{\mathbf{A}},
  116. description={Tensor A},
  117. unit={},
  118. sort= ATensor,
  119. type=symbolslist}
  120. \newglossaryentry{ParametrisierteGewichte}{name=\ensuremath{\boldsymbol{\theta}},
  121. description={Parameter des Machine-Learning-Modells},
  122. unit={},
  123. sort=theta,
  124. type=symbolslist}
  125. \newglossaryentry{Wahrscheinlichkeit}{name=\ensuremath{p},
  126. description={Wahrscheinlichkeit einer stetigen Variable},
  127. unit={},
  128. sort=p,
  129. type=symbolslist}
  130. \newglossaryentry{Wahrscheinlichkeitsmaß}{name=\ensuremath{P},
  131. description={Wahrscheinlichkeit einer diskreten Variable},
  132. unit={},
  133. sort=P,
  134. type=symbolslist}
  135. \newglossaryentry{Eingabevektor}{name=\ensuremath{\boldsymbol{x}},
  136. description={Eingabevektor für ein Machine-Learning-Modell},
  137. unit={},
  138. sort=x,
  139. type=symbolslist}
  140. \newglossaryentry{iteBeispielX}{name=\ensuremath{\boldsymbol{x}^{(i)}},
  141. description={Das \textit{i}-te Beispiel (Eingabe) eines Datensatzes},
  142. unit={},
  143. sort=xite,
  144. type=symbolslist}
  145. \newglossaryentry{Ausgabevektor}{name=\ensuremath{\boldsymbol{y}},
  146. description={Ausgabevektor für ein Machine-Learning-Modell},
  147. unit={},
  148. sort=y,
  149. type=symbolslist}
  150. \newglossaryentry{iteBeispielY}{name=\ensuremath{\boldsymbol{y}^{(i)}},
  151. description={Der \textit{i}-te Zielwert eines Datensatzes},
  152. unit={},
  153. sort=yite,
  154. type=symbolslist}
  155. \newglossaryentry{Eingabematrix}{name=\ensuremath{\boldsymbol{X}},
  156. description={Eingabematrix für ein Machine-Learning-Modell},
  157. unit={},
  158. sort=X,
  159. type=symbolslist}
  160. \newglossaryentry{Ausgabematrix}{name=\ensuremath{\boldsymbol{Y}},
  161. description={Ausgabematrix eines Machine-Learning-Modell},
  162. unit={},
  163. sort=Y,
  164. type=symbolslist}
  165. \newglossaryentry{SammlungMitTrainingsbeispielen}{name=\ensuremath{\mathbb{X}},
  166. description={Sammlung mit Trainingsbeispielen},
  167. unit={},
  168. sort=Xset,
  169. type=symbolslist}
  170. \newglossaryentry{GradientNachParameter}{name=\ensuremath{\nabla_{\boldsymbol{\theta}}},
  171. description={Gradient bezüglich der Parameter des Machine-Learning-Modells},
  172. unit={},
  173. sort=G,
  174. type=symbolslist}
  175. \newglossaryentry{Trainingsbeispiele}{name=\ensuremath{m},
  176. description={Größe anhand der gesamten Trainingsbeispiele},
  177. unit={},
  178. sort=m,
  179. type=symbolslist}
  180. \newglossaryentry{Minibatch}{name=\ensuremath{m'},
  181. description={Mini-Batch-Größe / Teilmenge der Trainingsbeispiele},
  182. unit={},
  183. sort=mstrich,
  184. type=symbolslist}
  185. \newglossaryentry{Lernrate}{name=\ensuremath{\varepsilon},
  186. description={Lernrate},
  187. unit={},
  188. sort=epsilon,
  189. type=symbolslist}
  190. \newglossaryentry{Aktivierungsfunktion}{name=\ensuremath{g},
  191. description={Aktivierungsfunktion},
  192. unit={},
  193. sort=g,
  194. type=symbolslist}
  195. \newglossaryentry{GeschaetzterGradient}{name=\ensuremath{\boldsymbol{g}},
  196. description={Geschätzter Gradient anhand des Mini-Batch},
  197. unit={},
  198. sort=gs,
  199. type=symbolslist}
  200. \newglossaryentry{GesamtLayer}{name=\ensuremath{l},
  201. description={Anzahl der gesamten Schichten eines \gls{MLP}},
  202. unit={},
  203. sort=l,
  204. type=symbolslist}
  205. \newglossaryentry{Aktivierungsvektor}{name=\ensuremath{\boldsymbol{a}^{(l-i)}},
  206. description={Vektor der Aktivierungen einer Schicht},
  207. unit={},
  208. sort=av,
  209. type=symbolslist}
  210. \newglossaryentry{Biasvektor}{name=\ensuremath{\boldsymbol{b}^{(l-i)}},
  211. description={Biasvektor einer Schicht},
  212. unit={},
  213. sort=bvi,
  214. type=symbolslist}
  215. \newglossaryentry{ParameterNormStrafterm}{name=\ensuremath{\Omega},
  216. description={Parameter-Norm-Strafterm},
  217. unit={},
  218. sort=Omega,
  219. type=symbolslist}
  220. \newglossaryentry{Dropoutwahrscheinlichkeit}{name=\ensuremath{p_{drop}},
  221. description={Dropout-Wahrscheinlichkeit},
  222. unit={},
  223. sort=pd,
  224. type=symbolslist}
  225. \newglossaryentry{MomentumParameter}{name=\ensuremath{\alpha},
  226. description={Momentum-Parameter},
  227. unit={},
  228. sort=pd,
  229. type=symbolslist}
  230. \newglossaryentry{Ausgangsgeschwindigkeit}{name=\ensuremath{\boldsymbol{v}},
  231. description={Ausgangsgeschwindigkeit des Momentum-Algorithmus},
  232. unit={},
  233. sort=pd,
  234. type=symbolslist}
  235. \newglossaryentry{KleinsterWertX}{name=\ensuremath{x_{min}},
  236. description={Kleinster Wert des Eingabevektor},
  237. unit={},
  238. sort=xmin,
  239. type=symbolslist}
  240. \newglossaryentry{GrößterWertX}{name=\ensuremath{x_{max}},
  241. description={Größter Wert des Eingabevektor},
  242. unit={},
  243. sort=xmax,
  244. type=symbolslist}
  245. \newglossaryentry{MittelwertX}{name=\ensuremath{\mu_{x}},
  246. description={Mittelwert des Eingangsvektor},
  247. unit={},
  248. sort=mux,
  249. type=symbolslist}
  250. \newglossaryentry{StandardabweichungX}{name=\ensuremath{\sigma_{x}},
  251. description={Standardabweichung des Eingangsvektor},
  252. unit={},
  253. sort=sigmax,
  254. type=symbolslist}
  255. \newglossaryentry{Mittelwert}{name=\ensuremath{\mu},
  256. description={Mittelwert},
  257. unit={},
  258. sort=mu,
  259. type=symbolslist}
  260. \newglossaryentry{Standardabweichung}{name=\ensuremath{\sigma},
  261. description={Standardabweichung},
  262. unit={},
  263. sort=sigma,
  264. type=symbolslist}
  265. \newglossaryentry{Kernel}{name=\ensuremath{\boldsymbol{K}},
  266. description={Kernelmatrix},
  267. unit={},
  268. sort=K,
  269. type=symbolslist}
  270. \newglossaryentry{Bildeingabe}{name=\ensuremath{\boldsymbol{I}},
  271. description={Bildeingabematrix},
  272. unit={},
  273. sort=I,
  274. type=symbolslist}
  275. \newglossaryentry{FeatureMap}{name=\ensuremath{\boldsymbol{F}},
  276. description={Feature Map},
  277. unit={},
  278. sort=F,
  279. type=symbolslist}
  280. \newglossaryentry{NewFeatureMap}{name=\ensuremath{\boldsymbol{G}},
  281. description={erzeugte Feature Map aus vorheriger Feature Map / Bildeingabe},
  282. unit={},
  283. sort=G,
  284. type=symbolslist}
  285. \newglossaryentry{Matrixdimension}{name=\ensuremath{m \times n},
  286. description={Größe einer Matrix mit \ensuremath{m}-Zeilen und \ensuremath{n}-Spalten},
  287. unit={},
  288. sort=mmatrix,
  289. type=symbolslist}
  290. \newglossaryentry{FeatureMapDimension}{name=\ensuremath{D_F},
  291. description={Dimension der quadratischen Feature Map Matrix},
  292. unit={},
  293. sort=DF,
  294. type=symbolslist}
  295. \newglossaryentry{KernelDimension}{name=\ensuremath{D_K},
  296. description={Dimension der quadratischen Kernel Matrix},
  297. unit={},
  298. sort=DK,
  299. type=symbolslist}
  300. \newglossaryentry{AnzahlChannels}{name=\ensuremath{M},
  301. description={Anzahl der Kanäle (Channels) einer Feature Map},
  302. unit={},
  303. sort=M,
  304. type=symbolslist}
  305. \newglossaryentry{AnzahlFilter}{name=\ensuremath{N},
  306. description={Anzahl der Filter (Kernels) einer Convolution / Anzahl der Kanäle (Channels) der neuen Feature Map nach Faltung},
  307. unit={},
  308. sort=N,
  309. type=symbolslist}
  310. \newglossaryentry{Expansionfaktor}{name=\ensuremath{t},
  311. description={Expansionsfaktor zur Erhöhung der Kanäle während einer Pointwise Convolution},
  312. unit={},
  313. sort=t,
  314. type=symbolslist}
  315. \newglossaryentry{Width}{name=\ensuremath{w},
  316. description={Breite (Width) einer Feature Map},
  317. unit={},
  318. sort=w,
  319. type=symbolslist}
  320. \newglossaryentry{Height}{name=\ensuremath{h},
  321. description={Höhe (Height) einer Feature Map},
  322. unit={},
  323. sort=h,
  324. type=symbolslist}
  325. \newglossaryentry{AnzahlKanaele}{name=\ensuremath{d},
  326. description={Anzahl der Kanäle},
  327. unit={},
  328. sort=d,
  329. type=symbolslist}
  330. \newglossaryentry{Stride}{name=\ensuremath{s},
  331. description={Schrittweite der Convolution / Faltung},
  332. unit={},
  333. sort=s,
  334. type=symbolslist}
  335. \newglossaryentry{Floatzahl}{name=\ensuremath{r},
  336. description={Gleitkommazahl als float32-Datentyp},
  337. unit={},
  338. sort=r,
  339. type=symbolslist}
  340. \newglossaryentry{Ganzzahl}{name=\ensuremath{q},
  341. description={Ganzzahl als int8-Datentyp},
  342. unit={},
  343. sort=q,
  344. type=symbolslist}
  345. \newglossaryentry{Scale}{name=\ensuremath{S},
  346. description={Scale-Faktor für die Schrittweite der Quantisierung},
  347. unit={},
  348. sort=S,
  349. type=symbolslist}
  350. \newglossaryentry{Nullpunkt}{name=\ensuremath{Z},
  351. description={Nullpunkt für die Quantisierung},
  352. unit={},
  353. sort=Z,
  354. type=symbolslist}
  355. % ==== EXEMPLARY ENTRY FOR ACRONYMS LIST ========================================
  356. \newacronym{CNN}{CNN}{Convolutional Neural Network}
  357. \newacronym{ConvNet}{ConvNet}{Convolutional Neural Network}
  358. \newacronym{RNN}{RNN}{Recurrent Neural Network}
  359. \newacronym{MLP}{MLP}{Multilayer Perceptron}
  360. \newacronym{KI}{KI}{Künstliche Intelligenz}
  361. \newacronym{MQF}{MQF}{Mittlere Quadratische Fehler}
  362. \newacronym{ML}{ML}{Machine Learning}
  363. \newacronym{SGD}{SGD}{Stochastic Gradient Descent}
  364. \newacronym{ReLU}{ReLU}{Rectified Linear Unit}
  365. \newacronym{RGB}{RGB}{Red Green Blue}
  366. \newacronym{SSD}{SSD}{Single Shot MultiBox Detector}
  367. \newacronym{IoU}{IoU}{Intersection over Union}
  368. \newacronym{NMS}{NMS}{Non-Maximum-Suppression}
  369. \newacronym{FPN}{FPN}{Feature Pyramid Network}
  370. \newacronym{TP}{TP}{True positive}
  371. \newacronym{FP}{FP}{False positive}
  372. \newacronym{FN}{FN}{False negative}
  373. \newacronym{TN}{TN}{True negative}
  374. \newacronym{SfM}{SfM}{Structure-from-motion}
  375. \newacronym{IoT}{IoT}{Internet of Things}
  376. \newacronym{mAP}{mAP}{Mean Average Precision}
  377. \newacronym{AP}{AP}{Average Precision}
  378. \newacronym{AR}{AR}{Average Recall}
  379. \newacronym{Exif}{Exif}{Exchangeable Image File Format}
  380. \newacronym{GPU}{GPU}{Graphical Processing Unit}
  381. \newacronym{CPU}{CPU}{Central Processing Unit}
  382. % ==== EXEMPLARY ENTRY FOR MAIN GLOSSARY ========================================
  383. \newglossaryentry{Biofouling}{name=Biofouling, description={Some description}}
  384. %
  385. \newglossarystyle{symbunitlong}{%
  386. \setglossarystyle{long3col}% base this style on the list style
  387. \renewenvironment{theglossary}{% Change the table type --> 3 columns
  388. \begin{longtable}{lp{0.6\glsdescwidth}>{\centering\arraybackslash}p{2cm}}}%
  389. {\end{longtable}}%
  390. %
  391. \renewcommand*{\glossaryheader}{% Change the table header
  392. \bfseries Symbol & \bfseries Beschreibung \\
  393. \hline
  394. \endhead}
  395. \renewcommand*{\glossentry}[2]{% Change the displayed items
  396. \glstarget{##1}{\glossentryname{##1}} %
  397. & \glossentrydesc{##1}% Description
  398. & \glsunit{##1} \tabularnewline
  399. }
  400. }
  401. %BibLatex
  402. \usepackage[backend = biber, citestyle=numeric, bibstyle=numeric]{biblatex}
  403. \addbibresource{Masterarbeit_Navigation_Mobiler_Roboter_CV_File_BibLatex.bib}
  404. %nicht einrücken nach Absatz
  405. \setlength{\parindent}{0pt}
  406. % ============= Kopf- und Fußzeile =============
  407. \pagestyle{scrheadings}
  408. \clearpairofpagestyles
  409. % ============= Package Einstellungen & Sonstiges =============
  410. %Besondere Trennungen
  411. \hyphenation{De-zi-mal-tren-nung}
  412. %=========================Darstellung der Convolution=================
  413. \newcommand\numRowsK{3}
  414. \newcommand\numColsK{3}
  415. \newcommand{\K}[2]{% #1: row, #2: col
  416. \edef\Kcol##1##2##3{###2}%
  417. \edef\Krow##1##2##3{\noexpand\Kcol###1}%
  418. \Krow
  419. {1 0 1}
  420. {0 1 0}
  421. {1 0 1}%
  422. }
  423. \newcommand{\convoutionpicture}[2]{% #1: row to be highlighted, #2: colum to be highlighted
  424. \begin{tikzpicture}
  425. % ------- style -------
  426. \tikzset{%
  427. parenthesized/.style={%
  428. left delimiter = (,
  429. right delimiter = ),
  430. },
  431. node distance = 10mu,
  432. }
  433. % ------- equation -------
  434. \matrix[matrix of math nodes, parenthesized, ampersand replacement=\&] (I) {
  435. 0 \& 1 \& 1 \& 1 \& 0 \& 0 \& 0 \\
  436. 0 \& 0 \& 1 \& 1 \& 1 \& 0 \& 0 \\
  437. 0 \& 0 \& 0 \& 1 \& 1 \& 1 \& 0 \\
  438. 0 \& 0 \& 0 \& 1 \& 1 \& 0 \& 0 \\
  439. 0 \& 0 \& 1 \& 1 \& 0 \& 0 \& 0 \\
  440. 0 \& 1 \& 1 \& 0 \& 0 \& 0 \& 0 \\
  441. 1 \& 1 \& 0 \& 0 \& 0 \& 0 \& 0 \\
  442. };
  443. \node (*) [right = of I] {${}*{}$};
  444. \def\Kmatrix{}
  445. \foreach \row in {1, ..., 3} {
  446. \gdef \sep {}
  447. \foreach \col in {1, ..., 3} {%
  448. \xdef \Kmatrix {\unexpanded\expandafter{\Kmatrix}\unexpanded\expandafter{\sep}\noexpand \K{\row}{\col}}
  449. \gdef \sep { \& }
  450. }
  451. \xdef \Kmatrix {\unexpanded\expandafter{\Kmatrix}\noexpand\\}
  452. }
  453. \matrix[matrix of math nodes, parenthesized, ampersand replacement=\&] (K) [right = of *] {
  454. \Kmatrix
  455. };
  456. \node (=) [right = of K] {${}={}$};
  457. \matrix[matrix of math nodes, parenthesized, ampersand replacement=\&] (I*K) [right = of {=}] {
  458. 1 \& 4 \& 3 \& 4 \& 1 \\
  459. 1 \& 2 \& 4 \& 3 \& 3 \\
  460. 1 \& 2 \& 3 \& 4 \& 1 \\
  461. 1 \& 3 \& 3 \& 1 \& 1 \\
  462. 3 \& 3 \& 1 \& 1 \& 0 \\
  463. };
  464. % ------- highlighting -------
  465. \def\rowResult{#1}
  466. \def\colResult{#2}
  467. \begin{scope}[on background layer]
  468. \newcommand{\padding}{2pt}
  469. \coordinate (Is-nw) at ([xshift=-\padding, yshift=+\padding] I-\rowResult-\colResult.north west);
  470. \coordinate (Is-se) at ([xshift=+\padding, yshift=-\padding] I-\the\numexpr\rowResult+\numRowsK-1\relax-\the\numexpr\colResult+\numColsK-1\relax.south east);
  471. \coordinate (Is-sw) at (Is-nw |- Is-se);
  472. \coordinate (Is-ne) at (Is-se |- Is-nw);
  473. \filldraw[red, fill opacity=.1] (Is-nw) rectangle (Is-se);
  474. \filldraw[green, fill opacity=.1] (I*K-\rowResult-\colResult.north west) rectangle (I*K-\rowResult-\colResult.south east);
  475. \draw[blue, dotted]
  476. (Is-nw) -- (K.north west)
  477. (Is-se) -- (K.south east)
  478. (Is-sw) -- (K.south west)
  479. (Is-ne) -- (K.north east)
  480. ;
  481. \draw[green, dotted]
  482. (I*K-\rowResult-\colResult.north west) -- (K.north west)
  483. (I*K-\rowResult-\colResult.south east) -- (K.south east)
  484. (I*K-\rowResult-\colResult.south west) -- (K.south west)
  485. (I*K-\rowResult-\colResult.north east) -- (K.north east)
  486. ;
  487. \draw[blue, fill=blue!10!white] (K.north west) rectangle (K.south east);
  488. \foreach \row [evaluate=\row as \rowI using int(\row+\rowResult-1)] in {1, ..., \numRowsK} {%
  489. \foreach \col [evaluate=\col as \colI using int(\col+\colResult-1)] in {1, ..., \numColsK} {%
  490. \node[text=blue] at (I-\rowI-\colI.south east) [xshift=-.3em] {\tiny$\times \K{\row}{\col}$};
  491. }
  492. }
  493. \end{scope}
  494. % ------- labels -------
  495. \tikzset{node distance=0em}
  496. \node[below=of I] (I-label) {$I$};
  497. \node at (K |- I-label) {$K$};
  498. \node at (I*K |- I-label) {$I*K$};
  499. \end{tikzpicture}%
  500. }
  501. % ============= Dokumentbeginn =============
  502. \begin{document}
  503. %Seiten ohne Kopf- und Fußzeile sowie Seitenzahl
  504. %\pagestyle{empty}
  505. \pagestyle{scrheadings}
  506. \pagenumbering{Roman}
  507. \include{titel}
  508. \includepdf[pages=-]{SB_0050_FO_Pruefungsrechtliche_Erklaerung_und_Erklaerung_zur_Veroeffentlichung_der_Abschlussarbeit_public}
  509. \include{zusammenfassung}
  510. % Beendet eine Seite und erzwingt auf den nachfolgenden Seiten die Ausgabe aller Gleitobjekte (z.B. Abbildungen), die bislang definiert, aber noch nicht ausgegeben wurden. Dieser Befehl fügt, falls nötig, eine leere Seite ein, sodaß die nächste Seite nach den Gleitobjekten eine ungerade Seitennummer hat.
  511. \cleardoubleoddpage
  512. % pagestyle für gesamtes Dokument aktivieren
  513. \pagestyle{scrheadings}
  514. %Inhaltsverzeichnis
  515. \tableofcontents
  516. \glsaddall
  517. \printglossary[type=\acronymtype, title=Abkürzungsverzeichnis] % list of acronyms
  518. \newpage{}
  519. \printglossary[type=symbolslist,style=symbunitlong] % list of symbols
  520. %\printglossary[type=main] % main glossary
  521. \newpage{}
  522. \ohead{\headmark}
  523. \automark{section}
  524. \ofoot{\pagemark}
  525. \pagenumbering{arabic}
  526. \include{einleitung}
  527. \include{grundlagen}
  528. \include{methoden}
  529. \include{ergebnisse.tex}
  530. \include{diskussion}
  531. \include{fazit}
  532. %Literaturverzeichnis
  533. %BibLatex
  534. \printbibliography[heading=bibintoc]
  535. %Verzeichnis aller Bilder
  536. \listoffigures
  537. %Verzeichnis aller Tabellen
  538. \listoftables
  539. \end{document}