More pagebreak fixing

This commit is contained in:
2015-11-27 19:29:39 +01:00
parent a125bca9ac
commit 7719cb3385
13 changed files with 81 additions and 86 deletions

View File

@@ -223,7 +223,7 @@ end
end
\end{lstlisting}
\clearpage
\pagebreak[4]
\begin{lstlisting}[label=cleancode, caption={\"Ubersichtliche Implementation des Random-walk.}]
num_runs = 10;
@@ -272,6 +272,7 @@ ein v\"ollig unn\"otiger Kommentar.
\end{itemize}
\end{important}
\pagebreak[4]
\section{Dokumentation von Funktionen}
Bei allen vordefinierten \matlab{} Funktionen findet sich am Anfang
@@ -330,6 +331,7 @@ sogenannte \codeterm[Funktion!lokale]{lokale Funktionen} oder auch
erstellen. Listing \ref{localfunctions} zeigt ein Beispiel f\"ur eine
lokale Funktion.
\pagebreak[3]
\lstinputlisting[label=localfunctions, caption={Beispiel f\"ur den
Einsatz von lokalen Funktionen.}]{calculate_sines.m}