From 46bd94e05d52ef80572a5a35ea398b404072f04a Mon Sep 17 00:00:00 2001 From: Jan Grewe Date: Sun, 20 Dec 2020 14:11:11 +0100 Subject: [PATCH] more ignores, real fix of pagelisting --- .gitignore | 2 +- programming/lecture/programming.tex | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 2c353b4..94ae568 100644 --- a/.gitignore +++ b/.gitignore @@ -26,4 +26,4 @@ *.vrb __* pointprocesses/lecture/pointprocessscetch*.tex - +*.DS_Store diff --git a/programming/lecture/programming.tex b/programming/lecture/programming.tex index 0c63aba..b75cc0d 100644 --- a/programming/lecture/programming.tex +++ b/programming/lecture/programming.tex @@ -1797,7 +1797,7 @@ Again, we need to specify what needs to be done: The implementation is shown in listing~\ref{sinesskriptlisting}. -\begin{lstlisting}[caption={Control script for the plotting of sine waves. Note the use of \varcode{sprintf} in the function call in line 11. This function creates a so called formatted string based on the passed string which contains placeholders for variables. For some more details see~\ref{box:sprintf}.},label=sinesskriptlisting] +\begin{pagelisting}[caption={Control script for the plotting of sine waves. Note the use of \varcode{sprintf} in the function call in line 11. This function creates a so called formatted string based on the passed string which contains placeholders for variables. For some more details see~\ref{box:sprintf}.},label=sinesskriptlisting] amplitudes = 0.25:0.25:1.25; frequency = 2.0; duration = 10.0; % seconds @@ -1813,7 +1813,7 @@ for i = 1:length(amplitudes) end hold off legend('show') -\end{lstlisting} +\end{pagelisting} \pagebreak[4] \begin{exercise}{plotMultipleSinewaves.m}{} @@ -1861,4 +1861,4 @@ legend('show') %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% \printsolutions +\printsolutions