Fixed pathes and added \mcode and \pcode macros

This commit is contained in:
2015-12-01 11:44:35 +01:00
parent 2241c81d40
commit 543078659b
4 changed files with 23 additions and 8 deletions

View File

@@ -3,7 +3,7 @@
\input{../../header}
\lstset{inputpath=../code}
\graphicspath{{images/}}
\graphicspath{{../images/}}
\typein[\pagenumber]{Number of first page}
\typein[\chapternumber]{Chapter number}

View File

@@ -1503,7 +1503,7 @@ legend('show')
\pagebreak[4]
\end{exercise}
\subsubsection{Einsatz von Funktionen und Skripten}
\subsection{Einsatz von Funktionen und Skripten}
Funktionen sind kleine Codefragmente, die im Idealfall genau eine
Aufgabe erledigen. Sie besitzen einen eigenen
@@ -1524,7 +1524,7 @@ bilden und den Ablauf zu koordinieren (Abbildung
\ref{programlayoutfig}).
\begin{figure}
\includegraphics[width=0.5\columnwidth]{./images/simple_program.pdf}
\includegraphics[width=0.5\columnwidth]{simple_program.pdf}
\titlecaption{Ein typisches Programmlayout.}{Das Kontrollskript
koordiniert den Aufruf der Funktionen, \"ubergibt Argumente und
nimmt R\"uckgabewerte entgegen.}\label{programlayoutfig}