more ignores, real fix of pagelisting

This commit is contained in:
Jan Grewe 2020-12-20 14:11:11 +01:00
parent ecc37f8f67
commit 46bd94e05d
2 changed files with 4 additions and 4 deletions
.gitignore
programming/lecture

2
.gitignore vendored
View File

@ -26,4 +26,4 @@
*.vrb *.vrb
__* __*
pointprocesses/lecture/pointprocessscetch*.tex pointprocesses/lecture/pointprocessscetch*.tex
*.DS_Store

View File

@ -1797,7 +1797,7 @@ Again, we need to specify what needs to be done:
The implementation is shown in listing~\ref{sinesskriptlisting}. 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; amplitudes = 0.25:0.25:1.25;
frequency = 2.0; frequency = 2.0;
duration = 10.0; % seconds duration = 10.0; % seconds
@ -1813,7 +1813,7 @@ for i = 1:length(amplitudes)
end end
hold off hold off
legend('show') legend('show')
\end{lstlisting} \end{pagelisting}
\pagebreak[4] \pagebreak[4]
\begin{exercise}{plotMultipleSinewaves.m}{} \begin{exercise}{plotMultipleSinewaves.m}{}
@ -1861,4 +1861,4 @@ legend('show')
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \printsolutions \printsolutions