habe ein kleines Problem mit dem Anhang.
Der Anhang hält nicht die angegebenen Grenzen meines Dokumentes ein.
Wenn Text vorhanden ist schreibt er diesen einfach bis zum Rand des Blattes und macht auch keinen Umbruch.
Habe versucht ein MB zu erstellen konnte das Problem aber nicht reproduzieren.
Im Anhang ist das Problem in einer PNG dargestellt.
Hier ist meine Haupt-Tex Datei:
Ich danke euch im Voraus.
\documentclass[a4paper,12pt, headsepline,% Linie unter Kopfzeile listof=totoc,% Verzeichnisse werden ins Inhaltsverzeichnis eingetragen %parskip=full,% Absatzabstand statt Absatzeinzug ]{scrreprt} \usepackage{blindtext}% nur für Fülltext zum Testen \usepackage[left= 2.5cm,right = 2cm, bottom = 4 cm]{geometry} %\usepackage[onehalfspacing]{setspace} \usepackage[utf8]{inputenc} \usepackage[ngerman]{babel} \usepackage[T1]{fontenc} \usepackage{graphicx} %\usepackage{subfig} \usepackage{caption} \usepackage{subcaption} \graphicspath{{img/}} \usepackage{lmodern} \usepackage{color}% oder gleich xcolor? \usepackage{placeins} \usepackage{rotating} %\usepackage{listings} \usepackage[framed]{mcode} \usepackage{amsfonts} \usepackage{amsmath} % ============= Kopf- und Fußzeile ============= \usepackage[ automark, markcase=upper,% falls tatsächlich so gewünscht ]{scrlayer-scrpage} \clearpairofpagestyles \ohead{\headmark} \cfoot*{\pagemark}% oder Seitenzahl immer in der Mitte? \usepackage[ hidelinks, hypertexnames=false ]{hyperref}% in der Regel als letztes Paket laden \hypersetup{ pdftitle={Titel der Abschlussarbeit}, pdfsubject={}, pdfauthor={}, pdfkeywords={}, } %Besondere Trennungen \hyphenation{De-zi-mal-tren-nung} \begin{document} %Seiten ohne Kopf- und Fußzeile sowie Seitenzahl \pagenumbering{gobble} \pagestyle{empty} \begin{titlepage} \include{01_Titel} \end{titlepage} %\addchap{danksagung} \include{02_Danksagungen} %\addchap{zusammenfassung} \setcounter{secnumdepth}{5} \setcounter{tocdepth}{5} \tableofcontents \cleardoubleoddpage \pagenumbering{roman} \listoffigures \listoftables \cleardoubleoddpage \pagenumbering{arabic} \pagestyle{scrheadings} \include{03_Einleitung} \include{04_Grundlagen} \include{05_Thema_1} \appendix \include{10_Anhang} %Literaturverzeichnis \bibliographystyle{unsrtdin} \bibliography{Literatur} \end{document}
\addchap{Anhang A} \stepcounter{chapter} \section{Matlab Code} \subsection{Matlab Dateien} Hier werden alle vorhandenen Matlab Dateien aufgelistet und kurz erläutert.\\ \textbf{M-Files:}\\ \textbf{MainGui.m}: Startet die Auswahl-GUI (BLDC oder BLAC)\\ \textbf{BacEctr.m/BdcEctr.m}: Startet die GUI(BacEctr.fig bzw. BdcEctr.fig)\\ \textbf{BacEctrAct.m/BdcEctrAct.m}: Vollständige Programmierung zur Steuerung der GUI(BacEctr.fig bzw. BdcEctr.fig) sowie Erstellung der Außenkurve der Torque vs. Speed Kurve \\ \textbf{bac\_ectr\_main.m/bdc\_ectr\_main.m}: Definiert das Außen-/Innenprofil der Torque vs. Speed Kurve und speichert am Ende der Berechnung alle vorprogrammierten Grafiken ab\\ \textbf{bac\_epfl.m/bdc\_epfl.m}: Dient zur Übergabe der einzelnen Punkte an den Optimierungsalgorithmus\\ \textbf{bac\_optopnt.m/bdc\_optopnt.m}: Der eigentliche Optimierungsalgorithmus\\ \textbf{PltBacRes.m/PltBdcRes.m}: Startet die GUI (PltBacRes.fig bzw. PltBdcRes.fig)\\ \textbf{PltBdcResAct.m/PltBdcResAct.m}:Vollständige Programmierung zur Steuerung der GUI(PltBacRes.fig bzw. PltBdcRes.fig) und dient zur Bearbeitung der gesamten Berechnungsergebnisse\\\\ \textbf{updatepiXXXX.m}: Dient zur Aktualisierung der SPEED Parameter\\ \textbf{wbdc32params.m}: Enthält alle SPEED Parameter\\ \textbf{MnGRID.m}: Dient zur Erstellung des Inneren Netzes der Torque vs. Speed Kurve\\ \textbf{Figure-Files:}\\ \textbf{MainGui.fig}: GUI zur Auswahl des Motors (BLAC bzw. BLDC)\\ \textbf{BacEctr.fig/BdcEctr.fig}: Eingabemaske für der zu berechnenden Daten\\ \textbf{PltBacRes.fig/PltBdcRes.fig}: GUI zur Darstellung der Berechnungsergebnisse\\ \subsection{Im Code verwendete SPEED Parameter} In der folgenden Auflistung, sind die SPEED Parameter nach der Definition der Parameterliste welche im Programm selber unter \textit{Help} zu finden ist, erläutert.\\ \textbf{Einstellungen:}\\ \textbf{piDRIVE}: Sine/Square wave or AC Volt drive \\ \textbf{piSW\_CTL}: Voltage-PWM or Current-hysteresis control \\ \textbf{piDQ0}: dq0 eqns (Sinewound machines only, with Connex = 2-Phase or Wye)\\ \textbf{piCALCVERSION}: Calculation version \\ \textbf{piCHOPTYPE}: Hard/Soft chopping or rectifying\\ \textbf{piFIXFCHOP}: Method of controlling the switching frequency\\ \textbf{piISPSPEC}: Specification of set-point current\\ \textbf{Physikalische Größen:}\\ \textbf{piRAC}: Additional connector resistance in each line\\ \textbf{piR\_S}: DC link resistance between capacitor and converter terminals \\ \textbf{piPOLES}: Number of Poles\\ \textbf{piVLL1}: RMS fundamental line voltage, at the terminals of the inverter\\ \textbf{piVS}: DC supply voltage to the controller\\ \textbf{piRPM}: Speed [rpm]\\ \textbf{piISP}: Current regulator set-point current, [A pk] (See also HBA)\\ \textbf{piGAMMA}: The phase angle between Iph1 and the q-axis (Eq1) [\begin{math} ^\circ \end{math}]\\ \textbf{piDWELL}: Control angle (chopping angle) of one transistor in any 180-deg period [\begin{math} ^\circ \end{math}m]\\ \textbf{piTH0}: Advance angle for turn-on [\begin{math} ^\circ \end{math}m]\\ \textbf{piILRMS}: RMS line current\\ \textbf{piXSATN}: Multiplier for tooth MMF drop in kSat calculation\\ \textbf{piIDC\_P}: Mean DC supply current (calculated from power balance)\\ \textbf{piILPK}: Peak line current\\ \textbf{piILRMS}: RMS line current\\ \textbf{piILMEAN}: Mean line current\\ \textbf{piIWPK}: Peak phase current\\ \textbf{piIWRMS}: RMS phase current\\ \textbf{piIWMEAN}: Mean phase current\\ \textbf{piPF}: Fundamental power factor (displacement factor) or Cos(phi) at the machine terminals\\ \textbf{piEFF}: Machine efficiency\\ \textbf{piPSHAFT}: Shaft power\\ \textbf{piVD1}: RMS d-axis fundamental component of Vph1\\ \textbf{piVQ1}: RMS q-axis fundamental component of Vph1\\ \textbf{piID1}: RMS d-axis fundamental component of phase current\\ \textbf{piIQ1}: RMS q-axis fundamental component of phase current \\ \textbf{piLD}: d-axis synchronous inductance\\ \textbf{piLQ}: q-axis synchronous inductance\\ \textbf{piXD}: Direct-axis synchronous reactance \\ \textbf{piXQ}: Quadrature-axis synchronous reactance\\ \textbf{piRPH0}: Phase resistance at T\_Wdg (after adjustment by X\_R, but excluding Rext)\\ \textbf{piLPH}: Phase self-inductance\\ \textbf{piMPH}: Mutual inductance between phases\\ \textbf{piTORQSH}: Shaft torque\\ \textbf{piDELTA}: The phase angle between Vph1 and the q-axis (Eq1)\\ \textbf{piV1RMS}: RMS fundamental voltage of phase 1\\ \textbf{piVPH1}: RMS fundamental voltage per phase, at the terminals of the inverter\\ \textbf{piVS120}: Max. VLL1 available with 120\begin{math} ^\circ \end{math} 6-step operation\\ \textbf{piVS1}: Max. VLL1 available with true 6-step operation \\ \textbf{piWTOTAL}: Total losses (machine only)\\ \textbf{piWCU}: stator copper losses\\ \textbf{piWIRON}: Iron losses (core losses)\\ \textbf{piWCAN}: Total can losses including rotor and stator cans\\ \textbf{piWMAGNET}: Magnet losses\\ \textbf{piWSHAFT}: Shaft losses\\ \textbf{piWWF}: Windage+friction losses\\ \textbf{piT\_MAG}: Default Magnet temperature [\begin{math} ^\circ \end{math}C]\\ \textbf{piBTPK}: Peak flux-density in stator tooth on open-circuit\\ \textbf{piBSYPK}: stator yoke flux-density on open-circuit corresponding to Bst\\ \textbf{piBRYPK}: Rotor yoke flux-density on open-circuit corresponding to Bst\\ \textbf{piWCONV}: Total loss in drive (converter), including conduction + switching loss\\ \textbf{piV1RMS}: RMS fundamental voltage of phase 1 \\ \newpage \subsection{BLAC - Code} \FloatBarrier \subsubsection{BacEctrAct.m} \lstinputlisting{MatCode/BacEctrAct.m} \FloatBarrier \subsubsection{bac\_ectr\_main.m} \lstinputlisting{MatCode/bac_ectr_main.m} \subsubsection{bac\_epfl.m} \lstinputlisting{MatCode/bac_epfl.m} \FloatBarrier \subsubsection{bac\_optopnt.m} \lstinputlisting{MatCode/bac_optopnt.m} \FloatBarrier \FloatBarrier \subsection{BLDC - Code} \subsubsection{BdcEctrAct.m} \lstinputlisting{MatCode/BdcEctrAct.m} \FloatBarrier \subsubsection{bdc\_ectr\_main.m} \lstinputlisting{MatCode/bdc_ectr_main.m} \subsubsection{bdc\_epfl.m} \lstinputlisting{MatCode/bdc_epfl.m} \FloatBarrier \subsubsection{bdc\_optopnt.m} \lstinputlisting{MatCode/bdc_optopnt.m} \FloatBarrier \subsection{BLAC/BLDC - Code} \subsubsection{updatepiXXXX.m} \lstinputlisting{MatCode/updatepiXXXX.m} \FloatBarrier \subsubsection{MnGRID.m} \lstinputlisting{MatCode/MnGRID.m} \FloatBarrier